diff --git a/package.json b/package.json index 96f91419eb..0e70cd85b4 100644 --- a/package.json +++ b/package.json @@ -34,12 +34,13 @@ "babylon": "./bin/babylon.js" }, "scripts": { + "build": "babel src --out-dir lib", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", + "lint": "kcheck", + "prepublish": "cross-env BABEL_ENV=production npm run build", + "preversion": "npm run test", "test": "npm run build && npm run lint && ava test/", "test_cov": "cross-env BABEL_ENV=test npm run build && npm run lint && nyc ava test/", - "lint": "kcheck", - "build": "babel src --out-dir lib", - "preversion": "npm run test", "watch": "babel src --out-dir lib --watch" } }