forked from intlify/vue-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
185 lines (185 loc) · 7.43 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
185
{
"name": "vue-i18n-next",
"version": "9.2.0-beta.25",
"license": "MIT",
"author": {
"name": "kazuya kawaguchi",
"email": "kawakazu80@gmail.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/intlify/vue-i18n-next.git"
},
"bugs": {
"url": "https://github.com/inlitify/vue-i18n-next/issues"
},
"scripts": {
"benchmark": "node ./benchmark/index.mjs",
"build": "node -r esbuild-register scripts/build.ts",
"build:explorer": "cd packages/format-explorer && vite build",
"build:size": "npm run build && run-p build:size-*",
"build:size-core": "cd packages/size-check-core && npm run build",
"build:size-petite-vue-i18n": "cd packages/size-check-petite-vue-i18n && npm run build",
"build:size-vue-i18n": "cd packages/size-check-vue-i18n && npm run build",
"build:sourcemap": "npm run build -- --sourcemap",
"build:type": "./scripts/build.sh",
"build:typed": "npm run build -- core-base vue-i18n-core --types",
"clean": "run-p clean:*",
"clean:cache": "npm run clean:cache:jest",
"clean:cache:jest": "jest --clearCache",
"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/lcov-report/index.html",
"dev": "node -r esbuild-register scripts/dev.ts",
"dev:e2e": "jest --runInBand --config ./jest.e2e.config.js",
"dev:explorer": "vite packages/format-explorer",
"docs:apigen": "npm run docs:apigen:core && npm run 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": "npm run docs:setup && vitepress build docs",
"docs:dev": "vitepress dev docs",
"docs:serve": "vitepress serve docs",
"docs:setup": "npm run build:typed && npm run docs:apigen",
"example:ssr": "cd examples/ssr/vite && npm run 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 .prettierrc --ignore-path .prettierignore '**/*.{js,json,html}'",
"lint": "run-p lint:secret lint:codes lint:docs",
"lint:codes": "eslint ./packages ./test-d ./e2e ./benchmark --ext .js,.mjs,.ts,.vue",
"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",
"release:prepare": "shipjs prepare",
"release:trigger": "shipjs trigger",
"serve:explorer": "cd packages/format-explorer && vite preview",
"test": "npm-run-all lint clean:cache:jest test:cover test:type test:e2e",
"test:cover": "npm run test:unit -- --coverage",
"test:e2e": "jest --runInBand --config ./jest.e2e.config.js",
"test:type": "tsc -p ./test-d/tsconfig.json",
"test:unit": "npm run clean:cache:jest && cross-env NODE_ICU_DATA=./node_modules/full-icu jest --env node"
},
"devDependencies": {
"@intlify/core-base": "workspace:*",
"@intlify/message-compiler": "workspace:*",
"@kazupon/lerna-changelog": "^4.3.0",
"@microsoft/api-extractor": "7.15.2",
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^3.0.0",
"@secretlint/secretlint-rule-preset-recommend": "^3.1.0",
"@sucrase/jest-plugin": "^2.1.0",
"@textlint-rule/textlint-rule-no-unmatched-pair": "^1.0.7",
"@types/jest": "^26.0.14",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@vue/server-renderer": "^3.2.4",
"algoliasearch": "^4.9.0",
"api-docs-gen": "^0.4.0",
"brotli": "^1.3.2",
"chalk": "^4.1.0",
"convert-hrtime": "^5.0.0",
"cross-env": "^7.0.2",
"esbuild-register": "^2.3.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.0.0",
"execa": "^5.0.0",
"fixpack": "^4.0.0",
"full-icu": "^1.3.1",
"http-server": "^14.0.0",
"jest": "^26.6.3",
"jest-puppeteer": "^6.0.0",
"jest-watch-typeahead": "^0.6.2",
"lint-staged": "^12.0.0",
"minimist": "^1.2.5",
"npm-run-all": "^4.1.5",
"opener": "^1.5.2",
"pathe": "^0.2.0",
"prettier": "^2.3.2",
"puppeteer": "^9.0.0",
"rc": "^1.2.8",
"rimraf": "^3.0.2",
"rollup": "^2.53.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.0",
"secretlint": "^3.2.0",
"set-tz": "^0.2.0",
"shipjs": "^0.24.0",
"textlint": "^12.0.0",
"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": "^2.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": "^0.3.2",
"textlint-rule-stop-words": "^2.0.7",
"textlint-rule-terminology": "^2.1.4",
"textlint-rule-unexpanded-acronym": "^1.2.4",
"textlint-rule-write-good": "^2.0.0",
"trash-cli": "^5.0.0",
"ts-jest": "^26.5.4",
"typescript": "4.2.3",
"typescript-eslint-language-service": "^5.0.0",
"vitepress": "^0.18.0",
"vue": "^3.2.4",
"vue-i18n": "workspace:*",
"yorkie": "^2.0.0"
},
"peerDependencies": {
"@microsoft/api-extractor": "7.15.2",
"typescript": "4.2.3"
},
"engines": {
"node": ">= 12"
},
"private": true,
"changelog": {
"labels": {
"Type: Feature": ":star: Features",
"Type: Bug": ":bug: Bug Fixes",
"Type: Security": ":lock: Security Fixes",
"Type: Performance": ":chart_with_upwards_trend: Performance Fixes",
"Type: Improvement": ":zap: Improvement Features",
"Type: Breaking": ":boom: Breaking Change",
"Type: Deprecated": ":warning: Deprecated Features",
"Type: I18n": ":globe_with_meridians: Internationalization",
"Type: A11y": ":wheelchair: Accessibility",
"Type: Documentation": ":pencil: Documentation"
}
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{json,md,yml}": [
"prettier --write"
],
"*.{js,vue}": [
"prettier --write",
"eslint --fix --ext .js,.vue"
],
"*.ts?(x)": [
"prettier --parser=typescript --write",
"eslint --fix --ext .ts"
],
"*": [
"secretlint"
]
}
}