-
-
Notifications
You must be signed in to change notification settings - Fork 336
/
package.json
183 lines (183 loc) · 7.28 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
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "vue-i18n-root",
"version": "11.0.0-beta.0",
"license": "MIT",
"author": {
"name": "kazuya kawaguchi",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git+https://github.com/intlify/vue-i18n.git"
},
"bugs": {
"url": "https://github.com/inlitify/vue-i18n/issues"
},
"scripts": {
"benchmark": "node ./benchmark/index.mjs",
"build": "tsx ./scripts/build.ts",
"build:explorer": "pnpm --filter @intlify/message-format-explorer build",
"build:size": "pnpm build && run-p build:size-*",
"build:size-core": "pnpm --filter @intlify/size-check-core build",
"build:size-petite-vue-i18n": "pnpm --filter @intlify/size-check-petite-vue-i18n build",
"build:size-vue-i18n": "pnpm --filter @intlify/size-check-vue-i18n build",
"build:sourcemap": "pnpm build --sourcemap",
"build:type": "./scripts/build.sh",
"build:typed": "pnpm build core-base vue-i18n-core --types",
"check-install": "tsx ./scripts/playwright.ts",
"clean": "run-p clean:*",
"clean:coverage": "rimraf ./coverage",
"clean:dist": "rimraf ./dist ./packages/**/dist ./docs/.vitepress/dist",
"clean:docs": "trash './docs/api/!(injection).md'",
"clean:type": "rimraf ./temp",
"coverage": "opener coverage/index.html",
"dev": "tsx ./scripts/dev.ts",
"dev:e2e": "cross-env TZ=UTC vitest -c ./vitest.e2e.config.ts",
"dev:eslint": "npx @eslint/config-inspector",
"dev:explorer": "pnpm --filter @intlify/message-format-explorer dev",
"dev:size-core": "pnpm --filter @intlify/size-check-core dev",
"dev:size-petite-vue-i18n": "pnpm --filter @intlify/size-check-petite-vue-i18n dev",
"dev:size-vue-i18n": "pnpm --filter @intlify/size-check-vue-i18n dev",
"docs:apigen": "pnpm docs:apigen:core && pnpm docs:apigen:vue",
"docs:apigen:core": "api-docs-gen ./temp/core-base.api.json -o ./docs/api -c ./docsgen.config.js -g noprefix -t ./tsdoc.json && mv ./docs/api/general.md ./docs/api/temp.md",
"docs:apigen:vue": "api-docs-gen ./temp/vue-i18n-core.api.json -o ./docs/api -c ./docsgen.config.js -g noprefix -t ./tsdoc.json && tail -n +3 ./docs/api/temp.md >> ./docs/api/general.md && rm -rf ./docs/api/temp.md",
"docs:build": "pnpm docs:setup && vitepress build docs",
"docs:dev": "vitepress dev docs",
"docs:serve": "vitepress serve docs",
"docs:setup": "pnpm build:typed && pnpm docs:apigen",
"eslint:inspector": "npx @eslint/config-inspector",
"example:ssr": "cd examples/ssr/vite && pnpm dev",
"fix": "run-p lint:fix format:fix",
"format:fix": "run-p \"format:prettier --write\" format:package",
"format:package": "tsx ./scripts/fixpack.ts",
"format:prettier": "prettier --config prettier.config.mjs --ignore-path .prettierignore --list-different '**/*.{ts,js,json,html}'",
"lint": "run-p lint:secret lint:codes lint:docs",
"lint:codes": "eslint . --cache",
"lint:docs": "textlint --config .textlintrc.js docs/*.md docs/advanced/**/*.md docs/essentials/**/*.md docs/migration/**/*.md docs/api/injection.md packages/**/*.md",
"lint:fix": "run-p \"lint:codes --fix\" \"lint:docs --fix\"",
"lint:secret": "npx secretlint \"**/*\"",
"prebuild": "test \"$CI\" = true && npx pnpm install -r --store=node_modules/.pnpm-store || echo skipping pnpm install",
"preinstall": "node ./scripts/preinstall.js",
"prepare": "git config --local core.hooksPath .githooks",
"preview:explorer": "pnpm --filter @intlify/message-format-explorer preview",
"preview:size-core": "pnpm --filter @intlify/size-check-core preview",
"preview:size-petite-vue-i18n": "pnpm --filter @intlify/size-check-petite-vue-i18n preview",
"preview:size-vue-i18n": "pnpm --filter @intlify/size-check-vue-i18n preview",
"release": "bumpp package.json packages/**/package.json --commit \"release: v\" --push --tag",
"test": "run-s lint test:cover check-install test:e2e",
"test:cover": "pnpm test:unit --coverage",
"test:e2e": "cross-env TZ=UTC vitest run -c ./vitest.e2e.config.ts",
"test:unit": "cross-env TZ=UTC vitest run -c ./vitest.unit.config.ts --typecheck"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@intlify/core-base": "workspace:*",
"@intlify/message-compiler": "workspace:*",
"@microsoft/api-extractor": "7.15.2",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@secretlint/secretlint-rule-preset-recommend": "^3.1.0",
"@textlint-rule/textlint-rule-no-unmatched-pair": "^2.0.0",
"@types/brotli": "^1.3.4",
"@types/eslint": "^9.6.1",
"@types/js-yaml": "^4.0.5",
"@types/jsdom": "^21.1.1",
"@types/minimist": "^1.2.5",
"@types/node": "^22.5.3",
"@types/rc": "^1.2.4",
"@vitest/coverage-v8": "^2.1.5",
"api-docs-gen": "^0.4.0",
"benchmark": "^2.1.4",
"brotli": "^1.3.2",
"bumpp": "^9.3.0",
"cross-env": "^7.0.3",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-vue": "^9.28.0",
"execa": "^9.3.0",
"fixpack": "^4.0.0",
"globals": "^15.9.0",
"globby": "^14.0.1",
"js-yaml": "^4.1.0",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"listhen": "^1.7.2",
"minimist": "^1.2.6",
"mlly": "^1.6.1",
"npm-run-all2": "^7.0.0",
"opener": "^1.5.2",
"pathe": "^1.1.2",
"picocolors": "^1.0.0",
"pkg-pr-new": "^0.0.30",
"playwright-core": "^1.45.3",
"prettier": "^3.3.3",
"rc": "^1.2.8",
"rimraf": "^6.0.0",
"rollup": "^4.21.2",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-typescript2": "^0.36.0",
"secretlint": "^3.2.0",
"serve-static": "^1.15.0",
"textlint": "^12.6.1",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-abbr-within-parentheses": "^1.0.2",
"textlint-rule-apostrophe": "^2.0.0",
"textlint-rule-common-misspellings": "^1.0.1",
"textlint-rule-diacritics": "^1.0.0",
"textlint-rule-en-capitalization": "^2.0.3",
"textlint-rule-max-comma": "^4.0.0",
"textlint-rule-max-doc-width": "^1.4.0",
"textlint-rule-no-empty-section": "^1.1.0",
"textlint-rule-no-start-duplicated-conjunction": "^2.0.2",
"textlint-rule-no-surrogate-pair": "^1.0.1",
"textlint-rule-period-in-list-item": "^1.0.0",
"textlint-rule-stop-words": "^4.0.0",
"textlint-rule-terminology": "^4.0.0",
"textlint-rule-unexpanded-acronym": "^1.2.4",
"textlint-rule-write-good": "^2.0.0",
"trash-cli": "^6.0.0",
"tslib": "^2.6.2",
"tsx": "^4.11.2",
"typescript": "^5.5.3",
"typescript-eslint": "^8.4.0",
"vitepress": "1.5.0",
"vitest": "^2.1.5",
"vue": "3.5.13",
"vue-i18n": "workspace:*"
},
"peerDependencies": {
"@microsoft/api-extractor": "7.15.2",
"typescript": "^5.0.4"
},
"engines": {
"node": ">= 18"
},
"private": true,
"lint-staged": {
"*.{json,md,yml}": [
"prettier --write"
],
"*.{js,vue}": [
"prettier --write",
"eslint --fix"
],
"*.ts?(x)": [
"prettier --parser=typescript --write",
"eslint --fix"
],
"*": [
"secretlint"
]
},
"packageManager": "[email protected]",
"pnpm": {
"overrides": {
"vue": "3.5.13",
"vite": "^5.4.11"
}
}
}