UNPKG

antd-input-otp

Version:

An OTP Input Component based on Ant Design Component Library for React.

87 lines (86 loc) 2.79 kB
{ "name": "antd-input-otp", "version": "2.1.0", "description": "An OTP Input Component based on Ant Design Component Library for React.", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "scripts": { "clean": "npm run clean:win && npm run clean:lin", "clean:win": "node -e \"if (process.platform === 'win32') process.exit(1)\" || , if exist dist rmdir /Q /S dist", "clean:lin": "node -e \"if (process.platform !== 'win32') process.exit(1)\" || rm -rf dist", "build": "npm run clean && rollup -c", "patch": "npm version patch", "lint": "eslint ./src --ext .jsx,.js,.ts,.tsx --fix --ignore-path ./.eslintignore --report-unused-disable-directives --max-warnings 0", "test": "jest", "prepare": "husky install", "coverage": "jest --coverage --coverageReporters=\"json-summary\"" }, "keywords": [ "antd", "ant", "design", "react", "component", "otp", "input" ], "repository": { "type": "git", "url": "git+https://github.com/Ralfarios/antd-input-otp.git" }, "author": "Ralfarios", "license": "MIT", "devDependencies": { "@babel/core": "^7.23.0", "@babel/preset-env": "^7.22.20", "@babel/preset-react": "^7.22.15", "@commitlint/cli": "^17.7.2", "@commitlint/config-conventional": "^17.7.0", "@commitlint/cz-commitlint": "^17.7.2", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.2", "@rollup/plugin-node-resolve": "^15.1.0", "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^11.1.2", "@testing-library/jest-dom": "^6.1.3", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.5.1", "@types/jest": "^29.5.5", "@types/node": "^20.1.0", "@types/react": "^18.2.6", "@types/testing-library__jest-dom": "^6.0.0", "@typescript-eslint/eslint-plugin": "^6.7.0", "@typescript-eslint/parser": "^6.7.0", "antd": "^5.12.2", "babel-jest": "^29.7.0", "babel-plugin-jsx-remove-data-test-id": "^3.0.0", "classnames": "^2.3.2", "commitizen": "^4.3.0", "eslint": "^8.49.0", "eslint-plugin-import": "^2.28.1", "eslint-plugin-react": "^7.33.2", "identity-obj-proxy": "^3.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-mock": "^29.7.0", "husky": "^8.0.3", "postcss": "^8.4.32", "prettier": "^3.0.3", "rollup": "^3.26.2", "rollup-plugin-dts": "^5.3.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.2", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "tslib": "^2.5.0", "typescript": "^5.1.6" }, "peerDependencies": { "antd": ">=4.19.0", "react": ">=16.8.0" }, "files": [ "dist" ], "types": "dist/index.d.ts" }