UNPKG

@ui18n/react

Version:

⚛️ Smart React internationalization with hooks, Server Components, and concurrent features - built for React 18+

118 lines (117 loc) 3.21 kB
{ "name": "@ui18n/react", "version": "0.1.0-rc.3", "description": "⚛️ Smart React internationalization with hooks, Server Components, and concurrent features - built for React 18+", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "import": { "types": "./dist/index.d.ts", "default": "./dist/index.esm.js" }, "require": "./dist/index.js" }, "./package.json": "./package.json" }, "files": [ "dist", "README.md" ], "scripts": { "build": "rollup -c rollup.config.js", "build:simple": "node build-simple.js", "build:rollup": "rollup -c", "dev": "rollup -c -w", "test": "jest --config jest.config.cjs", "test:watch": "jest --config jest.config.cjs --watch", "test:coverage": "jest --config jest.config.cjs --coverage", "type-check": "tsc --noEmit", "lint": "eslint \"src/**/*.{ts,tsx}\"", "clean": "rmdir /s /q dist 2>nul || echo \"dist directory cleaned\"", "prepublishOnly": "npm run clean && npm run build", "prepack": "npm run clean && npm run build" }, "keywords": [ "react", "react-18", "server-components", "i18n", "internationalization", "translation", "localization", "hooks", "use-translation", "context", "provider", "typescript", "ai-translation", "multilingual", "concurrent", "suspense", "streaming", "next.js", "vite", "ui18n", "zero-config", "performance", "developer-experience" ], "author": { "name": "iron-wayne", "url": "https://github.com/iron-wayne" }, "license": "MIT", "peerDependencies": { "@ui18n/core": "file:../core", "react": ">=18", "react-dom": ">=18" }, "dependencies": {}, "devDependencies": { "@ui18n/core": "file:../core", "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.4", "@testing-library/jest-dom": "^6.6.4", "@testing-library/react": "^16.3.0", "@types/jest": "^29.5.3", "@types/react": "^18.2.15", "@types/react-dom": "^18.2.7", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.45.0", "eslint-plugin-react": "^7.33.0", "eslint-plugin-react-hooks": "^4.6.0", "jest": "^29.6.1", "jest-environment-jsdom": "^29.6.1", "react": "^18.2.0", "react-dom": "^18.2.0", "rollup": "^3.26.3", "rollup-plugin-dts": "^5.3.1", "rollup-plugin-peer-deps-external": "^2.2.4", "ts-jest": "^29.1.1", "typescript": "^5.9.2" }, "repository": { "type": "git", "url": "git+https://github.com/iron-wayne/UI18N-OSS.git", "directory": "packages/react" }, "bugs": { "url": "https://github.com/iron-wayne/UI18N-OSS/issues" }, "homepage": "https://github.com/iron-wayne/UI18N-OSS/tree/main/packages/react#readme", "engines": { "node": ">=18.0.0", "npm": ">=8.0.0" }, "publishConfig": { "access": "public" }, "type": "module" }