aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-03 22:34:39 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-03 22:34:39 +0200
commitfc76359be11956f8514fc0dda1f66bb1c3397d26 (patch)
tree4d80142778971f1d9e09606e8f8745d56cee8507 /scripts/build
parent4a6995be18b15de1834a39c8921a0e4109671bb6 (diff)
downloadPeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.gz
PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.zst
PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.zip
Adapt npm scripts
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/client/dev.sh5
-rwxr-xr-xscripts/build/client/sass.sh9
-rwxr-xr-xscripts/build/client/tsc.sh5
3 files changed, 5 insertions, 14 deletions
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 @@
1#!/usr/bin/env sh
2
3cd client || exit -1
4
5npm 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 @@
1#!/usr/bin/env sh
2
3npm run clean:client:sass
4cd client || exit -1
5
6# Compile index and angular files
7concurrently \
8 "node-sass --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css" \
9 "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 @@
1#!/usr/bin/env sh
2
3cd client || exit -1
4node systemjs.bundle.js
5npm run tsc