UNPKG

react-furigana

Version:

A simple React component for handling Japanese text with furigana.

70 lines 1.77 kB
{ "name": "react-furigana", "version": "1.3.4", "description": "A simple React component for handling Japanese text with furigana.", "license": "MIT", "repository": { "type": "git", "url": "https://gitlab.com/melxxii/react-furigana.git" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "keywords": [ "japanese", "furigana", "日本語", "ふりがな", "振り仮名", "ruby", "react" ], "type": "module", "main": "./dist/react-furigana.umd.cjs", "module": "./dist/react-furigana.js", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/react-furigana.js", "require": "./dist/react-furigana.umd.cjs" } }, "files": [ "dist", "package.json", "README.md" ], "peerDependencies": { "react": ">=18.0.0 <20.0.0", "react-dom": ">=18.0.0 <20.0.0" }, "devDependencies": { "@eslint/js": "^9.30.1", "@testing-library/react": "^16.3.0", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@typescript-eslint/eslint-plugin": "^8.36.0", "@typescript-eslint/parser": "^8.36.0", "@vitejs/plugin-react": "^4.6.0", "eslint": "^9.30.1", "eslint-plugin-import": "^2.32.0", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.20", "globals": "^16.3.0", "jsdom": "^26.1.0", "typescript": "^5.8.3", "typescript-eslint": "^8.36.0", "vite": "^7.0.3", "vite-plugin-dts": "^4.5.4", "vitest": "^3.2.4" }, "scripts": { "dev": "vite", "test": "vitest", "coverage": "vitest run --coverage", "build": "tsc && vite build", "lint": "eslint src", "preview": "vite preview" } }