Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-07-12 14:19:30 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-07-12 17:36:31 +0300
commit3d392853ddf9e0a444fe277076172d6082b80277 (patch)
tree709b560aeaeb35ffa9869b7b13aac044d35a6c2d /package.json
parentc8000ed2bbdd2c0f48dd16929b93995039c8032d (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.json3
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",