소스 검색

build: run webpack on postinstall

The net effect is the same, with the bonus that it avoids problems when running
yarn.
dev1
Saúl Ibarra Corretgé 8 년 전
부모
커밋
b7eaa05ead
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      package.json

+ 1
- 1
package.json 파일 보기

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

Loading…
취소
저장