Skip to content

Commit d826173

Browse files
author
fabianmoronzirfas
committed
build(simplify scripts): to many scripts. Created bash file for it
1 parent e129ce1 commit d826173

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
set -Eeuo pipefail
3+
4+
./node_modules/.bin/blc --filter-level 2 -r --input http://localhost:4000 > test/report.txt && cat test/report.txt | grep 'BROKEN'
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
set -Eeuo pipefail
3+
pwd
4+
5+
npm install basiljs/basil.js#develop -D
6+
npm run documentationjs -- build ./node_modules/basiljs/basil.js -o ./.bin/api/data.json
7+
node .bin/index.js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
},
5757
"husky": {
5858
"hooks": {
59-
"pre-commit": "npm run webpack:prod"
59+
"pre-push": "npm run webpack:prod"
6060
}
6161
}
6262
}

0 commit comments

Comments
 (0)