add clean command [skip ci] (#201)

This commit is contained in:
Henry Zhu 2016-10-26 10:56:27 -04:00 committed by GitHub
parent beb8db6264
commit 2ba3dcf4ff

View File

@ -29,6 +29,7 @@
"flow-bin": "^0.33.0",
"lodash": "^4.15.0",
"nyc": "^8.1.0",
"rimraf": "^2.5.4",
"rollup": "^0.36.3",
"rollup-plugin-babel": "^2.6.1",
"rollup-plugin-node-resolve": "^2.0.0",
@ -41,8 +42,9 @@
"build": "rollup -c",
"coverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json",
"lint": "eslint src bin",
"clean": "rimraf lib",
"flow": "flow",
"prepublish": "cross-env BABEL_ENV=production npm run build",
"prepublish": "npm run clean && cross-env BABEL_ENV=production npm run build",
"preversion": "npm run test && npm run changelog",
"test": "npm run lint && npm run flow && npm run build && npm run test-only",
"test-only": "ava test",