generated from totto2727/esm-package
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.63 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
{
"name": "traq-bot-ts",
"author": "cp20 <n.naoki.1587@gmail.com>",
"description": "A library for developing traQ Bot",
"repository": {
"type": "git",
"url": "git+https://github.com/cp-20/traq-bot-ts.git"
},
"keywords": ["typescript", "traQ"],
"license": "MIT",
"version": "1.4.1",
"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",
"generate-api": "bunx swagger-typescript-api --output src --name api.mts --path https://raw.githubusercontent.com/traPtitech/traQ/master/docs/v3-api.yaml"
},
"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.16.4",
"@biomejs/biome": "1.9.4",
"@changesets/cli": "2.27.9",
"bun-types": "1.1.29",
"esbuild": "0.24.0",
"run-z": "2.0.0",
"typescript": "5.6.3"
},
"dependencies": {
"ws": "8.18.0",
"zod": "3.23.8"
}
}