UNPKG

react-input-time

Version:

A simple, yet customizable, React component for time selection.

87 lines (86 loc) 2.06 kB
{ "name": "react-input-time", "version": "3.0.0", "description": "A simple, yet customizable, React component for time selection.", "author": "Jonathan Wilsson <jonathan.wilsson@gmail.com>", "main": "dist/TimeInput.js", "types": "dist/TimeInput.d.ts", "repository": { "type": "git", "url": "https://github.com/jwilsson/react-input-time.git" }, "keywords": [], "files": [ "dist" ], "dependencies": { "prop-types": "^15.6.2" }, "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "@babel/preset-typescript": "^7.12.7", "@testing-library/react": "^11.1.0", "@types/jest": "^26.0.20", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "babel-jest": "^26.0.1", "coveralls": "^3.0.2", "eslint": "^7.0.0", "eslint-config-jwilsson": "^5.0.0", "jest": "^26.0.1", "react": "^17.0.0", "react-dom": "^17.0.0", "typescript": "^4.1.3" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0", "react-dom": "^16.8.0 || ^17.0.0" }, "scripts": { "build": "babel src --out-dir dist --extensions \".ts,.tsx\" && tsc --emitDeclarationOnly --outDir dist", "lint": "eslint src/**/*.{ts,tsx} && tsc --noEmit", "prepublish": "npm run build", "pretest": "npm run lint", "test:watch": "jest --coverage --watch", "test": "jest --coverage" }, "babel": { "presets": [ "@babel/preset-react", "@babel/typescript", [ "@babel/preset-env", { "targets": { "browsers": [ ">0.25%" ] } } ] ] }, "eslintConfig": { "extends": "eslint-config-jwilsson/typescript", "overrides": [ { "files": [ "*.ts", "*.tsx" ], "parserOptions": { "project": [ "./tsconfig.json" ] } } ], "env": { "jest": true } }, "license": "MIT" }