forked from intlify/vue-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
184 lines (184 loc) · 7.41 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
184
{
"name": "vue-i18n-root",
"version": "10.0.0-beta.1",
"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": "node -r esbuild-register 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": "node -r esbuild-register 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": "node -r esbuild-register 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": "node -r esbuild-register ./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": "npm-run-all lint test:cover test:type check-install test:e2e",
"test:cover": "pnpm test:unit --coverage",
"test:e2e": "cross-env TZ=UTC vitest run -c ./vitest.e2e.config.ts",
"test:type": "tsc -p ./test-dts/tsconfig.json",
"test:unit": "cross-env TZ=UTC vitest run -c ./vitest.unit.config.ts"
},
"devDependencies": {
"@eslint/js": "^8.57.0",
"@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": "^8.56.7",
"@types/js-yaml": "^4.0.5",
"@types/jsdom": "^21.1.1",
"@types/minimist": "^1.2.5",
"@types/node": "^20.11.21",
"@types/rc": "^1.2.4",
"@vitest/coverage-v8": "^1.3.0",
"api-docs-gen": "^0.4.0",
"benchmark": "^2.1.4",
"brotli": "^1.3.2",
"bumpp": "^9.3.0",
"cross-env": "^7.0.3",
"esbuild-register": "^3.5.0",
"eslint": "^9.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-vue": "^9.25.0",
"execa": "^5.0.0",
"fixpack": "^4.0.0",
"globals": "^15.0.0",
"globby": "^14.0.1",
"jiti": "^1.21.0",
"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": "^6.1.2",
"opener": "^1.5.2",
"pathe": "^1.1.2",
"picocolors": "^1.0.0",
"playwright": "^1.34.0",
"prettier": "^3.2.5",
"rc": "^1.2.8",
"rimraf": "^5.0.5",
"rollup": "^3.29.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": "^5.0.0",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"typescript-eslint": "^7.5.0",
"vitepress": "1.2.2",
"vitest": "^1.3.0",
"vue": "3.4.27",
"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.4.27",
"vite": "^5.1.2"
}
}
}