UNPKG

react-native-timer-picker

Version:

A simple, flexible, performant duration picker for React Native apps 🔥 Great for timers, alarms and duration inputs ⏰🕰️⏳ Includes iOS-style haptic and audio feedback 🍏

149 lines (148 loc) 4.6 kB
{ "name": "react-native-timer-picker", "description": "A simple, flexible, performant duration picker for React Native apps 🔥\n\nGreat for timers, alarms and duration inputs ⏰🕰️⏳\n\nIncludes iOS-style haptic and audio feedback 🍏", "author": { "name": "Tim Roberts", "url": "https://github.com/troberts-28" }, "license": "MIT", "version": "2.1.1", "main": "dist/commonjs/index.js", "module": "dist/module/index.js", "types": "dist/typescript/index.d.ts", "typings": "dist/typescript/index.d.ts", "packageManager": "yarn@3.6.4", "workspaces": { "packages": [ "examples/*" ] }, "scripts": { "setup": "yarn install", "start": " yarn workspace example-expo start", "start-bare:android": "yarn workspace example-bare android && yarn workspace example-bare start", "start-bare:ios": "yarn workspace example-bare android && yarn workspace example-bare start", "test": "jest --forceExit --silent", "build": "bob build", "clean": "rm yarn.lock && rm -rf ./node_modules && yarn install", "lint": "eslint --ext .ts,.tsx .", "lint:fix": "eslint --ext .ts,.tsx . --fix", "prepare": "yarn build" }, "homepage": "https://github.com/troberts-28/react-native-timer-picker", "bugs": { "url": "https://github.com/troberts-28/react-native-timer-picker/issues" }, "repository": { "name": "GitHub", "type": "git", "url": "git+https://github.com/troberts-28/react-native-timer-picker.git" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "files": [ "dist", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "package.json", "README.md", "LICENSE" ], "keywords": [ "react", "react-native", "expo", "duration", "picker", "time", "timer", "alarm", "modal", "durationpicker", "duration-picker", "duration-picker-modal", "react-native-duration-picker", "react-native-duration-picker-modal", "timepicker", "time-picker", "alarmpicker", "alarm-picker", "alarm-picker-modal", "react-native-alarm-picker", "timerpicker", "timer-picker", "timer-picker-modal", "react-native-duration-picker-modal", "expo-duration-picker", "expo-time-picker", "expo-timepicker", "expo-durationpicker", "expo-duration-picker", "expo-time-picker", "expo-timepicker", "expo-durationpicker" ], "engines": { "node": ">=16.0.0" }, "jest": { "preset": "react-native", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "testEnvironment": "node", "modulePathIgnorePatterns": [ "<rootDir>/dist/", "<rootDir>/examples/" ], "transformIgnorePatterns": [] }, "peerDependencies": { "react": ">=18.2.0", "react-native": ">=0.72.0" }, "devDependencies": { "@babel/core": "^7.20.0", "@babel/plugin-transform-class-properties": "^7.22.5", "@babel/plugin-transform-flow-strip-types": "^7.22.5", "@babel/plugin-transform-private-methods": "^7.22.5", "@testing-library/react-native": "^12.0.0", "@types/jest": "^29.0.0", "@types/react": "^18.0.27", "@types/react-native": "^0.70.6", "@typescript-eslint/eslint-plugin": "^5.49.0", "@typescript-eslint/parser": "^5.49.0", "babel-jest": "^29.6.2", "eslint": "^8.44.0", "eslint-plugin-import": "^2.29.0", "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-sort-destructure-keys": "^1.5.0", "eslint-plugin-typescript-sort-keys": "^3.1.0", "jest": "^29.0.0", "metro-react-native-babel-preset": "^0.71.1", "react-native-builder-bob": "^0.18.3", "react-test-renderer": "^18.0.0", "typescript": "^4.7.4" }, "react-native-builder-bob": { "source": "src", "output": "dist", "targets": [ "commonjs", "module", "typescript" ] }, "eslintIgnore": [ "node_modules/", "dist/" ] }