-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 5.38 KB
/
package.json
File metadata and controls
150 lines (150 loc) · 5.38 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "gunshi-monorepo",
"description": "Monorepo for gunshi - Modern javascript command-line library",
"private": true,
"version": "0.29.2",
"author": {
"name": "kazuya kawaguchi",
"email": "kawakazu80@gmail.com"
},
"license": "MIT",
"funding": "https://github.com/sponsors/kazupon",
"bugs": {
"url": "https://github.com/kazupon/gunshi/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kazupon/gunshi.git"
},
"packageManager": "pnpm@10.28.1",
"engines": {
"node": ">= 20"
},
"devEngines": {
"runtime": [
{
"name": "node",
"version": ">=20",
"onFail": "error"
},
{
"name": "deno",
"version": ">=2",
"onFail": "warn"
},
{
"name": "bun",
"version": ">=1.1",
"onFail": "error"
}
]
},
"type": "module",
"scripts": {
"bench:mitata": "node --expose-gc bench/mitata.js",
"bench:vitest": "vitest bench --run",
"build": "pnpm -r build",
"build:bone": "pnpm -F @gunshi/plugin build",
"build:definition": "pnpm -F @gunshi/definition build",
"build:docs": "pnpm -F @gunshi/docs build",
"build:gunshi": "pnpm -F gunshi build",
"build:plugin": "pnpm -F @gunshi/bone build",
"build:plugin:completion": "pnpm -F @gunshi/plugin-completion build",
"build:plugin:global": "pnpm -F @gunshi/plugin-global build",
"build:plugin:i18n": "pnpm -F @gunshi/plugin-i18n build",
"build:plugin:renderer": "pnpm -F @gunshi/plugin-renderer build",
"build:resources": "pnpm -F @gunshi/resources build",
"build:shared": "pnpm -F @gunshi/shared build",
"changelog": "gh-changelogen --repo=kazupon/gunshi",
"clean": "git clean -df",
"dev:docs": "pnpm -F @gunshi/docs dev",
"dev:eslint": "pnpx @eslint/config-inspector --config eslint.config.ts",
"e2e": "vitest run --config vitest.e2e.config.ts",
"fix": "pnpm run --color \"/^fix:/\"",
"fix:eslint": "eslint . --fix",
"fix:knip": "knip --fix --no-exit-code",
"fix:oxfmt": "oxfmt . --config ./node_modules/@kazupon/prettier-config/index.json --no-error-on-unmatched-pattern",
"fix:oxlint": "oxlint --type-aware --type-check --fix",
"gen:importmap": "pnpm exec tsx scripts/importmap.ts",
"lint": "pnpm run --color \"/^lint:/\"",
"lint:eslint": "eslint . --cache",
"lint:jsr": "pnpm -r --if-present lint:jsr",
"lint:knip": "knip",
"lint:oxfmt": "oxfmt . --check --config ./node_modules/@kazupon/prettier-config/index.json",
"lint:oxlint": "oxlint --type-aware --type-check",
"lint:typecheck": "pnpm run --color \"/^typecheck:/\"",
"prepare": "git config --local core.hooksPath .githooks && pnpm run gen:importmap",
"preview:docs": "pnpm -F @gunshi/docs preview",
"release": "bumpp \"package.json\" \"packages/**/package.json\" \"packages/**/jsr.json\" --commit \"release: v\" --all --push --tag",
"test": "vitest --typecheck run",
"test:core": "vitest --typecheck run packages/gunshi",
"test:plugin-completion": "vitest --typecheck run packages/plugin-completion",
"test:plugin-global": "vitest --typecheck run packages/plugin-global",
"test:plugin-i18n": "vitest --typecheck run packages/plugin-i18n",
"test:plugin-renderer": "vitest --typecheck run packages/plugin-renderer",
"typecheck:deno": "pnpm -r --if-present typecheck:deno"
},
"devDependencies": {
"@eslint/markdown": "^7.5.1",
"@kazupon/eslint-config": "^0.45.0",
"@kazupon/eslint-plugin": "^0.7.1",
"@kazupon/prettier-config": "^0.2.0",
"@types/node": "catalog:",
"@typescript/native-preview": "7.0.0-dev.20260120.1",
"@vitest/coverage-v8": "4.0.18",
"bumpp": "^10.3.2",
"eslint": "^9.39.2",
"eslint-plugin-jsdoc": "^61.5.0",
"eslint-plugin-jsonc": "^2.21.0",
"eslint-plugin-markdown-preferences": "^0.40.2",
"eslint-plugin-module-interop": "^0.3.1",
"eslint-plugin-oxlint": "^1.42.0",
"eslint-plugin-regexp": "^3.0.0",
"eslint-plugin-unused-imports": "^4.3.0",
"eslint-plugin-vue": "^10.6.2",
"eslint-plugin-vue-composable": "^1.0.0",
"eslint-plugin-yml": "^1.19.1",
"gh-changelogen": "^0.2.8",
"gunshi019": "npm:gunshi@0.19.0",
"knip": "^5.77.0",
"lint-staged": "^16.2.7",
"mitata": "^1.0.34",
"oxfmt": "^0.27.0",
"oxlint": "^1.42.0",
"oxlint-tsgolint": "^0.11.4",
"pkg-pr-new": "^0.0.63",
"tsx": "catalog:",
"typescript": "catalog:",
"typescript-eslint": "^8.50.1",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^4.0.16"
},
"pnpm": {
"overrides": {
"tsdown>rolldown": "1.0.0-rc.1",
"tsdown>rolldown-plugin-dts": "0.20.0",
"vitepress>vite": "npm:rolldown-vite@7.3.1"
},
"onlyBuiltDependencies": [
"deno",
"esbuild",
"oxc-resolver",
"rolldown",
"unrs-resolver"
]
},
"lint-staged": {
"*.ts?(x)": [
"oxfmt --config ./node_modules/@kazupon/prettier-config/index.json --no-error-on-unmatched-pattern",
"oxlint --config .oxlintrc.json --type-aware --type-check --fix"
],
"*.{js,mjs,cjs}": [
"oxfmt --config ./node_modules/@kazupon/prettier-config/index.json --no-error-on-unmatched-pattern",
"oxlint --config .oxlintrc.json --fix"
],
"*.{json,jsonc,json5,md,yml,yaml}": [
"oxfmt --config ./node_modules/@kazupon/prettier-config/index.json --no-error-on-unmatched-pattern",
"eslint --fix"
]
}
}