1
Fork 0

Add build command

This commit is contained in:
Jake Howard 2016-05-14 21:26:04 +01:00
parent 90414ed0ea
commit 647709fd98

View file

@ -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/ ",