diff --git a/package.json b/package.json index ab05c06..576987d 100644 --- a/package.json +++ b/package.json @@ -8,18 +8,14 @@ "scripts": { "build": "gulp compile", "dev": "gulp watch", - "test-and-compile": "npm run build && npm test", - "update-changelog": "changelog -m https://github.com/ryardley/indexr.git | cat - CHANGELOG.md > temp && mv temp CHANGELOG.md", - "publish-patch": "npm run test-and-compile && npm version patch && git push --tags && npm publish", - "publish-minor": "npm run test-and-compile && npm version minor && git push --tags && npm publish", - "publish-major": "npm run test-and-compile && npm version major && git push --tags && npm publish", "docs": "doctoc README.md --title '##Contents'", - "test": "npm run build && npm run test-once", + "pretest-watch": "gulp compile", "report-coverage": "npm run build && nyc --require babel-core/register npm run test-once && nyc report --reporter=lcov > coverage.lcov && codecov", + "semantic-release": "semantic-release pre && npm publish && semantic-release post", + "test": "npm run build && npm run test-once", + "test-and-compile": "npm run build && npm test", "test-once": "mocha --compilers js:babel-register test --ignore **/fixtures --require babel-polyfill", - "pretest-watch": "gulp compile", - "test-watch": "mocha --watch --compilers js:babel-register test --ignore **/fixtures --require babel-polyfill", - "semantic-release": "semantic-release pre && npm publish && semantic-release post" + "test-watch": "mocha --watch --compilers js:babel-register test --ignore **/fixtures --require babel-polyfill" }, "repository": { "type": "git",