Skip to content

Commit 56956e7

Browse files
committed
Update npm test target
1 parent 1245f7a commit 56956e7

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

package.json

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,15 @@
4242
"retext": "^1.0.0"
4343
},
4444
"scripts": {
45-
"test-api": "mocha --check-leaks test.js",
46-
"test-coveralls": "istanbul cover _mocha --report lcovonly -- --check-leaks test.js",
47-
"test-coverage": "istanbul cover _mocha -- --check-leaks test.js",
48-
"test-travis": "npm run test-coveralls",
49-
"test": "npm run test-api",
45+
"build-md": "remark . --quiet --frail",
46+
"build-bundle": "browserify index.js --bare -s unistUtilInspect > unist-util-inspect.js",
47+
"build-mangle": "esmangle unist-util-inspect.js > unist-util-inspect.min.js",
48+
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
5049
"lint-api": "eslint .",
5150
"lint-style": "jscs --reporter inline .",
5251
"lint": "npm run lint-api && npm run lint-style",
53-
"make": "npm run lint && npm run test-coverage",
54-
"build-md": "remark . --quiet --frail",
55-
"build-bundle": "browserify index.js --bare -s unistUtilInspect > unist-util-inspect.js",
56-
"postbuild-bundle": "esmangle unist-util-inspect.js > unist-util-inspect.min.js",
57-
"build": "npm run build-md && npm run build-bundle"
52+
"test-api": "mocha --check-leaks test.js",
53+
"test-coverage": "istanbul cover _mocha -- --check-leaks test.js",
54+
"test": "npm run build && npm run lint && npm run test-coverage"
5855
}
5956
}

0 commit comments

Comments
 (0)