Skip to content

Commit 5f19459

Browse files
committed
chore: usetsup build
1 parent 4a72bea commit 5f19459

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@
77
"require": "./dist/index.cjs"
88
},
99
"scripts": {
10-
"build": "unbuild"
10+
"preinstall": "npx only-allow pnpm",
11+
"dev": "pnpm run build && pnpm -C example dev",
12+
"build": "tsup src/index.ts --format esm,cjs,iife --dts --clean"
1113
},
1214
"keywords": [],
1315
"author": "",
1416
"license": "ISC",
1517
"devDependencies": {
16-
"unbuild": "^2.0.0"
18+
"http-server": "^14.1.1",
19+
"tsup": "^8.2.4",
20+
"typescript": "^5.5.3"
1721
}
18-
}
22+
}

0 commit comments

Comments
 (0)