-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.21 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.21 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "my-package-template",
"version": "0.1.3",
"description": "TypeScript package template using Bun and Biome",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "bun build ./src/index.ts --outdir dist --format esm --target node --external 'node:*' && bun build ./src/index.ts --outfile dist/index.cjs --format cjs --target node --external 'node:*' && tsc --emitDeclarationOnly --declaration --outDir dist",
"build:esm": "bun build ./src/index.ts --outdir dist --format esm --declaration",
"build:cjs": "bun build ./src/index.ts --outdir dist --format cjs --outfile index.cjs",
"build:watch": "bun build ./src/index.ts --outdir dist --format esm --declaration --watch",
"dev": "bun run ./src/index.ts",
"test": "bun test",
"test:watch": "bun test --watch",
"lint": "biome lint src",
"lint:fix": "biome lint --write src",
"format": "biome format --write src",
"check": "biome check src",
"check:fix": "biome check --write src",
"type-check": "tsc --noEmit",
"ci": "bun run check && bun run type-check && bun run build && bun test",
"npm-dry-run": "npm pack --dry-run"
},
"keywords": [
"my-package-template",
"package-template",
"typescript-package",
"typescript-library",
"typescript-sdk",
"npm-package",
"npm-library",
"npm-sdk",
"bun-package",
"bun-library",
"bun-sdk",
"sdk",
"typescript",
"bun",
"biome"
],
"author": "loa212",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Loa212/my-package-template.git"
},
"bugs": {
"url": "https://github.com/Loa212/my-package-template/issues"
},
"homepage": "https://github.com/Loa212/my-package-template#readme",
"devDependencies": {
"@biomejs/biome": "^2.3.14",
"@biomejs/cli-darwin-arm64": "2.3.14",
"@biomejs/cli-darwin-x64": "2.3.14",
"@biomejs/cli-linux-arm64": "2.3.14",
"@biomejs/cli-linux-x64": "2.3.14",
"@types/bun": "latest",
"typescript": "^5.4.0"
},
"peerDependencies": {},
"engines": {
"bun": ">=1.0.0"
}
}