diff --git a/package.json b/package.json index 6ccdbc07a..fba111c91 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,13 @@ "type": "module", "types": "lib/index.d.ts", "scripts": { - "build": "npm run cleanup && tsc -p tsconfig.build.json", + "build": "npm run clean-lib && tsc -p tsconfig.build.json", "build-test": "tsc --noEmit -p .", - "build-watch": "npm run cleanup && tsc -w -p tsconfig.build.json", + "build-watch": "npm run clean-lib && tsc -w -p tsconfig.build.json", "check-licenses": "licensee --errors-only", - "cleanup": "rimraf lib coverage", - "coverage": "nyc ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\"", + "clean-coverage": "rimraf coverage", + "clean-lib": "rimraf lib", + "coverage": "npm run clean-coverage && nyc ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\"", "depcheck": "depcheck --ignores @commitlint/config-conventional,@istanbuljs/esm-loader-hook,rimraf,sap,mycomp,@ui5/linter", "hooks:pre-push": "npm run lint:commit", "lint": "eslint .",