-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
94 lines (94 loc) · 3.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
{
"name": "snyk-api-ts-client",
"description": "Snyk Api Client generated from API Blueprint",
"main": "dist/index.js",
"scripts": {
"format:check": "prettier --check '{''{src,test}/!(fixtures)/**/*,*}.{js,ts,json,yml}'",
"format": "prettier --write '{''{src,test}/!(fixtures)/**/*,*}.{js,ts,json,yml}'",
"lint": "npm run format:check && npm run lint:eslint",
"lint:eslint": "eslint --cache '{lib,test}/**/*.ts'",
"test": "npm run lint && npm run test:unit",
"test:unit": "jest ./test/*",
"test:coverage": "npm run test:unit -- --coverage",
"test:watch": "tsc-watch --onSuccess 'npm run test:unit'",
"build": "tsc",
"build-generators-only": "tsc --project tsconfig-generators-only.json",
"build-generators-and-abstraction": "tsc --project tsconfig-generators-and-abstraction.json",
"build-and-generate-and-format": "npm run build-generators-only && npm run generate-classes test && npm run build-generators-and-abstraction && npm run generate-classes && npm run generate-test-cases && npm run generate-test-fixtures && npm run format",
"build-and-generate-for-test-and-format": "npm run build-generators-only && npm run generate-classes test && npm run build-generators-and-abstraction && npm run generate-classes test && npm run generate-test-cases && npm run generate-test-fixtures && npm run format",
"build-watch": "tsc -w",
"prepare": "npm run snyk-protect",
"convert-to-swagger": "npx apib2swagger -i ./snyk.apib -o ./snyk.json",
"prepare-swagger": "node dist/preprocessors/prepare.js > snyk-prepared.json",
"clean-generated-classes": "rm src/lib/client/generated/*.ts",
"clean-for-release": "rm -rf src/lib/generators && rm -rf src/lib/preprocessors && rm snyk.apib snyk.json snyk-prepared.json",
"generate-classes": "node dist/generators/generate.js",
"generate-classes-for-test": "node dist/generators/generate.js test",
"generate-test-cases": "node dist/generators/generateTestCases.js",
"generate-test-fixtures": "node dist/generators/generateTestFixtures.js",
"pkg-binaries": "npx pkg . -t node12-linux-x64,node12-macos-x64,node12-win-x64 --out-path ./dist/binaries",
"snyk-protect": "npx @snyk/protect"
},
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/snyk-labs/snyk-api-ts-client"
},
"author": "Snyk Tech Services",
"license": "Apache-2.0",
"engines": {
"node": ">=12"
},
"files": [
"bin",
"dist"
],
"homepage": "https://github.com/snyk-labs/snyk-api-ts-client#readme",
"dependencies": {
"@snyk/configstore": "^3.2.0-rc1",
"@snyk/dep-graph": "^1.23.0",
"@types/lodash": "^4.14.155",
"@types/node": "^14.0.12",
"debug": "^4.1.1",
"jsonq": "^1.2.0",
"lodash": "^4.17.21",
"snyk-config": "^5.0.0",
"snyk-request-manager": "1.8.3",
"source-map-support": "^0.5.16",
"tslib": "^1.10.0",
"typescript": "^3.9.5",
"utility-types": "^3.10.0"
},
"devDependencies": {
"@manifoldco/swagger-to-ts": "^2.0.0",
"@types/jest": "^25.1.1",
"@types/lodash": "4.14.182",
"@types/node": "^12.12.26",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"axios-mock-adapter": "^1.19.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"jest": "^25.1.0",
"jest-mock-axios": "^4.2.0",
"nock": "^13.0.7",
"prettier": "2.0.5",
"sleep-promise": "^8.0.1",
"ts-jest": "^25.1.0",
"ts-node": "8.6.2",
"tsc-watch": "^4.1.0",
"typedoc": "^0.20.29",
"typescript": "^3.7.5"
},
"pkg": {
"scripts": [
"dist/**/*.js"
]
},
"release": {
"branches": [
"master"
]
},
"snyk": true
}