diff --git a/appveyor.yml b/appveyor.yml index 09a37719..c10a092b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,15 +4,11 @@ platform: - x64 environment: - nodejs_version: "8" + nodejs_version: "7" cache: - '%USERPROFILE%\.electron' -branches: - only: - - master - skip_tags: true version: "{build}" diff --git a/package.json b/package.json index 380a5ed5..5707d1c4 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ } }, "scripts": { - "build": "webpack --config app/webpack.config.js && webpack --config terminus-core/webpack.config.js && webpack --config terminus-settings/webpack.config.js && webpack --config terminus-terminal/webpack.config.js && webpack --config terminus-settings/webpack.config.js && webpack --config terminus-plugin-manager/webpack.config.js && webpack --config terminus-community-color-schemes/webpack.config.js", + "build": "webpack --color --config app/webpack.config.js && webpack --color --config terminus-core/webpack.config.js && webpack --color --config terminus-settings/webpack.config.js && webpack --color --config terminus-terminal/webpack.config.js && webpack --color --config terminus-settings/webpack.config.js && webpack --color --config terminus-plugin-manager/webpack.config.js && webpack --color --config terminus-community-color-schemes/webpack.config.js", "watch": "webpack --progress --color --watch", "start": "cross-env DEV=1 electron --js-flags='--ignition' app --debug", "lint": "tslint -c tslint.json -t stylish terminus-*/src/**/*.ts terminus-*/src/*.ts app/src/*.ts", diff --git a/scripts/install-deps.js b/scripts/install-deps.js index 2913b73c..8291250b 100755 --- a/scripts/install-deps.js +++ b/scripts/install-deps.js @@ -6,10 +6,12 @@ const log = require('npmlog') log.info('deps', 'app') sh.exec('npm prune') +sh.exec('npm install') sh.exec('npm update --dev') sh.cd('app') sh.exec('npm prune') +sh.exec('npm install') sh.exec('npm update --dev') sh.cd('..') @@ -17,6 +19,7 @@ vars.builtinPlugins.forEach(plugin => { log.info('deps', plugin) sh.cd(plugin) sh.exec('npm prune') + sh.exec('npm install') sh.exec('npm update --dev') sh.cd('..') })