-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathpackage.json
More file actions
163 lines (163 loc) · 5.97 KB
/
package.json
File metadata and controls
163 lines (163 loc) · 5.97 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
{
"name": "@socketsecurity/cli",
"version": "0.0.0-copied-from-packages-socket",
"description": "CLI for Socket.dev",
"private": true,
"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": "dist/index.js",
"socket-npm": "dist/index.js",
"socket-npx": "dist/index.js",
"socket-pnpm": "dist/index.js",
"socket-yarn": "dist/index.js"
},
"scripts": {
"build": "node --import=./scripts/load.mjs scripts/build.mjs",
"build:force": "node --import=./scripts/load.mjs scripts/build.mjs --force",
"build:watch": "node --import=./scripts/load.mjs scripts/build.mjs --watch",
"build:sea:internal:bootstrap": "node .config/esbuild.sea-bootstrap.build.mjs",
"build:js": "node scripts/extract-yoga-wasm.mjs && node .config/esbuild.cli.build.mjs",
"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": "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",
"e2e:js": "node scripts/e2e.mjs --js",
"e2e:smol": "node scripts/e2e.mjs --smol",
"e2e:sea": "node scripts/e2e.mjs --sea",
"e2e:all": "node scripts/e2e.mjs --all",
"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": "NODE_OPTIONS='--max-old-space-size=8192' 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",
"verify": "node scripts/verify-package.mjs",
"wasm": "node scripts/wasm.mjs",
"wasm:build": "node scripts/wasm.mjs --build",
"wasm:download": "node scripts/wasm.mjs --download"
},
"devDependencies": {
"@babel/generator": "catalog:",
"@babel/parser": "catalog:",
"@babel/traverse": "catalog:",
"@babel/types": "catalog:",
"@coana-tech/cli": "catalog:",
"@gitbeaker/rest": "catalog:",
"@socketsecurity/build-infra": "workspace:*",
"@socketsecurity/lib": "workspace:*",
"@socketsecurity/sdk": "workspace:*",
"ajv-dist": "catalog:",
"compromise": "catalog:",
"del-cli": "catalog:",
"ink": "catalog:",
"ink-text-input": "catalog:",
"onnxruntime-web": "catalog:",
"react": "catalog:",
"tar-stream": "catalog:",
"yoga-layout": "catalog:"
},
"engines": {
"node": ">=18",
"pnpm": ">=10.16.0"
},
"externalTools": {
"python": "3.10.18",
"pythonBuildTag": "20250918",
"socketcli": "^2.2.15"
},
"files": [
"CHANGELOG.md",
"LICENSE",
"data/**",
"dist/**",
"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": "catalog:",
"@octokit/request-error": "catalog:",
"aggregate-error": "catalog:",
"ansi-regex": "catalog:",
"brace-expansion": "catalog:",
"emoji-regex": "catalog:",
"es-define-property": "catalog:",
"es-set-tostringtag": "catalog:",
"function-bind": "catalog:",
"globalthis": "catalog:",
"gopd": "catalog:",
"graceful-fs": "catalog:",
"has-property-descriptors": "catalog:",
"has-proto": "catalog:",
"has-symbols": "catalog:",
"has-tostringtag": "catalog:",
"hasown": "catalog:",
"https-proxy-agent": "catalog:",
"indent-string": "catalog:",
"is-core-module": "catalog:",
"isarray": "catalog:",
"lodash": "catalog:",
"npm-package-arg": "catalog:",
"packageurl-js": "catalog:",
"path-parse": "catalog:",
"safe-buffer": "catalog:",
"safer-buffer": "catalog:",
"semver": "catalog:",
"set-function-length": "catalog:",
"shell-quote": "catalog:",
"side-channel": "catalog:",
"string_decoder": "catalog:",
"string-width": "catalog:",
"tiny-colors": "catalog:",
"typedarray": "catalog:",
"undici": "catalog:",
"vite": "catalog:",
"xml2js": "catalog:",
"yaml": "catalog:",
"yargs-parser": "catalog:"
},
"patchedDependencies": {
"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"
}
}
}