forked from okta/okta-auth-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
161 lines (161 loc) · 4.98 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
{
"private": true,
"name": "@okta/okta-auth-js",
"description": "The Okta Auth SDK",
"version": "5.3.0",
"homepage": "https://github.com/okta/okta-auth-js",
"license": "Apache-2.0",
"type": "commonjs",
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"browser": "build/dist/okta-auth-js.umd.js",
"types": "build/lib/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": {
"banners": "node ./scripts/maintain-banners.js",
"clean": "yarn clean:build",
"clean:build": "rimraf build && rimraf build2",
"dev": "webpack --config webpack.dev.config.js",
"lint": "eslint .",
"tsd": "tsd",
"lint:report": "eslint -f checkstyle -o ./build2/reports/lint/eslint-checkstyle-result.xml .",
"validate": "yarn tsc --noEmit && yarn lint && yarn --cwd 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 --cwd 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 --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:cjs": "cross-env babel lib -d build/cjs --config-file ./babel.cjs.js --extensions \".ts\",\".js\" --source-maps",
"build:esm": "cross-env babel lib -d build/esm --config-file ./babel.esm.js --extensions \".ts\",\".js\" --source-maps",
"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",
"dev:samples": "yarn --cwd samples dev",
"prepare": "yarn build",
"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": ">=11.0",
"yarn": "^1.7.0"
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"@okta/okta-idx-js": "0.18.0",
"@peculiar/webcrypto": "1.1.6",
"Base64": "1.1.0",
"atob": "^2.1.2",
"btoa": "^1.2.1",
"core-js": "^3.6.5",
"cross-fetch": "^3.0.6",
"js-cookie": "2.2.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-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": "^26.6.3",
"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": "^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": "^26.6.3",
"jest-junit": "^9.0.0",
"json-loader": "0.5.4",
"lodash": "4.17.20",
"shelljs": "0.8.4",
"ts-jest": "^26.4.3",
"ts-loader": "^8.0.1",
"tsd": "^0.17.0",
"typescript": "^4.2.3",
"webpack": "^4.43.0"
},
"jest-junit": {
"outputDirectory": "./build2/reports/unit/",
"outputName": "junit-result.xml"
},
"workspaces": {
"packages": [
"./",
"env",
"test/app",
"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"
]
}
}
}
}