forked from okta/okta-sdk-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.84 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
{
"name": "@okta/okta-sdk-nodejs",
"version": "4.6.0",
"description": "Okta API wrapper for Node.js",
"engines": {
"node": ">=10.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",
"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": "MOCHA_FILE=./test-reports/it-results.xml OKTA_CLIENT_AUTHORIZATIONMODE=SSWS nyc --reporter=text --reporter=html mocha --reporter=mocha-junit-reporter --reporter-options toConsole=true --retries 2 test/it/*.js --no-timeouts",
"test:integration:oauth": "OKTA_CLIENT_AUTHORIZATIONMODE=PrivateKey nyc --reporter=text --reporter=html mocha test/it/user-get.js --no-timeouts",
"test:unit": "MOCHA_FILE=./test-reports/junit-results.xml nyc --reporter=text --reporter=html mocha --reporter=mocha-junit-reporter test/unit/*.js --no-timeouts",
"test:types": "tsd",
"test": "yarn eslint && yarn test:types && yarn test:unit && yarn test:integration && yarn jest",
"aftertest": "mocha test/delete-resources.js --no-timeouts"
},
"keywords": [],
"license": "Apache-2.0",
"repository": "https://github.com/okta/okta-sdk-nodejs",
"dependencies": {
"@types/node-fetch": "^2.5.8",
"deep-copy": "^1.4.2",
"isomorphic-fetch": "^3.0.0",
"js-yaml": "^3.14.1",
"lodash": "^4.17.20",
"mocha-junit-reporter": "^2.0.0",
"njwt": "^1.0.0",
"parse-link-header": "^1.0.1",
"rasha": "^1.2.5",
"safe-flat": "^2.0.2"
},
"devDependencies": {
"@okta/openapi": "^2.1.6",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"chai": "^4.2.0",
"eslint": "^7.20.0",
"eslint-plugin-jest": "^24.1.3",
"fake-fs": "^0.5.0",
"faker": "^5.1.0",
"globby": "^11.0.1",
"ink-docstrap": "^1.3.2",
"jest": "^26.6.3",
"jest-date-mock": "^1.0.8",
"jest-junit": "^12.0.0",
"jsdoc": "^3.6.6",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"sinon": "^9.2.1",
"speakeasy": "^2.0.0",
"tsd": "^0.14.0",
"typescript": "^4.2.2"
},
"jest": {
"restoreMocks": true,
"rootDir": "./test/jest",
"setupFiles": [
"jest-date-mock"
]
},
"tsd": {
"directory": "test/type"
}
}