0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00

Use portable sub-directory install npm command

This commit is contained in:
Thibaud Colas 2017-06-07 15:56:51 +03:00
parent d2a62f7277
commit f75fa0a880

View File

@ -63,7 +63,7 @@
"whatwg-fetch": "^2.0.2"
},
"scripts": {
"postinstall": "cd ./client; npm install; cd ..",
"postinstall": "npm --prefix client install",
"build": "gulp build; webpack --config ./client/webpack/prod.config.js",
"watch": "webpack --config ./client/webpack/dev.config.js & gulp watch",
"start": "npm run watch",