From 4f89f639daa14bc48e4cfe4219f0d36f8ae9b734 Mon Sep 17 00:00:00 2001
From: David Dorchies <david.dorchies@irstea.fr>
Date: Fri, 16 Mar 2018 11:31:45 +0100
Subject: [PATCH] =?UTF-8?q?Ajout=20de=20rm=20build=20=C3=A0=20npm=20run=20?=
 =?UTF-8?q?buildspec=20pour=20=C3=A9viter=20les=20fichiers=20js=20fant?=
 =?UTF-8?q?=C3=B4mes=20apr=C3=A8s=20renommage?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 package.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 8704156c..5787145b 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
   },
   "scripts": {
     "build": "./node_modules/typescript/bin/tsc --p src/tsconfig.app.json",
-    "buildspec": "./node_modules/typescript/bin/tsc --p spec/tsconfig.spec.json",
+    "buildspec": "rm -rf build; ./node_modules/typescript/bin/tsc --p spec/tsconfig.spec.json",
     "runtestremous": "./node_modules/typescript/bin/tsc --p spec/tsconfig-remous-fenetre.spec.json && node ./build/spec/test-remous-fenetre.js",
     "jasmine": "npm run buildspec && ./node_modules/.bin/jasmine",
     "karma": "./node_modules/typescript/bin/tsc --p spec/tsconfig.spec.json && ./node_modules/karma/bin/karma start",
@@ -31,4 +31,4 @@
     "viz": "tsviz -recursive src/ jalhyd_class_diagram.png",
     "package": "rm -rf build; npm run build; npm pack"
   }
-}
+}
\ No newline at end of file
-- 
GitLab