-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
package.json
134 lines (134 loc) · 3.42 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "amazon-cognito-identity-js",
"description": "Amazon Cognito Identity Provider JavaScript SDK",
"version": "4.5.0",
"author": {
"name": "Amazon Web Services",
"email": "aws@amazon.com",
"url": "http://aws.amazon.com"
},
"homepage": "http://aws.amazon.com/cognito",
"contributors": [
"Simon Buchan with Skilitics",
"Jonathan Goldwasser",
"Matt Durant",
"John Ferlito",
"Michael Hart",
"Tylor Steinberger",
"Paul Watts",
"Gleb Promokhov",
"Min Bi",
"Michael Labieniec",
"Chetan Mehta <chetam@amazon.com>",
"Ionut Trestian <trestian@amazon.com>"
],
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-js.git"
},
"license": "SEE LICENSE IN LICENSE.txt",
"licenses": [
{
"type": "Amazon Software License",
"url": "http://aws.amazon.com/asl"
}
],
"keywords": [
"amazon",
"aws",
"cognito",
"identity",
"react-native",
"reactnative"
],
"scripts": {
"clean": "rimraf lib es",
"build:cjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:cjs:watch": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --watch",
"build:esm": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:esm:watch": "cross-env BABEL_ENV=es babel src --out-dir es --watch",
"build:umd": "webpack",
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:umd",
"doc": "jsdoc src -d docs",
"lint": "eslint src",
"lint2": "eslint enhance-rn.js",
"test": "jest -w 1 --passWithNoTests",
"format": "echo \"Not implemented\""
},
"main": "lib/index.js",
"react-native": {
"lib/index.js": "./enhance-rn.js",
"./src/StorageHelper": "./src/StorageHelper-rn.js"
},
"module": "es/index.js",
"jsnext:main": "es/index.js",
"types": "./index.d.ts",
"dependencies": {
"buffer": "4.9.1",
"crypto-js": "^3.3.0",
"isomorphic-unfetch": "^3.0.0",
"js-cookie": "^2.2.1"
},
"devDependencies": {
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"babel-loader": "^8.0.6",
"cross-env": "^3.1.4",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^5.0.2",
"eslint-config-prettier": "^6.3.0",
"eslint-import-resolver-webpack": "^0.5.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.2.0",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"jsdoc": "^3.4.0",
"react": "^16.0.0",
"react-native": "^0.44.0",
"rimraf": "^2.5.4",
"webpack": "^3.5.5"
},
"jest": {
"globals": {
"ts-jest": {
"diagnostics": false,
"tsConfig": {
"lib": [
"es5",
"es2015",
"dom",
"esnext.asynciterable",
"es2017.object"
],
"allowJs": true
}
}
},
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
},
"preset": "ts-jest",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"jsx"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost/",
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"coveragePathIgnorePatterns": [
"/node_modules/"
]
}
}