alphabetize npm scripts, clean lib on build
This commit is contained in:
@@ -4,11 +4,11 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "npm run build && npm run unit",
|
"build": "rm -rf lib && babel src --out-dir lib",
|
||||||
"unit": "nyc --require babel-core/register mocha test/src/**",
|
|
||||||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
||||||
"build": "babel src --out-dir lib",
|
"prepublish": "in-publish && npm run test || not-in-publish",
|
||||||
"prepublish": "in-publish && npm run test || not-in-publish"
|
"test": "npm run build && npm run unit",
|
||||||
|
"unit": "nyc --require babel-core/register mocha test/src/**"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user