@transifex/react
Version:
i18n React framework using Transifex Native
66 lines (65 loc) • 1.89 kB
JSON
{
"name": "@transifex/react",
"version": "7.1.4",
"description": "i18n React framework using Transifex Native",
"keywords": [
"transifex",
"i18n",
"l10n",
"localization",
"internationalization",
"globalization",
"translation",
"react"
],
"author": "Transifex",
"homepage": "https://github.com/transifex/transifex-javascript/tree/master/packages/react",
"license": "Apache-2.0",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.js",
"publishConfig": {
"access": "public"
},
"repository": "git://github.com/transifex/transifex-javascript.git",
"scripts": {
"build": "NODE_ENV=production microbundle-crl --no-compress --format modern,cjs && cp src/index.d.ts dist/index.d.ts && cp src/index.d.ts dist/index.modern.d.ts",
"prepare": "run-s build",
"lint": "eslint src/ tests/",
"test": "run-s test:unit test:build",
"test:build": "run-s build",
"test:unit": "jest --coverage=true --forceExit",
"publish-npm": "npm publish"
},
"bugs": {
"url": "https://github.com/transifex/transifex-javascript/issues"
},
"engines": {
"node": ">=16.0.0"
},
"peerDependencies": {
"@transifex/native": "^7.0.0",
"prop-types": "^15.0.0",
"react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@transifex/native": "^7.1.4",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"microbundle-crl": "^0.13.11",
"npm-run-all": "^4.1.5",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1"
},
"files": [
"dist"
]
}