chore: 添加 service 打包编译设置

This commit is contained in:
ChenZhaoYu
2023-02-13 20:10:08 +08:00
parent 35f353c1f7
commit 3debaec4b2
7 changed files with 344 additions and 1 deletions

View File

@@ -14,6 +14,9 @@
},
"scripts": {
"start": "esno ./src/index.ts",
"prod": "esno ./build/index.js",
"build": "pnpm clean && tsup",
"clean": "rimraf build",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
@@ -28,6 +31,8 @@
"dotenv": "^16.0.3",
"eslint": "^8.34.0",
"esno": "^0.16.3",
"rimraf": "^4.1.2",
"tsup": "^6.6.2",
"typescript": "^4.9.5"
}
}