1
0
Fork 0

Use scripty instead of writing shell commands in package.json

This commit is contained in:
Chocobozzz 2016-04-30 11:17:50 +02:00
parent 1342381694
commit 9353449515
18 changed files with 128 additions and 39 deletions

9
scripts/build/client/sass.sh Executable file
View file

@ -0,0 +1,9 @@
#!/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 angular/ --output angular/"

5
scripts/build/client/tsc.sh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env sh
cd client || exit -1
npm run tsc