Merge pull request #923 from sveltejs/install-from-git

use prepare npm script to support installing from git
pull/933/head
Rich Harris 8 years ago committed by GitHub
commit 75b1b055c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save