-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.77 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
{
"name": "@i18n-pro/svelte",
"version": "1.0.0",
"type": "module",
"description": "Lightweight, simple, flexible, automatic translation internationalization tool for Svelte(适用于 Svelte 的轻量、简单、灵活、自动翻译的国际化工具)",
"keywords": [
"svelte",
"i18n",
"svelte-i18n",
"svelte-intl",
"intl",
"i18n",
"internationalization",
"locale",
"l10n",
"localization",
"translate",
"translation",
"国际化",
"多语言",
"自动翻译",
"automatic translation"
],
"module": "dist/src/index.min.js",
"types": "dist/src/index.d.ts",
"exports": {
".": "dist/src/index.min.js",
"./context": {
"import": "./dist/src/context/index.ts",
"./dist/*": "./dist/*",
"./package.json": "./package.json"
}
},
"files": [
"dist/src"
],
"scripts": {
"prepare": "husky install",
"lint-code": "npx lint-staged",
"lint-msg": "npx commitlint --edit",
"test": "vitest --ui",
"coverage": "vitest --coverage",
"build": "rimraf dist/src && rollup -c",
"publish": "npm run build && npm publish --access=public --registry https://registry.npmjs.org",
"docs": "cd docs && npm run docs",
"docs-translate": "i18n t -P docs/src"
},
"author": "Eyelly Wu",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^17.4.3",
"@commitlint/config-conventional": "^17.4.3",
"@eyelly/prettier-config": "^1.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@sveltejs/vite-plugin-svelte": "2.x.x",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/svelte": "^3.2.2",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"@vitest/coverage-istanbul": "^0.28.5",
"@vitest/ui": "^0.28.5",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-formatter-table": "^7.32.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-svelte3": "^4.0.0",
"husky": "^8.0.3",
"jsdom": "^21.1.0",
"jsx-to-md": "^0.11.4",
"lint-staged": "^13.1.2",
"prettier": "^2.8.4",
"rimraf": "^5.0.1",
"rollup": "2",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-prettier": "3",
"rollup-plugin-typescript2": "^0.35.0",
"svelte-preprocess": "5.0.3",
"tslib": "^2.5.0",
"typescript": "4.8.4",
"vite": "^4.2.0",
"vitest": "^0.29.3"
},
"peerDependencies": {
"i18n-pro": ">=2.0.0",
"svelte": "3"
},
"dependencies": {
"i18n-pro": "2.0.0",
"svelte": "^3.57.0"
},
"lint-staged": {
"*.{json,ts,tsx,js,svelte}": "eslint --fix -f table"
},
"codeNameMap": {
"en": "",
"zh": "zh-CN"
},
"homepage": "https://github.com/i18n-pro/svelte",
"bugs": {
"url": "https://github.com/i18n-pro/svelte/issues"
}
}