|
9 | 9 | "unist",
|
10 | 10 | "inspect"
|
11 | 11 | ],
|
12 |
| - "dependencies": { |
13 |
| - "is-empty": "1.0.0" |
14 |
| - }, |
15 |
| - "files": [ |
16 |
| - "index.js" |
17 |
| - ], |
18 |
| - "repository": { |
19 |
| - "type": "git", |
20 |
| - "url": "https://github.com/wooorm/unist-util-inspect.git" |
21 |
| - }, |
| 12 | + "repository": "https://github.com/wooorm/unist-util-inspect", |
22 | 13 | "bugs": "https://github.com/wooorm/unist-util-inspect/issues",
|
23 | 14 | "author": "Titus Wormer <[email protected]> (http://wooorm.com)",
|
24 | 15 | "contributors": [
|
25 | 16 | "Titus Wormer <[email protected]> (http://wooorm.com)"
|
26 | 17 | ],
|
| 18 | + "files": [ |
| 19 | + "index.js" |
| 20 | + ], |
| 21 | + "dependencies": { |
| 22 | + "is-empty": "1.0.0" |
| 23 | + }, |
27 | 24 | "devDependencies": {
|
28 | 25 | "browserify": "^13.0.0",
|
29 | 26 | "chalk": "^1.0.0",
|
30 | 27 | "esmangle": "^1.0.1",
|
31 |
| - "istanbul": "^0.4.0", |
32 |
| - "remark": "^4.0.0", |
33 |
| - "remark-comment-config": "^3.0.0", |
34 |
| - "remark-github": "^4.0.1", |
35 |
| - "remark-lint": "^3.0.0", |
36 |
| - "remark-slug": "^4.0.0", |
37 |
| - "remark-validate-links": "^3.0.0", |
38 |
| - "retext": "^2.0.0", |
| 28 | + "nyc": "^9.0.1", |
| 29 | + "remark-cli": "^2.0.0", |
| 30 | + "remark-preset-wooorm": "^1.0.0", |
| 31 | + "retext": "^4.0.0", |
39 | 32 | "tape": "^4.4.0",
|
40 | 33 | "xo": "^0.17.1"
|
41 | 34 | },
|
42 | 35 | "scripts": {
|
43 |
| - "build-md": "remark . --quiet --frail", |
| 36 | + "build-md": "remark . --quiet --frail --output", |
44 | 37 | "build-bundle": "browserify index.js --bare -s unistUtilInspect > unist-util-inspect.js",
|
45 | 38 | "build-mangle": "esmangle unist-util-inspect.js > unist-util-inspect.min.js",
|
46 | 39 | "build": "npm run build-md && npm run build-bundle && npm run build-mangle",
|
47 | 40 | "lint": "xo",
|
48 |
| - "test-api": "node test.js", |
49 |
| - "test-coverage": "istanbul cover test.js", |
| 41 | + "test-api": "node test", |
| 42 | + "test-coverage": "nyc --reporter lcov tape test.js", |
50 | 43 | "test": "npm run build && npm run lint && npm run test-coverage"
|
51 | 44 | },
|
52 | 45 | "xo": {
|
|
58 | 51 | "ignore": [
|
59 | 52 | "unist-util-inspect.js"
|
60 | 53 | ]
|
| 54 | + }, |
| 55 | + "nyc": { |
| 56 | + "check-coverage": true, |
| 57 | + "lines": 100, |
| 58 | + "functions": 100, |
| 59 | + "branches": 100 |
| 60 | + }, |
| 61 | + "remarkConfig": { |
| 62 | + "presets": "wooorm" |
61 | 63 | }
|
62 | 64 | }
|
0 commit comments