Add prebuild step to NPM packages.json to install composer.
Just a helper; if you run npm build it will ensure NPM and composer are both installed.
This commit is contained in:
parent
ed68104077
commit
3776599fcd
|
@ -10,6 +10,7 @@
|
|||
"license": "GPL-3.0+",
|
||||
"main": "Gruntfile.js",
|
||||
"scripts": {
|
||||
"prebuild": "npm install && composer install --no-dev",
|
||||
"build": "grunt",
|
||||
"build-watch": "grunt watch",
|
||||
"lint:js": "eslint assets/js --ext=js",
|
||||
|
|
Loading…
Reference in New Issue