TSUP
This commit is contained in:
10
package.json
10
package.json
@ -1,10 +1,15 @@
|
||||
{
|
||||
"name": "app",
|
||||
"version": "1.0.0",
|
||||
"main": "index.ts",
|
||||
"main": "./dist/index.ts",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"files":[
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"start": "ts-node src/index.ts",
|
||||
"build": "tsc",
|
||||
"build": "tsup",
|
||||
"postinstall": "npm run build"
|
||||
},
|
||||
"keywords": [],
|
||||
@ -13,6 +18,7 @@
|
||||
"description": "",
|
||||
"devDependencies": {
|
||||
"ts-node": "^10.9.2",
|
||||
"tsup": "^8.2.4",
|
||||
"typescript": "^5.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user