-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
85 lines (85 loc) · 2.73 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
{
"name": "@socketsecurity/sdk",
"version": "1.3.0",
"license": "MIT",
"description": "SDK for the Socket API client",
"author": {
"name": "Socket Inc",
"email": "[email protected]",
"url": "https://socket.dev"
},
"homepage": "https://github.com/SocketDev/socket-sdk-js",
"repository": {
"type": "git",
"url": "git://github.com/SocketDev/socket-sdk-js.git"
},
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.d.ts.map",
"index.d.ts",
"index.js",
"types/**/*.d.ts"
],
"engines": {
"node": "^16.10.0 || >=18.0.0"
},
"dependencies": {
"formdata-node": "^5.0.0",
"got": "^12.5.3",
"pony-cause": "^2.1.8"
},
"devDependencies": {
"@socketsecurity/eslint-config": "^4.0.1",
"@tsconfig/node16": "^16.1.3",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/node": "^16.0.0",
"@types/tap": "^15.0.7",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"c8": "^9.1.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"eslint": "^8.34.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-jsx": "^11.0.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^40.0.0",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "^48.0.1",
"husky": "^8.0.3",
"installed-check": "^8.0.0",
"mocha": "^10.1.0",
"nock": "^13.2.9",
"npm-run-all2": "^6.0.4",
"openapi-typescript": "^6.3.2",
"type-coverage": "^2.24.1",
"typescript": "~5.0.4"
},
"scripts": {
"build:0": "run-s clean",
"build:1-declaration": "tsc -p declaration.tsconfig.json",
"build": "run-s build:*",
"check:installed-check": "installed-check -i eslint-plugin-jsdoc",
"check:lint": "eslint --report-unused-disable-directives .",
"check:tsc": "tsc",
"check:type-coverage": "type-coverage --detail --strict --at-least 95 --ignore-files 'test/*'",
"check": "run-s clean && run-p check:*",
"ci-test": "run-s build test:*",
"clean:declarations": "rm -rf $(find . -maxdepth 2 -type f -name '*.d.ts*' ! -name 'api*.d.ts')",
"clean": "run-p clean:*",
"generate-sdk:0-prettify": "node build/prettify-base-json.js",
"generate-sdk:1-generate": "node build/generate-types.js > types/api.d.ts",
"generate-sdk": "run-s generate-sdk:*",
"prepare": "husky install",
"prepublishOnly": "run-s build",
"test:mocha": "c8 --reporter=lcov --reporter text mocha 'test/**/*.spec.js'",
"test": "run-s check test:*"
}
}