force delete dist directory when building.

This commit is contained in:
mike12345567 2021-06-25 17:28:48 +01:00
parent 1568702a6d
commit 547ca3c593
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
"url": "https://github.com/Budibase/budibase.git" "url": "https://github.com/Budibase/budibase.git"
}, },
"scripts": { "scripts": {
"build": "rm -r dist/ && tsc && mv dist/src/* dist/ && rmdir dist/src/", "build": "rm -rf dist/ && tsc && mv dist/src/* dist/ && rmdir dist/src/",
"test": "jest --coverage --maxWorkers=2", "test": "jest --coverage --maxWorkers=2",
"test:watch": "jest --watch", "test:watch": "jest --watch",
"build:docker": "docker build . -t app-service", "build:docker": "docker build . -t app-service",