diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-03 22:34:39 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-03 22:34:39 +0200 |
commit | fc76359be11956f8514fc0dda1f66bb1c3397d26 (patch) | |
tree | 4d80142778971f1d9e09606e8f8745d56cee8507 /scripts/build | |
parent | 4a6995be18b15de1834a39c8921a0e4109671bb6 (diff) | |
download | PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.gz PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.zst PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.zip |
Adapt npm scripts
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/client/dev.sh | 5 | ||||
-rwxr-xr-x | scripts/build/client/sass.sh | 9 | ||||
-rwxr-xr-x | scripts/build/client/tsc.sh | 5 |
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 | |||
3 | cd client || exit -1 | ||
4 | |||
5 | 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 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | npm run clean:client:sass | ||
4 | cd client || exit -1 | ||
5 | |||
6 | # Compile index and angular files | ||
7 | concurrently \ | ||
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 | |||
3 | cd client || exit -1 | ||
4 | node systemjs.bundle.js | ||
5 | npm run tsc | ||