|
1 | 1 | { |
2 | 2 | "name": "@npmcli/disparity-colors", |
3 | | - "version": "1.0.1", |
| 3 | + "version": "2.0.0", |
| 4 | + "main": "lib/index.js", |
4 | 5 | "files": [ |
5 | | - "index.js" |
| 6 | + "bin/", |
| 7 | + "lib/" |
6 | 8 | ], |
7 | 9 | "engines": { |
8 | | - "node": ">=10" |
| 10 | + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" |
9 | 11 | }, |
10 | 12 | "description": "Colorizes unified diff output", |
11 | | - "repository": "https://github.com/npm/disparity-colors", |
| 13 | + "repository": { |
| 14 | + "type": "git", |
| 15 | + "url": "https://github.com/npm/disparity-colors.git" |
| 16 | + }, |
12 | 17 | "keywords": [ |
13 | 18 | "disparity", |
14 | 19 | "npm", |
|
24 | 29 | "cli", |
25 | 30 | "tty" |
26 | 31 | ], |
27 | | - "author": "npm Inc. <support@npmjs.com>", |
| 32 | + "author": "GitHub Inc.", |
28 | 33 | "contributors": [ |
29 | 34 | { |
30 | 35 | "name": "Ruy Adorno", |
|
34 | 39 | ], |
35 | 40 | "license": "ISC", |
36 | 41 | "scripts": { |
37 | | - "lint": "standard index.js", |
| 42 | + "lint": "eslint \"**/*.js\"", |
38 | 43 | "pretest": "npm run lint", |
39 | 44 | "test": "tap", |
40 | 45 | "snap": "tap", |
41 | 46 | "preversion": "npm test", |
42 | 47 | "postversion": "npm publish", |
43 | | - "prepublishOnly": "git push origin --follow-tags" |
| 48 | + "prepublishOnly": "git push origin --follow-tags", |
| 49 | + "postlint": "template-oss-check", |
| 50 | + "template-oss-apply": "template-oss-apply --force", |
| 51 | + "lintfix": "npm run lint -- --fix", |
| 52 | + "posttest": "npm run lint" |
44 | 53 | }, |
45 | 54 | "tap": { |
46 | 55 | "check-coverage": true |
47 | 56 | }, |
48 | | - "standard": { |
49 | | - "ignore": [ |
50 | | - "/tap-snapshots/" |
51 | | - ] |
52 | | - }, |
53 | 57 | "devDependencies": { |
54 | | - "standard": "^16.0.3", |
55 | | - "tap": "^14.11.0" |
| 58 | + "@npmcli/eslint-config": "^3.0.1", |
| 59 | + "@npmcli/template-oss": "3.2.2", |
| 60 | + "tap": "^16.0.1" |
56 | 61 | }, |
57 | 62 | "dependencies": { |
58 | 63 | "ansi-styles": "^4.3.0" |
| 64 | + }, |
| 65 | + "templateOSS": { |
| 66 | + "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", |
| 67 | + "version": "3.2.2" |
59 | 68 | } |
60 | 69 | } |
0 commit comments