-
Notifications
You must be signed in to change notification settings - Fork 273
/
Copy pathpackage.json
189 lines (189 loc) · 6.19 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
{
"private": true,
"name": "@okta/okta-auth-js",
"description": "The Okta Auth SDK",
"version": "6.4.5",
"homepage": "https://github.com/okta/okta-auth-js",
"license": "Apache-2.0",
"main": "build/cjs/index.js",
"module": "build/esm/esm.node.mjs",
"browser": "build/dist/okta-auth-js.umd.js",
"types": "build/lib/index.d.ts",
"exports": {
"node": {
"import": "./build/esm/esm.node.mjs",
"require": "./build/cjs/index.js"
},
"browser": {
"import": "./build/esm/esm.browser.js"
},
"default": "./build/dist/okta-auth-js.umd.js"
},
"repository": {
"type": "git",
"url": "https://github.com/okta/okta-auth-js.git"
},
"bugs": {
"url": "https://github.com/okta/okta-auth-js/issues"
},
"scripts": {
"banners": "node ./scripts/maintain-banners.js",
"clean": "yarn clean:build",
"clean:build": "rimraf build && rimraf build2",
"dev:esm": "NODE_ENV=development yarn build:esm --watch",
"dev:web": "cross-env NODE_ENV=development webpack --config webpack.config.js --watch",
"lint": "eslint --ext .js,.ts,.jsx .",
"tsd": "tsd",
"lint:report": "eslint -f checkstyle -o ./build2/reports/lint/eslint-checkstyle-result.xml .",
"validate": "yarn tsc --noEmit && yarn lint && yarn workspace @okta/test.app validate && yarn tsd",
"test": "yarn test:unit && yarn test:samples && yarn test:e2e",
"test:unit": "yarn test:server && yarn test:browser",
"posttest:e2e": "yarn stop",
"test:e2e": "yarn workspace @okta/test.e2e start",
"test:e2e:tokens": "export REFRESH_TOKEN=true && yarn test:e2e",
"test:e2e:saucelabs": "export RUN_SAUCE_TESTS=true && yarn test:e2e",
"test:browser": "jest --config ./jest.browser.js",
"test:server": "jest --config ./jest.server.js",
"test:report": "yarn test --ci --silent || true",
"test:samples": "yarn workspace @okta/test.e2e.samples start",
"test:integration": "jest --config ./jest.integration.js",
"test:bundle:esm:browser": "cross-env BUNDLE_ENV=browser NODE_OPTIONS=--experimental-vm-modules jest --config ./jest.esm.mjs",
"test:bundle:esm:node": "cross-env BUNDLE_ENV=node NODE_OPTIONS=--experimental-vm-modules jest --config ./jest.esm.mjs",
"test:bundle:cjs": "cross-env BUNDLE_ENV=node jest --config ./jest.cjs.js",
"build": "node scripts/build.js",
"build:cdn": "cross-env NODE_ENV=production webpack --config webpack.cdn.config.js",
"build:web": "cross-env NODE_ENV=production webpack --config webpack.config.js",
"build:cjs": "cross-env babel lib -d build/cjs --config-file ./babel.cjs.js --extensions \".ts\",\".js\" --source-maps",
"build:esm": "rollup -c",
"build:polyfill": "cross-env NODE_ENV=production webpack --config webpack.polyfill.config.js",
"build:types": "tsc --emitDeclarationOnly",
"generate:samples": "yarn workspace @okta/samples build && yarn install --ignore-scripts",
"dev:samples": "yarn workspace @okta/samples dev",
"prepare": "yarn build",
"start": "yarn workspace @okta/test.app start --open",
"stop": "kill -s TERM $(lsof -t -i:8080 -sTCP:LISTEN) || true"
},
"author": "Okta",
"keywords": [
"Okta",
"authentication",
"auth",
"login"
],
"browserslist": [
"> 0.1%",
"not opera < 69",
"not firefox < 53",
"not safari < 7.1",
"not ie < 11",
"not IE_Mob 11"
],
"engines": {
"node": ">=11.0",
"yarn": "^1.7.0"
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime-corejs3": "^7.17.0",
"@peculiar/webcrypto": "1.1.6",
"Base64": "1.1.0",
"atob": "^2.1.2",
"broadcast-channel": "^4.10.0",
"btoa": "^1.2.1",
"core-js": "^3.6.5",
"cross-fetch": "^3.1.5",
"js-cookie": "^3.0.1",
"jsonpath-plus": "^6.0.1",
"node-cache": "^5.1.2",
"p-cancelable": "^2.0.0",
"text-encoding": "^0.7.0",
"tiny-emitter": "1.1.0",
"webcrypto-shim": "^0.1.5",
"xhr2": "0.1.3"
},
"devDependencies": {
"@babel/cli": "^7.8.0",
"@babel/core": "^7.8.0",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-transform-modules-commonjs": "^7.10.1",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/plugin-transform-typescript": "^7.10.5",
"@babel/preset-env": "^7.8.2",
"@babel/preset-typescript": "^7.10.4",
"@okta/okta-signin-widget": "6.0.0",
"@rollup/plugin-alias": "^3.1.8",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-replace": "^3.0.0",
"@types/jest": "^27.4.0",
"@types/node": "^14.0.3",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"babel-jest": "^27.5.1",
"babel-loader": "^8.2.2",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-inline-replace-variables": "^1.3.1",
"chalk": "2.4.2",
"cross-env": "^5.1.1",
"eslint": "^8.12.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-compat": "^3.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jasmine": "^2.10.1",
"eslint-plugin-jsdoc": "^25.4.2",
"eslint-plugin-node": "^11.1.0",
"globby": "^6.1.0",
"istanbul-instrumenter-loader": "^3.0.1",
"jasmine-ajax": "^4.0.0",
"jest": "^27.5.1",
"jest-junit": "^13.0.0",
"json-loader": "0.5.4",
"lodash": "4.17.20",
"rollup": "^2.59.0",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-license": "^2.6.0",
"rollup-plugin-typescript2": "^0.30.0",
"shelljs": "0.8.4",
"ts-jest": "^27.1.3",
"tsd": "^0.17.0",
"typescript": "^4.2.3",
"webpack": "^5.60.0",
"webpack-cli": "^4.9.1"
},
"jest-junit": {
"outputDirectory": "./build2/reports/unit/",
"outputName": "junit-result.xml"
},
"workspaces": {
"packages": [
".",
"env",
"test/apps/*",
"test/e2e",
"test/support",
"samples",
"samples/test",
"samples/generated/*"
],
"nohoist": [
"**/@wdio/**"
]
},
"tsd": {
"directory": "test/types",
"compilerOptions": {
"skipLibCheck": true,
"types": [
"node"
],
"lib": [
"dom"
],
"paths": {
"@okta/okta-auth-js": [
"./build"
]
}
}
}
}