-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
185 lines (185 loc) · 6.97 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
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
176
177
178
179
180
181
182
183
184
185
{
"name": "socket",
"version": "0.14.27",
"description": "CLI tool for Socket.dev",
"homepage": "http://github.com/SocketDev/socket-cli",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/SocketDev/socket-cli.git"
},
"author": {
"name": "Socket Inc",
"email": "[email protected]",
"url": "https://socket.dev"
},
"bin": {
"socket": "dist/cli.js",
"socket-npm": "dist/npm-cli.js",
"socket-npx": "dist/npx-cli.js"
},
"scripts": {
"build": "run-s build:*",
"build:dist": "rollup -c .config/rollup.dist.config.mjs",
"build:test": "rollup -c .config/rollup.test.config.mjs",
"check": "run-p -c --aggregate-output check:*",
"check:lint": "eslint --report-unused-disable-directives .",
"check:tsc": "tsc",
"check:type-coverage": "type-coverage --detail --strict --at-least 95 --ignore-files 'test/*'",
"knip:dependencies": "knip --dependencies",
"knip:exports": "knip --include exports,duplicates",
"lint": "oxlint -c=./.oxlintrc.json --ignore-path=./.prettierignore --tsconfig=./tsconfig.json .",
"lint:fix": "npm run lint -- --fix && npm run lint:fix:fast",
"lint:fix:fast": "prettier --cache --log-level warn --write .",
"prepare": "husky",
"test": "run-s check build:* test:*",
"test:c8": "c8 --reporter=none node --test 'test/socket-npm.test.cjs'",
"test-ci": "run-s build:* test:*",
"test:unit": "tap",
"test:coverage": "cp -r .tap/coverage/*.json coverage/tmp && c8 --reporter=lcov --reporter=text --include 'dist/*.js' --exclude 'dist/vendor.js' report"
},
"dependencies": {
"@apideck/better-ajv-errors": "^0.3.6",
"@cyclonedx/cdxgen": "^10.11.0",
"@inquirer/prompts": "^7.1.0",
"@npmcli/promise-spawn": "^8.0.2",
"@socketregistry/hyrious__bun.lockb": "1.0.5",
"@socketregistry/yocto-spinner": "^1.0.1",
"@socketsecurity/config": "^2.1.3",
"@socketsecurity/registry": "^1.0.31",
"@socketsecurity/sdk": "^1.3.0",
"blessed": "^0.1.81",
"blessed-contrib": "^4.11.0",
"browserslist": "4.24.2",
"chalk-table": "^1.0.2",
"has-flag": "^4.0.0",
"hpagent": "^1.2.0",
"ignore": "^6.0.2",
"micromatch": "^4.0.8",
"npm-package-arg": "^12.0.0",
"pony-cause": "^2.1.11",
"semver": "^7.6.3",
"synp": "^1.9.13",
"tinyglobby": "^0.2.10",
"which": "^5.0.0",
"yaml": "^2.6.0",
"yargs-parser": "^21.1.1",
"yoctocolors-cjs": "^2.1.2"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-export-default-from": "^7.25.9",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-export-namespace-from": "^7.25.9",
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@eslint/compat": "^1.2.2",
"@eslint/js": "^9.14.0",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/pluginutils": "^5.1.3",
"@types/blessed": "^0.1.25",
"@types/micromatch": "^4.0.9",
"@types/mocha": "^10.0.9",
"@types/mock-fs": "^4.13.4",
"@types/node": "^22.9.0",
"@types/npmcli__arborist": "^5.6.11",
"@types/npmcli__promise-spawn": "^6.0.3",
"@types/proc-log": "^3.0.4",
"@types/semver": "^7.5.8",
"@types/update-notifier": "^6.0.8",
"@types/which": "^3.0.4",
"@types/yargs-parser": "^21.0.3",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"c8": "^10.1.2",
"eslint": "^9.14.0",
"eslint-import-resolver-oxc": "^0.4.0",
"eslint-plugin-depend": "^0.12.0",
"eslint-plugin-import-x": "^4.4.2",
"eslint-plugin-n": "^17.13.1",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"eslint-plugin-unicorn": "^56.0.0",
"husky": "^9.1.6",
"is-interactive": "^2.0.0",
"is-unicode-supported": "^2.1.0",
"knip": "^5.37.0",
"magic-string": "^0.30.12",
"meow": "^13.2.0",
"mock-fs": "^5.4.1",
"nock": "^13.5.6",
"npm-run-all2": "^7.0.1",
"open": "^10.1.0",
"oxlint": "0.11.1",
"prettier": "3.3.3",
"read-package-up": "^11.0.0",
"rollup": "4.26.0",
"rollup-plugin-ts": "^3.4.5",
"tap": "^21.0.1",
"terminal-link": "^3.0.0",
"tiny-updater": "^3.5.2",
"type-coverage": "^2.29.7",
"typescript": "5.4.5",
"typescript-eslint": "^8.14.0",
"unplugin-purge-polyfills": "^0.0.7"
},
"overrides": {
"aggregate-error": "npm:@socketregistry/aggregate-error@^1",
"es-define-property": "npm:@socketregistry/es-define-property@^1",
"function-bind": "npm:@socketregistry/function-bind@^1",
"globalthis": "npm:@socketregistry/globalthis@^1",
"gopd": "npm:@socketregistry/gopd@^1",
"has-property-descriptors": "npm:@socketregistry/has-property-descriptors@^1",
"has-proto": "npm:@socketregistry/has-proto@^1",
"has-symbols": "npm:@socketregistry/has-symbols@^1",
"hasown": "npm:@socketregistry/hasown@^1",
"indent-string": "npm:@socketregistry/indent-string@^1",
"is-core-module": "npm:@socketregistry/is-core-module@^1",
"isarray": "npm:@socketregistry/isarray@^1",
"npm-package-arg": "$npm-package-arg",
"packageurl-js": "npm:@socketregistry/packageurl-js@^1",
"path-parse": "npm:@socketregistry/path-parse@^1",
"safe-buffer": "npm:@socketregistry/safe-buffer@^1",
"safer-buffer": "npm:@socketregistry/safer-buffer@^1",
"semver": "$semver",
"set-function-length": "npm:@socketregistry/set-function-length@^1",
"side-channel": "npm:@socketregistry/side-channel@^1",
"yaml": "$yaml"
},
"resolutions": {
"aggregate-error": "npm:@socketregistry/aggregate-error@^1",
"es-define-property": "npm:@socketregistry/es-define-property@^1",
"function-bind": "npm:@socketregistry/function-bind@^1",
"globalthis": "npm:@socketregistry/globalthis@^1",
"gopd": "npm:@socketregistry/gopd@^1",
"has-property-descriptors": "npm:@socketregistry/has-property-descriptors@^1",
"has-proto": "npm:@socketregistry/has-proto@^1",
"has-symbols": "npm:@socketregistry/has-symbols@^1",
"hasown": "npm:@socketregistry/hasown@^1",
"indent-string": "npm:@socketregistry/indent-string@^1",
"is-core-module": "npm:@socketregistry/is-core-module@^1",
"isarray": "npm:@socketregistry/isarray@^1",
"npm-package-arg": "^12.0.0",
"packageurl-js": "npm:@socketregistry/packageurl-js@^1",
"path-parse": "npm:@socketregistry/path-parse@^1",
"safe-buffer": "npm:@socketregistry/safe-buffer@^1",
"safer-buffer": "npm:@socketregistry/safer-buffer@^1",
"semver": "^7.6.3",
"set-function-length": "npm:@socketregistry/set-function-length@^1",
"side-channel": "npm:@socketregistry/side-channel@^1",
"yaml": "^2.6.0"
},
"engines": {
"node": "^18.20.4 || ^20.9.0 || >=22.0.0"
},
"files": [
"bin/**",
"dist/**",
"translations.json"
]
}