forked from intlify/vue-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
181 lines (181 loc) · 7.35 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
{
"name": "vue-i18n-next",
"version": "9.2.0-beta.1",
"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.js",
"build": "node -r esbuild-register scripts/build.ts",
"build:size": "npm-run-all --parallel build:size-*",
"build:size-core": "cd packages/size-check-core && yarn build --minify false",
"build:size-petite-vue-i18n": "cd packages/size-check-petite-vue-i18n && yarn build --minify false",
"build:size-vue-i18n": "cd packages/size-check-vue-i18n && yarn build --minify false",
"build:sourcemap": "yarn build --sourcemap",
"build:type": "yarn build --types && tail -n +32 ./packages/vue-i18n/src/vue.d.ts >> ./packages/vue-i18n/dist/vue-i18n.d.ts && tail -n +32 ./packages/petite-vue-i18n/src/vue.d.ts >> ./packages/petite-vue-i18n/dist/petite-vue-i18n.d.ts",
"build:typed": "yarn build core-base vue-i18n-core --types",
"clean": "npm-run-all --parallel clean:*",
"clean:cache": "yarn 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:duplicate": "yarn-deduplicate yarn.lock",
"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",
"docs:apigen": "yarn docs:apigen:core && yarn 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": "yarn docs:setup && vitepress build docs",
"docs:dev": "vitepress dev docs",
"docs:serve": "vitepress serve docs",
"docs:setup": "yarn build:typed && yarn docs:apigen",
"fix": "npm-run-all --parallel lint:fix format:fix",
"format:fix": "npm-run-all --parallel \"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": "npm-run-all --parallel lint:secret lint:codes lint:docs",
"lint:codes": "eslint ./packages ./test-d ./e2e ./benchmark ./format-explorer --ext .js,.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": "npm-run-all --parallel \"lint:codes --fix\" \"lint:docs --fix\"",
"lint:secret": "npx secretlint \"**/*\"",
"preinstall": "node ./scripts/checkYarn.js",
"release:prepare": "shipjs prepare",
"release:trigger": "shipjs trigger",
"test": "npm-run-all lint clean:cache:jest test:cover test:type test:e2e",
"test:cover": "yarn test:unit --coverage",
"test:e2e": "jest --runInBand --config ./jest.e2e.config.js",
"test:type": "tsc -p ./test-d/tsconfig.json",
"test:unit": "yarn clean:cache:jest && cross-env NODE_ICU_DATA=./node_modules/full-icu jest --env node"
},
"devDependencies": {
"@kazupon/lerna-changelog": "^4.3.0",
"@microsoft/api-extractor": "7.15.2",
"@rollup/plugin-commonjs": "^20.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": "^14.14.37",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"@vue/server-renderer": "^3.1.0",
"algoliasearch": "^4.9.0",
"api-docs-gen": "^0.3.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": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-vue": "^7.13.0",
"eslint-plugin-vue-libs": "^4.0.0",
"execa": "^5.0.0",
"fixpack": "^4.0.0",
"full-icu": "^1.3.1",
"http-server": "^0.12.1",
"jest": "^26.6.3",
"jest-puppeteer": "^5.0.0",
"jest-watch-typeahead": "^0.6.2",
"lint-staged": "^11.0.0",
"minimist": "^1.2.5",
"npm-run-all": "^4.1.5",
"opener": "^1.5.2",
"prettier": "^2.3.2",
"puppeteer": "^8.0.0",
"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.30.0",
"secretlint": "^3.2.0",
"set-tz": "^0.2.0",
"shipjs": "^0.23.1",
"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": "^4.0.0",
"ts-jest": "^26.5.4",
"typescript": "4.2.3",
"typescript-eslint-language-service": "^4.1.3",
"vitepress": "^0.14.0",
"vue": "^3.1.0",
"yarn-deduplicate": "^3.1.0",
"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"
]
},
"workspaces": [
"packages/*"
]
}