Made build js file executable
This commit is contained in:
parent
049721e43e
commit
1f239c12d6
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
"main": "app.js",
|
||||
"scripts": {
|
||||
"lint": "eslint -c node_modules/eslint-config/.eslintrc 'static/src/js/'",
|
||||
"build-js": "bash scripts/build-js.sh",
|
||||
"build-js": "./scripts/build-js.sh",
|
||||
"create-build-dirs": "mkdir -p static/build/js/lib static/build/fonts static/build/css static/build/img",
|
||||
"build": "npm run create-build-dirs && npm run build-fonts && npm run build-images && npm run build-js && npm run build-less",
|
||||
"build-less": "lessc --silent static/src/less/style.less static/build/css/style.css && cleancss -d --s0 -o static/build/css/style.css static/build/css/style.css",
|
||||
|
|
2
scripts/build-js.sh
Normal file → Executable file
2
scripts/build-js.sh
Normal file → Executable file
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
|
|
Reference in a new issue