Browse Source

Improved filename of postinstall script

master
Leo Lamprecht 8 years ago
parent
commit
23bc156a07
  1. 0
      download/install.js
  2. 4
      package.json

0
download/postinstall.js → download/install.js

4
package.json

@ -5,7 +5,7 @@
"repository": "zeit/now-cli", "repository": "zeit/now-cli",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"postinstall": "node download/postinstall.js", "postinstall": "node download/install.js",
"precommit": "xo --quiet && lint-staged", "precommit": "xo --quiet && lint-staged",
"prepublish": "in-install || (npm run webpack && cp /dev/null download/dist/now)", "prepublish": "in-install || (npm run webpack && cp /dev/null download/dist/now)",
"lint": "xo --quiet", "lint": "xo --quiet",
@ -30,7 +30,7 @@
}, },
"files": [ "files": [
"download/dist", "download/dist",
"download/postinstall.js" "download/install.js"
], ],
"ava": { "ava": {
"failFast": true, "failFast": true,

Loading…
Cancel
Save