UNPKG

@particular.cloud/i18n-react

Version:

i18n-react builds on top of i18n-js and implements a translation hook and provider

64 lines (63 loc) 2.15 kB
{ "name": "@particular.cloud/i18n-react", "version": "0.5.12", "description": "i18n-react builds on top of i18n-js and implements a translation hook and provider", "icon": "https://s3-us-west-1.amazonaws.com/particular.cloud/logo-small.png", "homepage": "https://particular.cloud", "keywords": [ "i18n" ], "author": "Andre Landgraf <andre.timo.landgraf@gmail.com>", "maintainers": [ "Andre Landgraf <andre.timo.landgraf@gmail.com>", "Andre Weinkötz <andre.weinkoetz@gmail.com>" ], "license": "Apache-2.0", "main": "dist/index.js", "module": "dist/index.es.js", "jsnext:main": "dist/index.es.js", "files": [ "dist" ], "scripts": { "clean": "rimraf ./dist", "test": "jest", "lint": "eslint .", "build": "rollup -c", "prepublish": "npm run clean && npm run lint && npm run test && npm run build", "publish:package": "npm run prepublish && npm publish" }, "devDependencies": { "@rollup/plugin-commonjs": "^18.0.0", "@testing-library/jest-dom": "^5.11.10", "@testing-library/react": "^11.2.6", "@testing-library/react-hooks": "^7.0.2", "@types/jest": "^26.0.22", "@types/react": "^17.0.3", "@types/react-dom": "^17.0.2", "@types/testing-library__react": "^10.2.0", "@typescript-eslint/eslint-plugin": "^4.18.0", "@typescript-eslint/parser": "^4.18.0", "eslint": "^7.22.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-react": "^7.22.0", "identity-obj-proxy": "^3.0.0", "jest": "^26.6.3", "prettier": "^2.2.1", "react": "*", "react-dom": "*", "rollup": "^2.42.1", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-typescript2": "^0.30.0", "ts-jest": "^26.5.4", "typescript": "^4.2.3" }, "dependencies": { "@particular.cloud/i18n-js": "^0.5.9" }, "peerDependencies": { "react": "^17.0.1", "react-dom": "^17.0.1" } }