Updated build task

This commit is contained in:
dbroqua 2018-07-31 09:54:13 +02:00
parent 39252eee22
commit 14270e9dc6
2 changed files with 3 additions and 2 deletions

View file

@ -2,6 +2,7 @@
"name": "car-tools", "name": "car-tools",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"homepage": "https://outils.darkou.fr/",
"dependencies": { "dependencies": {
"bootstrap": "^4.1.3", "bootstrap": "^4.1.3",
"react": "^16.4.1", "react": "^16.4.1",
@ -12,7 +13,7 @@
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",
"build": "react-scripts build", "build": "react-scripts build && ssh guarda 'rm -r www/darkou.fr/outils/static' && scp -r build/* guarda:www/darkou.fr/outils",
"test": "react-scripts test --env=jsdom", "test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject" "eject": "react-scripts eject"
}, },

View file

@ -19,7 +19,7 @@
work correctly both with client-side routing and a non-root public URL. work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`. Learn how to configure a non-root public URL by running `npm run build`.
--> -->
<title>React App</title> <title>DarKou.fr :: outils</title>
</head> </head>
<body> <body>
<noscript> <noscript>