Commit 4f89f639 authored by Dorchies David's avatar Dorchies David
Browse files

Ajout de rm build à npm run buildspec pour éviter les fichiers js fantômes après renommage

Showing with 2 additions and 2 deletions
+2 -2
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
}, },
"scripts": { "scripts": {
"build": "./node_modules/typescript/bin/tsc --p src/tsconfig.app.json", "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", "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", "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", "karma": "./node_modules/typescript/bin/tsc --p spec/tsconfig.spec.json && ./node_modules/karma/bin/karma start",
...@@ -31,4 +31,4 @@ ...@@ -31,4 +31,4 @@
"viz": "tsviz -recursive src/ jalhyd_class_diagram.png", "viz": "tsviz -recursive src/ jalhyd_class_diagram.png",
"package": "rm -rf build; npm run build; npm pack" "package": "rm -rf build; npm run build; npm pack"
} }
} }
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment