forked from wei/amplify-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.41 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 3.41 KB
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
{
"name": "@aws-amplify/auth",
"version": "6.20.1",
"description": "Auth category of aws-amplify",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"typings": "./dist/esm/index.d.ts",
"react-native": "./dist/cjs/index.js",
"sideEffects": [
"./dist/cjs/providers/cognito/apis/signInWithRedirect.js",
"./dist/esm/providers/cognito/apis/signInWithRedirect.mjs",
"./dist/cjs/providers/cognito/utils/oauth/enableOAuthListener.js",
"./dist/esm/providers/cognito/utils/oauth/enableOAuthListener.mjs"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "yarn lint --fix && jest -w 1 --coverage --logHeapUsage",
"build-with-test": "npm test && npm run build",
"build:umd": "webpack && webpack --config ./webpack.config.dev.js",
"build:esm-cjs": "rollup --forceExit -c rollup.config.mjs",
"build:watch": "npm run build:esm-cjs -- --watch",
"build": "npm run clean && npm run build:esm-cjs && npm run build:umd",
"clean": "npm run clean:size && rimraf lib-esm lib dist",
"clean:size": "rimraf dual-publish-tmp tmp*",
"format": "echo \"Not implemented\"",
"lint": "eslint '**/*.{ts,tsx}' && npm run ts-coverage",
"lint:fix": "eslint '**/*.{ts,tsx}' --fix",
"ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 91.18"
},
"typesVersions": {
">=4.2": {
"cognito": [
"./dist/esm/providers/cognito/index.d.ts"
],
"cognito/server": [
"./dist/esm/providers/cognito/apis/server/index.d.ts"
],
"server": [
"./dist/esm/server.d.ts"
]
}
},
"exports": {
".": {
"react-native": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js"
},
"./cognito": {
"react-native": "./dist/cjs/providers/cognito/index.js",
"types": "./dist/esm/providers/cognito/index.d.ts",
"import": "./dist/esm/providers/cognito/index.mjs",
"require": "./dist/cjs/providers/cognito/index.js"
},
"./cognito/server": {
"types": "./dist/esm/providers/cognito/apis/server/index.d.ts",
"import": "./dist/esm/providers/cognito/apis/server/index.mjs",
"require": "./dist/cjs/providers/cognito/apis/server/index.js"
},
"./server": {
"types": "./dist/esm/server.d.ts",
"import": "./dist/esm/server.mjs",
"require": "./dist/cjs/server.js"
},
"./enable-oauth-listener": {
"types": "./dist/esm/providers/cognito/utils/oauth/enableOAuthListener.d.ts",
"import": "./dist/esm/providers/cognito/utils/oauth/enableOAuthListener.mjs",
"require": "./dist/cjs/providers/cognito/utils/oauth/enableOAuthListener.js"
},
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-js.git",
"directory": "packages/auth"
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/aws/aws-amplify/issues"
},
"homepage": "https://docs.amplify.aws/",
"files": [
"dist/cjs",
"dist/esm",
"src",
"cognito",
"server",
"enable-oauth-listener"
],
"dependencies": {
"@aws-crypto/sha256-js": "5.2.0",
"@smithy/types": "^3.3.0",
"tslib": "^2.5.0"
},
"peerDependencies": {
"@aws-amplify/core": "^6.16.2",
"@aws-amplify/react-native": "^1.1.10"
},
"peerDependenciesMeta": {
"@aws-amplify/react-native": {
"optional": true
}
},
"devDependencies": {
"@aws-amplify/core": "6.18.0",
"@aws-amplify/react-native": "1.3.3",
"@jest/test-sequencer": "^29.7.0"
}
}