use prepare npm script to support installing from git

pull/7738/head
Conduitry 9 years ago
parent 47ab1268e8
commit 88f134437f

@ -18,6 +18,7 @@
"precodecov": "npm run coverage",
"lint": "eslint src test/*.js",
"build": "node src/shared/_build.js && rollup -c",
"prepare": "npm run build",
"dev": "node src/shared/_build.js && rollup -c -w",
"pretest": "npm run build",
"prepublishOnly": "npm run lint && npm test",

Loading…
Cancel
Save