Updated scripts

This commit is contained in:
Dbroqua 2021-03-27 17:52:42 +01:00
parent 7c2eaa9b0d
commit 48e5a6d27f

View file

@ -24,7 +24,8 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build && ssh porto 'rm -r www/darkou.fr/carburants/static www/darkou.fr/carburants/precache-manifest*' && scp -r build/* porto:www/darkou.fr/carburants",
"build": "react-scripts build",
"deploy": "ssh porto 'rm -r www/darkou.fr/carburants/static www/darkou.fr/carburants/precache-manifest*' && scp -r build/* porto:www/darkou.fr/carburants:",
"test": "react-scripts test",
"lint": "./node_modules/.bin/eslint . --fix",
"eject": "react-scripts eject"