Adapt npm scripts

This commit is contained in:
Chocobozzz
2016-06-03 22:34:39 +02:00
parent 4a6995be18
commit fc76359be1
13 changed files with 22 additions and 61 deletions

4
scripts/clean/client/dist.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
cd client || exit -1
rm -rf dist/

View File

@@ -1,5 +0,0 @@
#!/usr/bin/env sh
cd client || exit -1
rm -f stylesheets/index.css
find app -regextype posix-egrep -regex ".*\.(css)$" -exec rm -f {} \;

View File

@@ -1,6 +0,0 @@
#!/usr/bin/env sh
cd client || exit -1
find app -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \;
rm -rf ./bundles
rm -f main.js main.js.map