|
3 | 3 | "version": "0.13.0",
|
4 | 4 | "description": "CLI tool for Socket.dev",
|
5 | 5 | "homepage": "http://github.com/SocketDev/socket-cli-js",
|
6 |
| - "repository": { |
7 |
| - "type": "git", |
8 |
| - "url": "git://github.com/SocketDev/socket-cli-js.git" |
9 |
| - }, |
10 |
| - "keywords": [], |
| 6 | + "license": "MIT", |
| 7 | + "repository": "github:SocketDev/socket-cli-js", |
11 | 8 | "author": {
|
12 | 9 | "name": "Socket Inc",
|
13 | 10 |
|
14 | 11 | "url": "https://socket.dev"
|
15 | 12 | },
|
16 |
| - "license": "MIT", |
17 | 13 | "bin": {
|
18 | 14 | "socket": "dist/cli.js",
|
19 | 15 | "socket-npm": "dist/npm-cli.js",
|
20 | 16 | "socket-npx": "dist/npx-cli.js"
|
21 | 17 | },
|
22 |
| - "files": [ |
23 |
| - "bin/**", |
24 |
| - "dist/**", |
25 |
| - "translations.json" |
26 |
| - ], |
| 18 | + "scripts": { |
| 19 | + "build": "npm run build:dist && npm run build:test", |
| 20 | + "build:dist": "rollup -c .config/rollup.dist.config.mjs", |
| 21 | + "build:test": "rollup -c .config/rollup.test.config.mjs", |
| 22 | + "check": "run-p -c --aggregate-output check:*", |
| 23 | + "check:lint": "eslint --report-unused-disable-directives .", |
| 24 | + "check:tsc": "tsc", |
| 25 | + "check:type-coverage": "type-coverage --detail --strict --at-least 95 --ignore-files \"test/*\"", |
| 26 | + "knip:dependencies": "knip --dependencies", |
| 27 | + "knip:exports": "knip --include exports,duplicates --reporter compact", |
| 28 | + "lint": "oxlint -c=./.oxlintrc.json --tsconfig=./tsconfig.json . -D correctness -D perf -D suspicious --promise-plugin --import-plugin", |
| 29 | + "lint:fix": "npm run lint -- --fix && npm run lint:fix:fast", |
| 30 | + "lint:fix:fast": "prettier --cache --log-level warn --write .", |
| 31 | + "prepare": "husky", |
| 32 | + "test": "run-s check build:* test:*", |
| 33 | + "test:c8": "c8 --reporter=none node --test \"test/socket-npm.test.cjs\"", |
| 34 | + "test-ci": "run-s build:* test:*", |
| 35 | + "test:unit": "tap", |
| 36 | + "test:coverage": "cp -r .tap/coverage/*.json coverage/tmp && c8 --reporter=lcov --reporter=text --include \"dist/*.js\" --exclude \"dist/vendor.js\" report" |
| 37 | + }, |
27 | 38 | "dependencies": {
|
28 | 39 | "@apideck/better-ajv-errors": "^0.3.6",
|
29 | 40 | "@cyclonedx/cdxgen": "^10.9.8",
|
|
148 | 159 | "engines": {
|
149 | 160 | "node": "^20.9.0 || >=22.0.0"
|
150 | 161 | },
|
151 |
| - "scripts": { |
152 |
| - "build": "npm run build:dist && npm run build:test", |
153 |
| - "build:dist": "rollup -c .config/rollup.dist.config.mjs", |
154 |
| - "build:test": "rollup -c .config/rollup.test.config.mjs", |
155 |
| - "check": "run-p -c --aggregate-output check:*", |
156 |
| - "check:lint": "eslint --report-unused-disable-directives .", |
157 |
| - "check:tsc": "tsc", |
158 |
| - "check:type-coverage": "type-coverage --detail --strict --at-least 95 --ignore-files \"test/*\"", |
159 |
| - "knip:dependencies": "knip --dependencies", |
160 |
| - "knip:exports": "knip --include exports,duplicates --reporter compact", |
161 |
| - "lint": "oxlint -c=./.oxlintrc.json --tsconfig=./tsconfig.json . -D correctness -D perf -D suspicious --promise-plugin --import-plugin", |
162 |
| - "lint:fix": "npm run lint -- --fix && npm run lint:fix:fast", |
163 |
| - "lint:fix:fast": "prettier --cache --log-level warn --write .", |
164 |
| - "prepare": "husky", |
165 |
| - "test": "run-s check build:* test:*", |
166 |
| - "test:c8": "c8 --reporter=none node --test \"test/socket-npm.test.cjs\"", |
167 |
| - "test-ci": "run-s build:* test:*", |
168 |
| - "test:unit": "tap", |
169 |
| - "test:coverage": "cp -r .tap/coverage/*.json coverage/tmp && c8 --reporter=lcov --reporter=text --include \"dist/*.js\" --exclude \"dist/vendor.js\" report" |
170 |
| - } |
| 162 | + "files": [ |
| 163 | + "bin/**", |
| 164 | + "dist/**", |
| 165 | + "translations.json" |
| 166 | + ] |
171 | 167 | }
|
0 commit comments