Переглянути джерело

Install before publish as this bit us twice now

Kevin van Zonneveld 9 роки тому
батько
коміт
6c135dda6b
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -44,7 +44,7 @@
     "web:preview": "cd website && parallelshell 'node build-examples.js watch' './node_modules/.bin/hexo server'",
     "web:preview": "cd website && parallelshell 'node build-examples.js watch' './node_modules/.bin/hexo server'",
     "web:update:frontpage:code:sample": "cd website && ./node_modules/.bin/hexo generate && cp -f public/frontpage-code-sample.html ./themes/uppy/layout/partials/frontpage-code-sample.html",
     "web:update:frontpage:code:sample": "cd website && ./node_modules/.bin/hexo generate && cp -f public/frontpage-code-sample.html ./themes/uppy/layout/partials/frontpage-code-sample.html",
     "web": "npm-run-all web:clean web:build",
     "web": "npm-run-all web:clean web:build",
-    "prepublish": "npm-run-all clean build"
+    "prepublish": "npm install && npm-run-all clean build"
   },
   },
   "repository": {
   "repository": {
     "type": "git",
     "type": "git",