1 | {
|
2 | "name": "aws-amplify-react",
|
3 | "version": "4.2.9",
|
4 | "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.",
|
5 | "main": "./lib/index.js",
|
6 | "module": "./lib-esm/index.js",
|
7 | "typings": "./lib-esm/index.d.ts",
|
8 | "sideEffects": [
|
9 | "./src/Storage/index.ts",
|
10 | "./src/Storage/S3Album.ts",
|
11 | "./src/index.ts",
|
12 | "./lib-esm/Storage/index.js",
|
13 | "./lib-esm/Storage/S3Album.js",
|
14 | "./lib-esm/index.js",
|
15 | "./lib/Storage/index.js",
|
16 | "./lib/Storage/S3Album.js",
|
17 | "./lib/index.js",
|
18 | "./dist/aws-amplify-react.js",
|
19 | "./dist/aws-amplify-react.min.js"
|
20 | ],
|
21 | "scripts": {
|
22 | "test": "tslint 'src/**/*.ts' && jest -w 1 --coverage --updateSnapshot --maxWorkers 2",
|
23 | "build-with-test": "npm test && npm run build",
|
24 | "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js",
|
25 | "build:esm": "node ./build es6",
|
26 | "build:cjs:watch": "node ./build es5 --watch",
|
27 | "build:esm:watch": "node ./build es6 --watch",
|
28 | "build": "npm run clean && npm run build:cjs && npm run build:esm",
|
29 | "clean": "rimraf lib-esm lib dist",
|
30 | "watch": "yarn run clean && babel src --presets babel-preset-react --out-dir dist --copy-files --watch",
|
31 | "cypress": "cypress run",
|
32 | "cypress:open": "cypress open",
|
33 | "format": "echo \"Not implemented\"",
|
34 | "lint": "tslint 'src/**/*.ts'"
|
35 | },
|
36 | "devDependencies": {
|
37 | "@types/enzyme": "^3.1.0",
|
38 | "@types/enzyme-adapter-react-16": "^1.0.3",
|
39 | "@types/react": "^16.0.41",
|
40 | "@types/react-dom": "^16.0.11",
|
41 | "aws-amplify": "^3.3.5",
|
42 | "enzyme": "^3.1.0",
|
43 | "enzyme-adapter-react-16": "^1.0.3",
|
44 | "enzyme-to-json": "^3.2.1",
|
45 | "react": "^16.0.0",
|
46 | "react-dom": "^16.0.0",
|
47 | "react-test-renderer": "^16.0.0"
|
48 | },
|
49 | "repository": {
|
50 | "type": "git",
|
51 | "url": "https://github.com/aws-amplify/amplify-js.git"
|
52 | },
|
53 | "author": "Amazon Web Services",
|
54 | "license": "Apache-2.0",
|
55 | "jest": {
|
56 | "globals": {
|
57 | "ts-jest": {
|
58 | "diagnostics": false,
|
59 | "tsConfig": {
|
60 | "lib": [
|
61 | "es5",
|
62 | "es2015",
|
63 | "dom",
|
64 | "esnext.asynciterable",
|
65 | "es2017.object"
|
66 | ],
|
67 | "allowJs": true,
|
68 | "jsx": "react"
|
69 | }
|
70 | }
|
71 | },
|
72 | "transform": {
|
73 | "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
|
74 | },
|
75 | "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
76 | "moduleFileExtensions": [
|
77 | "ts",
|
78 | "tsx",
|
79 | "js",
|
80 | "jsx",
|
81 | "json",
|
82 | "node"
|
83 | ],
|
84 | "timers": "fake",
|
85 | "setupTestFrameworkScriptFile": "./test_Setup/enzymeSetup.ts",
|
86 | "snapshotSerializers": [
|
87 | "enzyme-to-json/serializer"
|
88 | ],
|
89 | "testEnvironment": "jsdom",
|
90 | "testURL": "http://localhost/",
|
91 | "coverageThreshold": {
|
92 | "global": {
|
93 | "branches": 70,
|
94 | "functions": 75,
|
95 | "lines": 75,
|
96 | "statements": 75
|
97 | }
|
98 | },
|
99 | "coveragePathIgnorePatterns": [
|
100 | "/node_modules/"
|
101 | ],
|
102 | "moduleNameMapper": {
|
103 | "\\.(css|less|scss|sass)$": "<rootDir>/__mocks__/styleMock.ts"
|
104 | }
|
105 | },
|
106 | "dependencies": {
|
107 | "qrcode.react": "^0.8.0",
|
108 | "regenerator-runtime": "^0.11.1"
|
109 | },
|
110 | "peerDependencies": {
|
111 | "@aws-amplify/analytics": "^3.0.0",
|
112 | "@aws-amplify/api": "^3.0.0",
|
113 | "@aws-amplify/auth": "^3.0.0",
|
114 | "@aws-amplify/core": "^3.0.0",
|
115 | "@aws-amplify/interactions": "^3.0.0",
|
116 | "@aws-amplify/storage": "^3.0.0",
|
117 | "@aws-amplify/ui": "^2.0.0",
|
118 | "@aws-amplify/xr": "^2.0.0"
|
119 | },
|
120 | "gitHead": "3d23301745d526e67794f80999afaee6120f64f7"
|
121 | }
|