Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit e19420b8 authored by Pierre Jarriges's avatar Pierre Jarriges
Browse files

fix make update prod & minify css

parent 03ff2173
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ push:
git add . && git commit -m "$(msg)" && git push origin HEAD
update-prod:
git checkout . && git pull origin master && npm run build && npm run style
git checkout . && git pull origin master && npm run build-prod
reload:
docker exec -it kuadrado nginx -s reload
\ No newline at end of file
......@@ -5,9 +5,9 @@
"main": "src/main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"style": "sass --watch ./src/style.scss ./public/style/style.css --style=compressed",
"build": "node build.js",
"build-prod": "node build.js prod"
"style-watch": "sass --watch ./src/style.scss ./public/style/style.css",
"build": "node build.js && sass ./src/style.scss ./public/style/style.css",
"build-prod": "node build.js prod && sass ./src/style.scss ./public/style/style.css --style=compressed"
},
"repository": "https://gitlab.com/peter_rabbit/kuadrado-website",
"author": "Kuadrado",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment