-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.18 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "@ghoullier/bun-typescript-template",
"description": "Provide a modern and ready to use template to setup a typescript project",
"version": "1.0.0",
"type": "module",
"scripts": {
"build:lib": "bun build --minify --outdir=dist src/index.ts",
"build:types": "tsc -p tsconfig.build.json",
"build": "bun build:lib && bun build:types",
"lint": "npm run lint:lib && npm run lint:exports && npm run lint:package",
"lint:lib": "biome check src/*.ts",
"lint:exports": "attw --pack . --ignore-rules no-resolution cjs-resolves-to-esm",
"lint:package": "publint .",
"lint:fix": "biome check --write --unsafe"
},
"files": ["dist", "package.json"],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.3",
"@biomejs/biome": "1.9.4",
"@tsconfig/strictest": "2.0.5",
"@types/bun": "1.1.17",
"bun-types": "1.2.2",
"publint": "0.3.3",
"typescript": "5.7.3"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"license": "MIT"
}