forked from okta/okta-auth-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
138 lines (138 loc) · 4.67 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
{
"private": true,
"name": "@okta/okta-auth-js",
"description": "The Okta Auth SDK",
"version": "4.1.0",
"homepage": "https://github.com/okta/okta-auth-js",
"license": "Apache-2.0",
"type": "commonjs",
"main": "build/cjs/server/index.js",
"module": "build/lib/server/index.js",
"browser": "build/dist/okta-auth-js.umd.js",
"react-native": "build/lib/server/index.js",
"types": "build/lib/browser/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/okta/okta-auth-js.git"
},
"bugs": {
"url": "https://github.com/okta/okta-auth-js/issues"
},
"scripts": {
"clean": "yarn clean:build && yarn clean:modules",
"clean:build": "rimraf build && rimraf build2",
"clean:modules": "lerna exec rimraf node_modules && rimraf node_modules",
"dev": "webpack --config webpack.dev.config.js",
"lint": "eslint .",
"lint:report": "eslint -f checkstyle -o ./build2/reports/lint/eslint-checkstyle-result.xml .",
"validate": "yarn tsc --noEmit && yarn lint && yarn --cwd test/app validate",
"test": "yarn test:unit && yarn test:samples && yarn test:e2e && yarn test:e2e:saucelabs",
"test:unit": "yarn test:karma && yarn test:server && yarn test:browser",
"posttest:e2e": "yarn stop",
"test:e2e": "yarn --cwd test/e2e start",
"test:e2e:saucelabs": "export RUN_SAUCE_TESTS=true && yarn test:e2e",
"test:karma": "karma start --single-run",
"test:browser": "jest --config ./jest.browser.js",
"test:server": "jest --config ./jest.server.js",
"test:report": "yarn test --ci --silent || true",
"test:samples": "yarn --cwd samples test",
"build": "node scripts/build.js",
"build:cdn": "cross-env NODE_ENV=production webpack --config webpack.cdn.config.js -p",
"build:web": "cross-env NODE_ENV=production webpack --config webpack.config.js --output-library-target=umd -p",
"build:server": "cross-env babel lib -d build/cjs --config-file ./babel.node.json --extensions \".ts\",\".js\"",
"build:polyfill": "cross-env NODE_ENV=production webpack --config webpack.polyfill.config.js --output-library-target=umd -p",
"generate:samples": "yarn --cwd samples build && yarn install --ignore-scripts",
"prepare": "yarn build && yarn generate:samples",
"start": "yarn --cwd 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": ">=10.3",
"yarn": "^1.7.0"
},
"dependencies": {
"Base64": "0.3.0",
"core-js": "^3.6.5",
"cross-fetch": "^3.0.0",
"js-cookie": "2.2.0",
"node-cache": "^4.2.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-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",
"@types/jest": "^25.2.3",
"@types/node": "^14.0.3",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-mockable-imports": "^1.7.1",
"chalk": "2.4.2",
"cross-env": "^5.1.1",
"dotenv": "^8.1.0",
"eslint": "^7.1.0",
"eslint-plugin-compat": "^3.3.0",
"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": "^24.9.0",
"jest-junit": "^9.0.0",
"json-loader": "0.5.4",
"karma": "^4.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage-istanbul-reporter": "^2.0.5",
"karma-jasmine": "^2.0.1",
"karma-jquery": "^0.2.3",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^3.0.5",
"lerna": "^2.11.0",
"lodash": "4.17.11",
"promise.allsettled": "^1.0.1",
"shelljs": "0.8.3",
"ts-loader": "^8.0.1",
"typescript": "^3.9.6",
"webpack": "^4.43.0"
},
"jest-junit": {
"outputDirectory": "./build2/reports/unit/",
"outputName": "junit-result.xml"
},
"workspaces": [
"./",
"test/app",
"test/e2e",
"test/support",
"samples",
"samples/test",
"samples/generated/*"
]
}