|
1 | 1 | { |
2 | 2 | "name": "bun-ts-starter", |
3 | 3 | "version": "0.0.5", |
4 | | - "description": "", |
| 4 | + "description": "A simple TypeScript starter kit using Bun.", |
5 | 5 | "author": "Chris Breuer <chris@stacksjs.org>", |
6 | 6 | "license": "MIT", |
7 | 7 | "homepage": "https://github.com/stacksjs/bun-ts-starter#readme", |
|
24 | 24 | "bun": "./src/index.ts", |
25 | 25 | "types": "./dist/index.d.ts", |
26 | 26 | "import": "./dist/index.js" |
| 27 | + }, |
| 28 | + "./*": { |
| 29 | + "bun": "./src/*", |
| 30 | + "import": "./dist/*" |
27 | 31 | } |
28 | 32 | }, |
29 | 33 | "module": "./dist/index.js", |
30 | 34 | "types": "./dist/index.d.ts", |
31 | 35 | "files": [ |
32 | | - "dist" |
| 36 | + "dist", |
| 37 | + "src" |
33 | 38 | ], |
34 | 39 | "scripts": { |
35 | 40 | "build": "bun --bun build.ts", |
36 | | - "lint": "eslint .", |
37 | | - "lint:fix": "eslint . --fix", |
| 41 | + "lint": "bunx eslint .", |
| 42 | + "lint:fix": "bunx eslint . --fix", |
38 | 43 | "fresh": "bunx rimraf node_modules/ bun.lock && bun i", |
39 | 44 | "commit": "git cz", |
40 | | - "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", |
| 45 | + "changelog": "bunx changelogen --output CHANGELOG.md", |
41 | 46 | "prepublishOnly": "bun --bun run build", |
42 | | - "release": "bunx --bun bumpp package.json --all", |
43 | | - "start": "bun --bun src/index.ts", |
| 47 | + "release": "bun run changelog && bunx bumpp package.json --all", |
44 | 48 | "test": "bun test", |
45 | 49 | "typecheck": "tsc --noEmit" |
46 | 50 | }, |
47 | 51 | "devDependencies": { |
48 | 52 | "@stacksjs/eslint-config": "^0.58.73", |
| 53 | + "@types/bun": "^1.0.6", |
49 | 54 | "@types/node": "^20.11.19", |
50 | | - "bun-types": "^1.0.28", |
51 | 55 | "bumpp": "^9.3.0", |
| 56 | + "changelogen": "^0.5.5", |
52 | 57 | "commitizen": "^4.3.0", |
53 | | - "conventional-changelog-cli": "^4.1.0", |
54 | 58 | "cz-git": "^1.8.0", |
55 | 59 | "eslint": "^8.56.0", |
56 | 60 | "lint-staged": "^15.2.2", |
|
0 commit comments