Use scripty instead of writing shell commands in package.json
This commit is contained in:
parent
1342381694
commit
9353449515
18 changed files with 128 additions and 39 deletions
9
scripts/build/client/sass.sh
Executable file
9
scripts/build/client/sass.sh
Executable 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
5
scripts/build/client/tsc.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
cd client || exit -1
|
||||
|
||||
npm run tsc
|
Loading…
Add table
Add a link
Reference in a new issue