react-segmented-input
Version:
Highly customizable React components for code input fields with TypeScript support
67 lines (66 loc) • 1.71 kB
JSON
{
"name": "react-segmented-input",
"version": "1.0.9",
"description": "Highly customizable React components for code input fields with TypeScript support",
"type": "module",
"main": "dist/index.umd.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js"
},
"./style.css": "./dist/react-segmented-input.css"
},
"files": [
"dist",
"README.md"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build:types": "tsc --emitDeclarationOnly",
"lint": "eslint .",
"preview": "vite preview",
"prepublishOnly": "npm run build"
},
"keywords": [
"react",
"code-input",
"verification-code",
"otp",
"pin",
"input",
"typescript"
],
"author": "enesmuzaffer22",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/enesmuzaffer22/react-segmented-input.git"
},
"homepage": "https://github.com/enesmuzaffer22/react-segmented-input#readme",
"bugs": {
"url": "https://github.com/enesmuzaffer22/react-segmented-input/issues"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@eslint/js": "^9.30.1",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.6.0",
"eslint": "^9.30.1",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"typescript": "~5.8.3",
"typescript-eslint": "^8.35.1",
"vite": "^7.0.4",
"vite-plugin-dts": "^4.5.4"
}
}