Bläddra i källkod

build: run webpack on postinstall

The net effect is the same, with the bonus that it avoids problems when running
yarn.
tags/v0.0.2
Saúl Ibarra Corretgé 8 år sedan
förälder
incheckning
b7eaa05ead
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      package.json

+ 1
- 1
package.json Visa fil

49
     "webpack": "1.14.0"
49
     "webpack": "1.14.0"
50
   },
50
   },
51
   "scripts": {
51
   "scripts": {
52
-    "install": "webpack -p",
53
     "lint": "jshint . && eslint . && flow",
52
     "lint": "jshint . && eslint . && flow",
53
+    "postinstall": "webpack -p",
54
     "test": "karma start karma.conf.js",
54
     "test": "karma start karma.conf.js",
55
     "validate": "npm ls"
55
     "validate": "npm ls"
56
   },
56
   },

Laddar…
Avbryt
Spara