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:
Mike Jolley 2019-06-19 11:17:24 +01:00
parent ed68104077
commit 3776599fcd
1 changed files with 1 additions and 0 deletions

View File

@ -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",