-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 4.12 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 4.12 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
{
"name": "@okta/okta-sdk-nodejs",
"version": "8.1.0",
"description": "Okta API wrapper for Node.js",
"engines": {
"node": ">=14.0"
},
"files": [
"src/",
"README.md"
],
"main": "src/index.js",
"types": "src/types/index.d.ts",
"scripts": {
"banners": "./utils/maintain-banners.js",
"build": "yarn build:cleanGenerated && yarn build:fixSpec && yarn build:generate && yarn build:fixGenerated && yarn build:emitTypes",
"build:generate": "docker run --rm -v \"${PWD}:/local\" -e JAVA_OPTS=\"-Dlog.level=warn -DmaxYamlCodePoints=99999999 -Dsnakeyaml.codepoint.limit=99999999\" openapitools/openapi-generator-cli:v7.13.0 generate -i /local/spec/management.yaml -g typescript -c /local/templates/swagger-codegen-config.json -o /local/src/generated -t /local/templates/openapi-generator --model-name-mappings User_type=UserTypeInline",
"build:validateSpec": "docker run --rm -v \"${PWD}:/local\" openapitools/openapi-generator-cli:v7.13.0 validate -i /local/spec/management.yaml",
"build:validateGenerated": "node scripts/validateGenerated.cjs",
"build:fixSpec": "node scripts/fixSpec.cjs",
"build:fixGenerated": "node scripts/fixGenerated.cjs",
"build:emitTypes": "./scripts/emitV3Types.sh",
"build:cleanGenerated": "rm -rf ./src/generated && rm -rf ./src/types/generated",
"build:restoreGenerated": "yarn build:cleanGenerated && git checkout ./src/generated && git checkout ./src/types/generated",
"eslint": "eslint .",
"jest": "JEST_JUNIT_OUTPUT_DIR=./test-reports jest --coverage --ci --testResultsProcessor=jest-junit test/jest/*.js",
"predocs": "rimraf ./jsdocs && mkdir jsdocs/ && ./utils/make-jsdoc-readme.js > ./jsdocs/jsdoc-temp.md",
"docs": "./node_modules/.bin/jsdoc src/ -c ./docs/config.json -d ./jsdocs/ -P ./package.json -R ./jsdocs/jsdoc-temp.md -r",
"test:integration": "yarn test:integration:oauth && yarn test:integration:ssws",
"test:integration:ssws": "./scripts/test-it-ssws.sh",
"test:integration:oauth": "./scripts/test-it-oauth.sh",
"test:unit": "TEST_TYPE=unit mocha test/unit/*.js",
"test:types": "tsd && tsc --noEmit --isolatedModules --importsNotUsedAsValues error src/types/**/*.ts",
"test": "yarn eslint && yarn test:types && yarn test:unit && yarn test:integration && yarn jest",
"aftertest": "./scripts/test-it-clean.sh"
},
"keywords": [],
"license": "Apache-2.0",
"repository": "https://github.com/okta/okta-sdk-nodejs",
"dependencies": {
"@types/node-forge": "^1.3.2",
"deep-copy": "^1.4.2",
"eckles": "^1.4.1",
"form-data": "^4.0.4",
"https-proxy-agent": "^5.0.0",
"js-yaml": "^4.1.0",
"lodash": "^4.17.23",
"njwt": "^2.0.1",
"node-fetch": "^2.6.7",
"node-jose": "^2.2.0",
"parse-link-header": "^2.0.0",
"rasha": "^1.2.5",
"safe-flat": "^2.0.2",
"url-parse": "^1.5.10",
"uuid": "^11.1.0"
},
"devDependencies": {
"@faker-js/faker": "^5.5.3",
"@types/chai": "^4.2.22",
"@types/mocha": "10.0.10",
"@types/node": "^20.18.1",
"@types/node-fetch": "^2.5.8",
"@types/rasha": "^1.2.3",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"chai": "^4.2.0",
"eslint": "^8.2.0",
"eslint-plugin-jest": "^25.2.4",
"fake-fs": "^0.5.0",
"globby": "^11.0.4",
"jest": "^27.3.1",
"jest-date-mock": "^1.0.8",
"jest-junit": "^13.0.0",
"js-yaml": "^4.1.0",
"jsdoc": "^4.0.1",
"mocha": "10.8.2",
"mocha-junit-reporter": "2.2.1",
"mocha-multi-reporters": "^1.5.1",
"node-forge": "^1.3.2",
"nyc": "^15.1.0",
"replace-in-file": "^8.3.0",
"rimraf": "^3.0.2",
"sinon": "^12.0.1",
"speakeasy": "^2.0.0",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.14.2",
"tsd": "^0.18.0",
"typescript": "^4.4.4"
},
"resolutions": {
"node-fetch": "^2.6.7",
"sanitize-html": "^2.7.1",
"tmpl": "^1.0.5",
"moment": "^2.29.4",
"nanoid": "^3.1.31",
"klaw": "^3.0.0",
"form-data": "^4.0.4"
},
"jest": {
"restoreMocks": true,
"rootDir": "./test/jest",
"setupFiles": [
"jest-date-mock"
]
},
"tsd": {
"directory": "test/type"
}
}