tsup/package.json
Kevin Titor a4714a7eb0
feat: use esbuild for bundling (#72)
BREAKING CHANGE:

- Removed `run` command
- Using `esbuild` instead of `rollup` for bundling, `dts` file is still generated by rollup.
2020-07-20 16:45:18 +08:00

46 lines
1.1 KiB
JSON

{
"name": "tsup",
"version": "0.0.0-semantic-release",
"main": "dist/index.js",
"bin": "dist/cli.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"author": "EGOIST",
"license": "MIT",
"repository": {
"url": "https://github.com/egoist/tsup.git"
},
"scripts": {
"build": "rm -rf dist && tsup src/cli.ts src/index.ts src/rollup.ts --external typescript --bundle --dts",
"prepublishOnly": "npm run build",
"test": "npm run build && jest"
},
"dependencies": {
"cac": "^6.5.13",
"chalk": "^4.1.0",
"chokidar": "^3.4.1",
"esbuild": "^0.6.4",
"joycon": "^2.2.5",
"rollup": "^2.21.0",
"rollup-plugin-dts": "^1.4.8",
"sucrase": "^3.15.0"
},
"devDependencies": {
"@rollup/plugin-json": "^4.1.0",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^26.0.4",
"@types/node": "^14.0.23",
"@types/resolve": "^1.17.1",
"execa": "^4.0.3",
"fs-extra": "^9.0.1",
"jest": "^26.1.0",
"prettier": "^2.0.5",
"rollup-plugin-hashbang": "^2.2.2",
"ts-jest": "^26.1.2",
"tsup": "^2.1.0",
"typescript": "^3.9.6"
}
}