feat: clean before build

This commit is contained in:
2019-06-12 00:25:53 +08:00
parent c679ab7e38
commit 2b6637b1fc
5 changed files with 16 additions and 9 deletions

View File

@@ -10,7 +10,7 @@
"registry": "https://repo.yumc.pw/repository/npm-hosted/"
},
"scripts": {
"build": "npx tsc",
"build": "rimraf dist && npx tsc",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"dependencies": {
@@ -19,5 +19,8 @@
"reflect-metadata": "^0.1.13",
"typescript": "^3.5.1"
},
"devDependencies": {
"rimraf": "^2.6.3"
},
"gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728"
}
}