@i18n-pro/react
Version:
An out-of-the-box, lightweight i18n auto-translation solution for React
98 lines (97 loc) • 2.64 kB
JSON
{
"name": "@i18n-pro/react",
"version": "2.0.0-alpha.2",
"description": "An out-of-the-box, lightweight i18n auto-translation solution for React",
"keywords": [
"react",
"i18n",
"react-i18n",
"react-intl",
"intl",
"i18n",
"internationalization",
"locale",
"l10n",
"localization",
"translate",
"translation",
"国际化",
"多语言",
"自动翻译",
"automatic translation"
],
"module": "dist/src/index.min.js",
"main": "dist/src/index.min.js",
"types": "./dist/src/index.d.ts",
"files": [
"dist/src",
"./index.js"
],
"scripts": {
"prepare": "husky install",
"lint-code": "npx lint-staged",
"lint-msg": "npx commitlint --edit",
"test": "vitest --ui",
"coverage": "vitest --coverage",
"docs": "jtm run",
"docs-i18n": "i18n t -P docs/src",
"build": "rimraf dist/src && rollup -c",
"publish": "npm run build && npm publish --access=public --registry https://registry.npmjs.org"
},
"author": "Eyelly Wu",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^17.4.3",
"@commitlint/config-conventional": "^17.4.3",
"@eyelly/prettier-config": "^1.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@types/react": "^18.0.28",
"@types/testing-library__jest-dom": "^5.14.5",
"@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-react": "^7.32.2",
"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.79.1",
"rollup-plugin-prettier": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"tslib": "^2.5.0",
"typescript": "4.8.4",
"vitest": "^0.28.5"
},
"peerDependencies": {
"i18n-pro": ">=3.0.0 <4.0.0",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"react-native": ">=0.59.0"
},
"dependencies": {
"@types/node": "^24.0.3",
"i18n-pro": "3.0.0-alpha.1",
"react": "16.8.0",
"react-dom": "16.8.0"
},
"lint-staged": {
"*.{json,ts,tsx,js}": "eslint --fix -f table"
},
"codeNameMap": {
"en": "",
"zh": "zh-CN"
},
"homepage": "https://github.com/i18n-pro/react",
"bugs": {
"url": "https://github.com/i18n-pro/react/issues"
}
}