From fc76359be11956f8514fc0dda1f66bb1c3397d26 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 3 Jun 2016 22:34:39 +0200 Subject: Adapt npm scripts --- scripts/build/client/dev.sh | 5 +++++ scripts/build/client/sass.sh | 9 --------- scripts/build/client/tsc.sh | 5 ----- 3 files changed, 5 insertions(+), 14 deletions(-) create mode 100755 scripts/build/client/dev.sh delete mode 100755 scripts/build/client/sass.sh delete mode 100755 scripts/build/client/tsc.sh (limited to 'scripts/build') diff --git a/scripts/build/client/dev.sh b/scripts/build/client/dev.sh new file mode 100755 index 000000000..b75b72f12 --- /dev/null +++ b/scripts/build/client/dev.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +cd client || exit -1 + +npm run webpack -- --config config/webpack.dev.js --progress --profile --colors --display-error-details --display-cached diff --git a/scripts/build/client/sass.sh b/scripts/build/client/sass.sh deleted file mode 100755 index d8dfedca3..000000000 --- a/scripts/build/client/sass.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env sh - -npm run clean:client:sass -cd client || exit -1 - -# Compile index and angular files -concurrently \ - "node-sass --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css" \ - "node-sass app/ --output app/" diff --git a/scripts/build/client/tsc.sh b/scripts/build/client/tsc.sh deleted file mode 100755 index cca1643d4..000000000 --- a/scripts/build/client/tsc.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env sh - -cd client || exit -1 -node systemjs.bundle.js -npm run tsc -- cgit v1.2.3