-
Notifications
You must be signed in to change notification settings - Fork 61
/
package.json
103 lines (103 loc) · 3.56 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
{
"name": "@okta/okta-sdk-nodejs",
"version": "7.2.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",
"prebuild": "rimraf ./src/models ./src/factories ./src/generated-client.js",
"build": "okta-sdk-generator -t templates/ -o . && yarn banners",
"build:openapi": "openapi-generator-cli generate -i ./spec/management.yaml -g typescript -o ./src/generated -c templates/swagger-codegen-config.json -t templates/openapi-generator && ./scripts/emitV3Types.sh",
"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": "TEST_TYPE=it OKTA_CLIENT_AUTHORIZATIONMODE=SSWS mocha test/it/*.ts",
"test:integration:oauth": "TEST_TYPE=it OKTA_CLIENT_AUTHORIZATIONMODE=PrivateKey mocha test/it/user-get.ts",
"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": "TEST_TYPE=clean mocha test/delete-resources.ts",
"validate:v2-v3": "node scripts/validate.js ./spec/management.yaml"
},
"keywords": [],
"license": "Apache-2.0",
"repository": "https://github.com/okta/okta-sdk-nodejs",
"dependencies": {
"@types/node-forge": "^1.3.1",
"deep-copy": "^1.4.2",
"eckles": "^1.4.1",
"form-data": "^4.0.0",
"https-proxy-agent": "^5.0.0",
"js-yaml": "^4.1.0",
"lodash": "^4.17.20",
"njwt": "^2.0.1",
"node-fetch": "^2.6.7",
"parse-link-header": "^2.0.0",
"rasha": "^1.2.5",
"safe-flat": "^2.0.2",
"url-parse": "^1.5.10"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@faker-js/faker": "^5.5.3",
"@okta/openapi": "^2.11.1",
"@openapitools/openapi-generator-cli": "^2.5.2",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.34",
"@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": "^9.2.2",
"mocha-junit-reporter": "^2.0.2",
"mocha-multi-reporters": "^1.5.1",
"node-forge": "^1.3.1",
"nyc": "^15.1.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"
},
"jest": {
"restoreMocks": true,
"rootDir": "./test/jest",
"setupFiles": [
"jest-date-mock"
]
},
"tsd": {
"directory": "test/type"
}
}