@ui18n/selector-react
Version:
🎨 Beautiful, accessible language selector component for React with auto-discovery, custom styling, and zero dependencies
107 lines (106 loc) • 2.47 kB
JSON
{
"name": "@ui18n/selector-react",
"version": "0.1.0-rc.2",
"private": false,
"type": "module",
"description": "🎨 Beautiful, accessible language selector component for React with auto-discovery, custom styling, and zero dependencies",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": "./dist/index.cjs"
}
},
"sideEffects": false,
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"files": [
"dist"
],
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"build": "tsup && node -e \"console.log('build: bundled ESM/CJS + d.ts')\"",
"clean": "rimraf dist || rmdir /S /Q dist",
"test": "jest",
"test:watch": "jest --watch",
"type-check": "tsc --noEmit",
"prepack": "npm run clean && npm run build"
},
"devDependencies": {
"typescript": "^5.4.5",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.18",
"@types/jest": "^29.5.3",
"@testing-library/react": "^16.3.0",
"@testing-library/jest-dom": "^6.6.4",
"jest": "^29.6.1",
"jest-environment-jsdom": "^29.6.1",
"ts-jest": "^29.1.1",
"rimraf": "^5.0.5",
"tsup": "^7.2.0"
},
"tsup": {
"entry": [
"src/index.ts"
],
"format": [
"esm",
"cjs"
],
"dts": true,
"splitting": false,
"clean": true,
"sourcemap": true,
"external": [
"react",
"react-dom"
]
},
"keywords": [
"react",
"language-selector",
"dropdown",
"i18n",
"internationalization",
"language-switcher",
"ui-component",
"accessible",
"a11y",
"typescript",
"auto-discovery",
"customizable",
"zero-dependencies",
"ui18n",
"modern",
"react-18",
"component-library"
],
"author": {
"name": "iron-wayne",
"url": "https://github.com/iron-wayne"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/iron-wayne/UI18N-OSS.git",
"directory": "packages/selector-react"
},
"bugs": {
"url": "https://github.com/iron-wayne/UI18N-OSS/issues"
},
"homepage": "https://github.com/iron-wayne/UI18N-OSS/tree/main/packages/selector-react#readme",
"publishConfig": {
"access": "public"
}
}