|
1 | 1 | { |
2 | 2 | "name": "treeverse", |
3 | | - "version": "1.0.4", |
| 3 | + "version": "2.0.0", |
4 | 4 | "description": "Walk any kind of tree structure depth- or breadth-first. Supports promises and advanced map-reduce operations with a very small API.", |
5 | | - "author": "Isaac Z. Schlueter <[email protected]> (https://izs.me)", |
| 5 | + "author": "GitHub Inc.", |
6 | 6 | "license": "ISC", |
7 | 7 | "repository": { |
8 | 8 | "type": "git", |
9 | | - "url": "git+https://github.com/npm/treeverse.git" |
| 9 | + "url": "https://github.com/npm/treeverse.git" |
10 | 10 | }, |
11 | 11 | "scripts": { |
12 | 12 | "test": "tap", |
13 | 13 | "snap": "tap", |
14 | 14 | "preversion": "npm test", |
15 | 15 | "postversion": "npm publish", |
16 | | - "postpublish": "git push origin --follow-tags" |
| 16 | + "postpublish": "git push origin --follow-tags", |
| 17 | + "lint": "eslint \"**/*.js\"", |
| 18 | + "postlint": "template-oss-check", |
| 19 | + "template-oss-apply": "template-oss-apply --force", |
| 20 | + "lintfix": "npm run lint -- --fix", |
| 21 | + "prepublishOnly": "git push origin --follow-tags", |
| 22 | + "posttest": "npm run lint" |
17 | 23 | }, |
18 | 24 | "tap": { |
19 | 25 | "100": true, |
20 | | - "coverage-map": "map.js" |
| 26 | + "coverage-map": "test/coverage-map.js" |
21 | 27 | }, |
22 | 28 | "devDependencies": { |
23 | | - "tap": "^14.10.6", |
24 | | - "tcompare": "^2.3.0" |
| 29 | + "@npmcli/eslint-config": "^3.0.1", |
| 30 | + "@npmcli/template-oss": "3.2.2", |
| 31 | + "tap": "^16.0.1" |
25 | 32 | }, |
26 | 33 | "files": [ |
27 | | - "index.js", |
| 34 | + "bin/", |
28 | 35 | "lib/" |
29 | 36 | ], |
30 | | - "main": "index.js", |
| 37 | + "main": "lib/index.js", |
31 | 38 | "keywords": [ |
32 | 39 | "tree", |
33 | 40 | "traversal", |
34 | 41 | "depth first search", |
35 | 42 | "breadth first search" |
36 | | - ] |
| 43 | + ], |
| 44 | + "engines": { |
| 45 | + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" |
| 46 | + }, |
| 47 | + "templateOSS": { |
| 48 | + "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", |
| 49 | + "version": "3.2.2" |
| 50 | + } |
37 | 51 | } |
0 commit comments