1
Fork 0

Dont build on postinstall

This commit is contained in:
Jake Howard 2017-01-10 14:00:21 +00:00
parent e05468aec2
commit 8524599e38

View file

@ -3,10 +3,9 @@
"version": "4.0.0", "version": "4.0.0",
"description": " Source code for TheOrangeOne.net", "description": " Source code for TheOrangeOne.net",
"scripts": { "scripts": {
"postinstall": "npm run create-build-dirs && npm run copy-fonts && npm run build", "postinstall": "npm run create-build-dirs && npm run copy-fonts",
"create-build-dirs": "mkdir -p theme/static/build/js/lib theme/static/build/fonts theme/static/build/css theme/static/build/img", "create-build-dirs": "mkdir -p theme/static/build/js/lib theme/static/build/fonts theme/static/build/css theme/static/build/img",
"copy-fonts": "cp -R node_modules/font-awesome/fonts theme/static/build/", "copy-fonts": "cp -R node_modules/font-awesome/fonts theme/static/build/",
"build": "npm run build-scss && npm run build-js",
"build-js": "./scripts/build-js.sh", "build-js": "./scripts/build-js.sh",
"build-scss": "./scripts/build-scss.sh" "build-scss": "./scripts/build-scss.sh"
}, },