chore: 优化build

This commit is contained in:
xiaojunnuo
2024-09-25 10:35:30 +08:00
parent a943a41d2e
commit ec1015295e
8 changed files with 27 additions and 11 deletions
+3 -1
View File
@@ -7,7 +7,8 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc --skipLibCheck",
"before-build": "rimraf dist && rimraf tsconfig.tsbuildinfo && rimraf .rollup.cache",
"build": "npm run before-build && tsc --skipLibCheck",
"test": "midway-bin test --ts -V",
"test1": "midway-bin test --ts -V -f test/blank.test.ts -t 'hash-check'",
"cov": "midway-bin cov --ts",
@@ -24,6 +25,7 @@
],
"license": "MIT",
"devDependencies": {
"rimraf": "^5.0.5",
"@midwayjs/core": "^3",
"@midwayjs/logger": "^3",
"@midwayjs/typeorm": "^3",