-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathpackage.json
More file actions
175 lines (175 loc) · 7.12 KB
/
package.json
File metadata and controls
175 lines (175 loc) · 7.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "@socketsecurity/cli",
"version": "1.2.0",
"description": "CLI for Socket.dev",
"homepage": "https://github.com/SocketDev/socket-cli",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/SocketDev/socket-cli.git"
},
"author": {
"name": "Socket Inc",
"email": "eng@socket.dev",
"url": "https://socket.dev"
},
"bin": {
"socket": "bin/cli.js",
"socket-npm": "bin/npm-cli.js",
"socket-npx": "bin/npx-cli.js",
"socket-pnpm": "bin/pnpm-cli.js",
"socket-yarn": "bin/yarn-cli.js"
},
"exports": {
"./bin/cli.js": "./dist/cli.js",
"./bin/npm-cli.js": "./dist/npm-cli.js",
"./bin/npx-cli.js": "./dist/npx-cli.js",
"./bin/pnpm-cli.js": "./dist/pnpm-cli.js",
"./bin/yarn-cli.js": "./dist/yarn-cli.js",
"./package.json": "./package.json",
"./data/alert-translations.json": "./data/alert-translations.json",
"./data/command-api-requirements.json": "./data/command-api-requirements.json"
},
"scripts": {
"build": "node --import=./scripts/load.mjs scripts/build.mjs",
"build:sea:internal:bootstrap": "node .config/esbuild.sea-bootstrap.build.mjs",
"build:js": "node scripts/extract-yoga-wasm.mjs && node scripts/extract-onnx-runtime.mjs && node scripts/extract-minilm-model.mjs && node .config/esbuild.cli.build.mjs",
"build:watch": "node scripts/extract-yoga-wasm.mjs && node scripts/extract-onnx-runtime.mjs && node scripts/extract-minilm-model.mjs && node .config/esbuild.cli.build.mjs --watch",
"dev": "pnpm run build:watch",
"publish:sea": "node --import=./scripts/load.mjs scripts/publish-sea.mjs",
"check": "node --import=./scripts/load.mjs scripts/check.mjs",
"check-ci": "pnpm run check",
"claude": "node scripts/claude.mjs",
"lint": "node --import=./scripts/load.mjs scripts/lint.mjs",
"lint-ci": "pnpm run lint",
"type": "tsc --noEmit",
"type-ci": "pnpm run type",
"cover": "node --import=./scripts/load.mjs scripts/cover.mjs",
"clean": "run-p -c --aggregate-output clean:*",
"clean:cache": "del-cli '**/.cache'",
"clean:dist": "del-cli 'dist'",
"clean:node_modules": "del-cli '**/node_modules'",
"fix": "node --import=./scripts/load.mjs scripts/fix.mjs",
"lint-staged": "dotenvx -q run -f .env.local -- lint-staged",
"precommit": "dotenvx -q run -f .env.local -- lint-staged",
"prepare": "dotenvx -q run -f .env.local -- husky",
"bs": "dotenvx -q run -f .env.local -- pnpm run build; pnpm exec socket --",
"s": "dotenvx -q run -f .env.local -- pnpm exec socket --",
"e2e-tests": "dotenvx -q run -f .env.test -- vitest run --config vitest.e2e.config.mts",
"test": "run-s check test:*",
"test:prepare": "dotenvx -q run -f .env.test -- pnpm build && del-cli 'test/**/node_modules'",
"test:unit": "dotenvx -q run -f .env.test -- vitest run",
"test:unit:update": "dotenvx -q run -f .env.test -- vitest run --update",
"test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --coverage",
"test:validate": "node --import=./scripts/load.mjs scripts/validate-tests.mjs",
"test:wrapper": "node --import=./scripts/load.mjs scripts/test-wrapper.mjs",
"test-ci": "run-s test:*",
"test-pre-commit": "dotenvx -q run -f .env.precommit -- pnpm test",
"update": "node --import=./scripts/load.mjs scripts/update.mjs",
"wasm": "node scripts/wasm.mjs",
"wasm:build": "node scripts/wasm.mjs --build",
"wasm:download": "node scripts/wasm.mjs --download"
},
"devDependencies": {
"@rollup/plugin-babel": "6.1.0",
"@rollup/plugin-commonjs": "28.0.6",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "16.0.1",
"@rollup/plugin-replace": "6.0.2",
"@rollup/pluginutils": "5.3.0",
"del": "8.0.1",
"ink-text-input": "6.0.0",
"rollup": "4.50.1",
"rollup-plugin-visualizer": "6.0.5",
"tar-stream": "3.1.7"
},
"engines": {
"node": ">=18",
"pnpm": ">=10.16.0"
},
"files": [
"bin/**",
"data/**",
"dist/**",
"shadow-bin/**",
"CHANGELOG.md",
"logo-dark.png",
"logo-light.png"
],
"lint-staged": {
"*.{cjs,cts,js,json,md,mjs,mts,ts}": [
"biome check --write --unsafe --no-errors-on-unmatched --files-ignore-unknown=true --colors=off"
]
},
"pnpm": {
"overrides": {
"@octokit/graphql": "9.0.1",
"@octokit/request-error": "7.0.0",
"@rollup/plugin-commonjs": "28.0.6",
"aggregate-error": "npm:@socketregistry/aggregate-error@^1.0.15",
"ansi-regex": "6.1.0",
"brace-expansion": "2.0.2",
"es-define-property": "npm:@socketregistry/es-define-property@^1.0.7",
"emoji-regex": "10.6.0",
"es-set-tostringtag": "npm:@socketregistry/es-set-tostringtag@^1.0.10",
"function-bind": "npm:@socketregistry/function-bind@^1.0.7",
"globalthis": "npm:@socketregistry/globalthis@^1.0.8",
"gopd": "npm:@socketregistry/gopd@^1.0.7",
"graceful-fs": "4.2.11",
"has-property-descriptors": "npm:@socketregistry/has-property-descriptors@^1.0.7",
"has-proto": "npm:@socketregistry/has-proto@^1.0.7",
"has-symbols": "npm:@socketregistry/has-symbols@^1.0.7",
"has-tostringtag": "npm:@socketregistry/has-tostringtag@^1.0.7",
"hasown": "npm:@socketregistry/hasown@^1.0.7",
"https-proxy-agent": "7.0.6",
"indent-string": "npm:@socketregistry/indent-string@^1.0.14",
"is-core-module": "npm:@socketregistry/is-core-module@^1.0.11",
"isarray": "npm:@socketregistry/isarray@^1.0.8",
"lodash": "4.17.21",
"npm-package-arg": "13.0.0",
"packageurl-js": "npm:@socketregistry/packageurl-js@^1.3.0",
"path-parse": "npm:@socketregistry/path-parse@^1.0.8",
"rollup": "4.52.5",
"safe-buffer": "npm:@socketregistry/safe-buffer@^1.0.9",
"safer-buffer": "npm:@socketregistry/safer-buffer@^1.0.10",
"semver": "7.7.2",
"set-function-length": "npm:@socketregistry/set-function-length@^1.0.10",
"shell-quote": "npm:shell-quote@^1.8.3",
"side-channel": "npm:@socketregistry/side-channel@^1.0.10",
"string-width": "8.1.0",
"string_decoder": "0.10.31",
"tiny-colors": "2.1.3",
"typedarray": "npm:@socketregistry/typedarray@^1.0.8",
"undici": "6.21.3",
"vite": "7.1.12",
"xml2js": "0.6.2",
"yaml": "2.8.1",
"yargs-parser": "21.1.1"
},
"patchedDependencies": {
"@rollup/plugin-commonjs@28.0.6": "patches/@rollup__plugin-commonjs@28.0.6.patch",
"brace-expansion@2.0.2": "patches/brace-expansion@2.0.2.patch",
"graceful-fs@4.2.11": "patches/graceful-fs@4.2.11.patch",
"lodash@4.17.21": "patches/lodash@4.17.21.patch",
"string_decoder@0.10.31": "patches/string_decoder@0.10.31.patch",
"ink@6.3.1": "patches/ink@6.3.1.patch",
"yoga-layout": "patches/yoga-layout.patch"
}
},
"typeCoverage": {
"cache": true,
"atLeast": 95,
"ignoreAsAssertion": true,
"ignoreCatch": true,
"ignoreEmptyType": true,
"ignore-non-null-assertion": true,
"ignore-type-assertion": true,
"ignore-files": "test/*",
"strict": true
},
"dependencies": {
"ajv-dist": "8.17.1",
"compromise": "14.14.4",
"onnxruntime-web": "1.23.0"
}
}