-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.36 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "esm-package",
"author": "hogehoge <hogehoge@example.com>",
"description": "",
"homepage": "",
"bugs": {
"url": ""
},
"keywords": [
"typescript"
],
"license": "MIT",
"version": "0.1.0",
"scripts": {
"deploy": "",
"build": "run-z build:transpile,build:esm,build:cjs",
"build:transpile": "bun build.mts",
"build:esm": "tsc --project tsconfig.build.esm.json",
"build:cjs": "tsc --project tsconfig.build.cjs.json",
"check": "run-z check:type,check:static",
"check:type": "tsc --noEmit",
"check:static": "biome check .",
"fix": "$npm_execpath run check:static --apply-unsafe",
"test": "bun test",
"precommit": "run-z check:type fix test build",
"prepublish": "attw --pack .",
"run-z": "run-z"
},
"files": [
"src",
"dist",
"package.json",
"tsconfig.json",
"LICENSE"
],
"exports": {
".": {
"import": {
"types": "./dist/import/index.d.mts",
"default": "./dist/import/index.mjs"
},
"require": {
"types": "./dist/require/index.d.cts",
"default": "./dist/require/index.cjs"
}
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.0",
"@biomejs/biome": "1.5.3",
"@changesets/cli": "^2.27.1",
"bun-types": "^1.0.15",
"esbuild": "^0.20.0",
"run-z": "^2.0.0",
"typescript": "5.3.3"
}
}