@logistically/i18n-react-core
Version:
React integration for @logistically/i18n with state management agnostic design
100 lines (99 loc) • 2.73 kB
JSON
{
"name": "@logistically/i18n-react-core",
"version": "1.0.2",
"description": "React integration for @logistically/i18n with state management agnostic design",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./react-native": {
"import": "./dist/react-native.esm.js",
"require": "./dist/react-native.js",
"types": "./dist/react-native.d.ts"
},
"./adapters/*": {
"import": "./dist/adapters/*.esm.js",
"require": "./dist/adapters/*.js",
"types": "./dist/adapters/*.d.ts"
},
"./ssr": {
"import": "./dist/ssr.esm.js",
"require": "./dist/ssr.js",
"types": "./dist/ssr.d.ts"
}
},
"sideEffects": false,
"scripts": {
"build": "rollup -c",
"build:tsc": "tsc",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts src/**/*.tsx",
"lint:fix": "eslint src/**/*.ts src/**/*.tsx --fix",
"clean": "rm -rf dist",
"prebuild": "npm run clean",
"size": "npm run build && npm run analyze",
"analyze": "npx bundle-analyzer dist/index.esm.js"
},
"keywords": [
"react",
"react-native",
"i18n",
"internationalization",
"translation",
"hooks",
"context",
"zustand",
"redux",
"ssr"
],
"author": "Logistically Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/onwello/i18n.git"
},
"peerDependencies": {
"@logistically/i18n": "^1.2.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-native": "^0.70.0"
},
"dependencies": {
"@logistically/i18n": "^1.2.0"
},
"devDependencies": {
"@reduxjs/toolkit": "^1.9.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.0.0",
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/react-native": "^0.72.8",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^30.0.5",
"jotai": "^2.0.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-native": "^0.80.2",
"react-redux": "^8.1.0",
"rollup": "^3.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0",
"zustand": "^4.4.0"
}
}