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: ...@@ -20,7 +20,7 @@ push:
git add . && git commit -m "$(msg)" && git push origin HEAD git add . && git commit -m "$(msg)" && git push origin HEAD
update-prod: 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: reload:
docker exec -it kuadrado nginx -s reload docker exec -it kuadrado nginx -s reload
\ No newline at end of file
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"style": "sass --watch ./src/style.scss ./public/style/style.css --style=compressed", "style-watch": "sass --watch ./src/style.scss ./public/style/style.css",
"build": "node build.js", "build": "node build.js && sass ./src/style.scss ./public/style/style.css",
"build-prod": "node build.js prod" "build-prod": "node build.js prod && sass ./src/style.scss ./public/style/style.css --style=compressed"
}, },
"repository": "https://gitlab.com/peter_rabbit/kuadrado-website", "repository": "https://gitlab.com/peter_rabbit/kuadrado-website",
"author": "Kuadrado", "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