diff --git a/package.json b/package.json
index 8704156c3a49db36a81cd2d17463680e48193e81..5787145b7833ffa0e092d71dea6aa16d79e9bbab 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