alphabetize npm scripts, clean lib on build

This commit is contained in:
2016-05-03 16:12:50 -07:00
parent 2ef90d88cf
commit 9b31859eed

View File

@@ -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",