feat: clean before build
This commit is contained in:
parent
c679ab7e38
commit
2b6637b1fc
@ -6,7 +6,6 @@
|
|||||||
"author": "MiaoWoo <admin@yumc.pw>",
|
"author": "MiaoWoo <admin@yumc.pw>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "npx lerna run build",
|
|
||||||
"lp": "npx lerna publish"
|
"lp": "npx lerna publish"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "npx ts-node src/index.ts",
|
"dev": "npx ts-node src/index.ts",
|
||||||
"build": "npx tsc",
|
"build": "rimraf dist && npx tsc",
|
||||||
"test": "echo \"Error: run tests from root\" && exit 1"
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -26,7 +26,8 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/body-parser": "^1.17.0",
|
"@types/body-parser": "^1.17.0",
|
||||||
"@types/express": "^4.17.0",
|
"@types/express": "^4.17.0",
|
||||||
|
"rimraf": "^2.6.3",
|
||||||
"ts-node": "^8.2.0"
|
"ts-node": "^8.2.0"
|
||||||
},
|
},
|
||||||
"gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728"
|
"gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728"
|
||||||
}
|
}
|
@ -10,7 +10,7 @@
|
|||||||
"registry": "https://repo.yumc.pw/repository/npm-hosted/"
|
"registry": "https://repo.yumc.pw/repository/npm-hosted/"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npx tsc",
|
"build": "rimraf dist && npx tsc",
|
||||||
"test": "echo \"Error: run tests from root\" && exit 1"
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -22,7 +22,8 @@
|
|||||||
"typescript": "^3.5.1"
|
"typescript": "^3.5.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"rimraf": "^2.6.3",
|
||||||
"@types/mongodb": "^3.1.28"
|
"@types/mongodb": "^3.1.28"
|
||||||
},
|
},
|
||||||
"gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728"
|
"gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728"
|
||||||
}
|
}
|
@ -14,7 +14,7 @@
|
|||||||
"url": "git+https://github.com/502647092/cc-server-parent.git"
|
"url": "git+https://github.com/502647092/cc-server-parent.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npx tsc",
|
"build": "rimraf dist && npx tsc",
|
||||||
"test": "echo \"Error: run tests from root\" && exit 1"
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
@ -23,5 +23,8 @@
|
|||||||
"homepage": "https://github.com/502647092/cc-server-parent#readme",
|
"homepage": "https://github.com/502647092/cc-server-parent#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"typescript": "^3.5.1"
|
"typescript": "^3.5.1"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "^2.6.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -10,7 +10,7 @@
|
|||||||
"registry": "https://repo.yumc.pw/repository/npm-hosted/"
|
"registry": "https://repo.yumc.pw/repository/npm-hosted/"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npx tsc",
|
"build": "rimraf dist && npx tsc",
|
||||||
"test": "echo \"Error: run tests from root\" && exit 1"
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -19,5 +19,8 @@
|
|||||||
"reflect-metadata": "^0.1.13",
|
"reflect-metadata": "^0.1.13",
|
||||||
"typescript": "^3.5.1"
|
"typescript": "^3.5.1"
|
||||||
},
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"rimraf": "^2.6.3"
|
||||||
|
},
|
||||||
"gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728"
|
"gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user