소스 검색

Optim: add bower installation in npm postinstall hook

Febbweiss 9 년 전
부모
커밋
c46d249018
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -32,6 +32,7 @@
     "sinon": "~1.15.4"
   },
   "scripts": {
+    "postinstall": "bower cache clean && bower install",
     "test-local": "karma start karma.conf.js --browsers PhantomJS",
     "test": "./node_modules/karma/bin/karma start karma.conf.js --browsers PhantomJS",
     "start": "node server.js",