|
1 | 1 | { |
2 | 2 | "name": "@npmcli/run-script", |
3 | | - "version": "2.0.0", |
| 3 | + "version": "3.0.0", |
4 | 4 | "description": "Run a lifecycle script for a package (descendant of npm-lifecycle)", |
5 | | - "author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)", |
| 5 | + "author": "GitHub Inc.", |
6 | 6 | "license": "ISC", |
7 | 7 | "scripts": { |
8 | 8 | "test": "tap", |
9 | 9 | "preversion": "npm test", |
10 | 10 | "postversion": "npm publish", |
11 | 11 | "prepublishOnly": "git push origin --follow-tags", |
12 | 12 | "eslint": "eslint", |
13 | | - "lint": "npm run eslint -- \"lib/**/*.js\"", |
14 | | - "lintfix": "npm run lint -- --fix" |
| 13 | + "lint": "eslint '**/*.js'", |
| 14 | + "lintfix": "npm run lint -- --fix", |
| 15 | + "postlint": "npm-template-check", |
| 16 | + "template-copy": "npm-template-copy --force", |
| 17 | + "snap": "tap", |
| 18 | + "posttest": "npm run lint" |
15 | 19 | }, |
16 | 20 | "tap": { |
17 | 21 | "check-coverage": true, |
18 | 22 | "coverage-map": "map.js" |
19 | 23 | }, |
20 | 24 | "devDependencies": { |
21 | | - "eslint": "^7.19.0", |
22 | | - "eslint-plugin-import": "^2.22.1", |
23 | | - "eslint-plugin-node": "^11.1.0", |
24 | | - "eslint-plugin-promise": "^4.2.1", |
25 | | - "eslint-plugin-standard": "^5.0.0", |
26 | | - "minipass": "^3.1.1", |
| 25 | + "@npmcli/template-oss": "^2.7.1", |
| 26 | + "minipass": "^3.1.6", |
27 | 27 | "require-inject": "^1.4.4", |
28 | 28 | "tap": "^15.0.4" |
29 | 29 | }, |
30 | 30 | "dependencies": { |
31 | | - "@npmcli/node-gyp": "^1.0.2", |
| 31 | + "@npmcli/node-gyp": "^1.0.3", |
32 | 32 | "@npmcli/promise-spawn": "^1.3.2", |
33 | | - "node-gyp": "^8.2.0", |
34 | | - "read-package-json-fast": "^2.0.1" |
| 33 | + "node-gyp": "^8.4.1", |
| 34 | + "read-package-json-fast": "^2.0.3" |
35 | 35 | }, |
36 | 36 | "files": [ |
37 | | - "lib/**/*.js", |
38 | | - "lib/node-gyp-bin" |
| 37 | + "bin", |
| 38 | + "lib" |
39 | 39 | ], |
40 | 40 | "main": "lib/run-script.js", |
41 | 41 | "repository": { |
42 | 42 | "type": "git", |
43 | 43 | "url": "git+https://github.com/npm/run-script.git" |
| 44 | + }, |
| 45 | + "engines": { |
| 46 | + "node": "^12.13.0 || ^14.15.0 || >=16" |
| 47 | + }, |
| 48 | + "templateOSS": { |
| 49 | + "version": "2.7.1" |
44 | 50 | } |
45 | 51 | } |
0 commit comments