forked from intlify/vue-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
164 lines (164 loc) · 6.34 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
{
"name": "vue-i18n-next",
"version": "9.2.0-alpha.1",
"license": "MIT",
"author": {
"name": "kazuya kawaguchi",
"email": "[email protected]"
},
"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": "rollup -c packages/size-check-core/rollup.config.js",
"build:size-vue-i18n": "rollup -c packages/size-check-vue-i18n/rollup.config.js",
"build:sourcemap": "yarn build --sourcemap",
"build:type": "yarn build --types && tail -n +22 ./packages/vue-i18n/src/vue.d.ts >> ./packages/vue-i18n/dist/vue-i18n.d.ts",
"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": "api-docs-gen ./temp/vue-i18n.api.json -o ./docs/api -c ./docsgen.config.js -g noprefix -t ./tsdoc.json",
"docs:build": "yarn docs:setup && vitepress build docs",
"docs:dev": "vitepress dev docs",
"docs:serve": "vitepress serve docs",
"docs:setup": "yarn build:type && 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: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\"",
"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": {
"@microsoft/api-extractor": "^7.13.2",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.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.11.0",
"@typescript-eslint/parser": "^4.11.0",
"@vue/server-renderer": "^3.0.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.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-vue": "^7.8.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",
"husky": "^4.3.0",
"jest": "^26.6.3",
"jest-puppeteer": "^5.0.0",
"jest-watch-typeahead": "^0.6.2",
"lerna-changelog": "^1.0.1",
"lint-staged": "^11.0.0",
"minimist": "^1.2.5",
"npm-run-all": "^4.1.5",
"opener": "^1.5.2",
"prettier": "^2.2.1",
"puppeteer": "^8.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.44.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",
"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": "^1.6.2",
"trash-cli": "^4.0.0",
"ts-jest": "^26.5.4",
"typescript": "4.1.5",
"typescript-eslint-language-service": "^4.1.3",
"vitepress": "^0.14.0",
"vue": "^3.0.0",
"yarn-deduplicate": "^3.1.0"
},
"engines": {
"node": ">= 10"
},
"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": {
"*.{js,json,md,yml}": [
"yarn format:fix",
"git add"
],
"*.{js,ts}": [
"yarn lint:fix",
"git add"
]
},
"workspaces": [
"packages/*"
]
}