Add build command
This commit is contained in:
parent
90414ed0ea
commit
647709fd98
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
"description": " Source code for TheOrangeOne.net",
|
"description": " Source code for TheOrangeOne.net",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint 'theme/static/src/js/'",
|
"lint": "eslint 'theme/static/src/js/'",
|
||||||
|
"build": "npm run create-build-dirs && npm run build-fonts && npm run build-js && npm run build-scss",
|
||||||
"build-js": "./scripts/build-js.sh",
|
"build-js": "./scripts/build-js.sh",
|
||||||
"build-scss": "bash scripts/build-scss.sh",
|
"build-scss": "bash scripts/build-scss.sh",
|
||||||
"build-fonts": "cp -R node_modules/bootstrap-sass/assets/fonts/bootstrap/* theme/static/build/fonts/ && cp -R node_modules/ionicons/dist/fonts theme/static/build/ ",
|
"build-fonts": "cp -R node_modules/bootstrap-sass/assets/fonts/bootstrap/* theme/static/build/fonts/ && cp -R node_modules/ionicons/dist/fonts theme/static/build/ ",
|
||||||
|
|
Reference in a new issue