diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-07-12 14:19:30 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-07-12 17:36:31 +0300 |
commit | 3d392853ddf9e0a444fe277076172d6082b80277 (patch) | |
tree | 709b560aeaeb35ffa9869b7b13aac044d35a6c2d /package.json | |
parent | c8000ed2bbdd2c0f48dd16929b93995039c8032d (diff) |
Make build system compatible with /compile bot
The /compile bot first installs the NPM packages with "npm init" and
then performs the build with "npm run build", which executes the command
defined in "scripts->build" in "package.json".
Currently "npm init" does not install all the NPM packages needed by
Talk; it is necessary to run it both in the root folder and in the
"/vue" folder. Due to this "make npm-init" needs to be run from the
build script to install all the needed packages before performing the
actual build.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json index 0dc108c4f..99751f87a 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,9 @@ }, "author": "", "license": "AGPL-3.0", + "scripts": { + "build": "make npm-init build-js-production bundle-simplewebrtc" + }, "devDependencies": { "@babel/core": "^7.5.0", "@babel/preset-env": "^7.5.0", |