mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
Merge pull request #1678 from balena-os/add-clean-step
Added clean step to remove previous builds before running tests
This commit is contained in:
commit
6ad7ed3409
@ -12,7 +12,7 @@
|
||||
"build": "npm run release && webpack",
|
||||
"build:debug": "npm run release && npm run packagejson:copy",
|
||||
"lint": "balena-lint -e ts -e js --typescript src/ test/ typings/ build-utils/ webpack.config.js && tsc --noEmit && tsc --noEmit --project tsconfig.js.json",
|
||||
"test": "npm run test-nolint",
|
||||
"test": "npm run clean && npm run test-nolint",
|
||||
"posttest": "npm run lint",
|
||||
"test-nolint": "npm run test:build && TEST=1 mocha",
|
||||
"test:build": "npm run test-build && npm run testitems:copy && npm run packagejson:copy",
|
||||
@ -23,7 +23,8 @@
|
||||
"release": "tsc --project tsconfig.release.json && mv build/src/* build",
|
||||
"packagejson:copy": "cp package.json build/",
|
||||
"testitems:copy": "cp -r test/data build/test/",
|
||||
"sync": "ts-node sync/sync.ts"
|
||||
"sync": "ts-node sync/sync.ts",
|
||||
"clean": "rimraf build"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user