UNPKG

crisli-picker

Version:

A modern, customizable date and time picker library for React applications with configurable time intervals and booking system support

146 lines (145 loc) 3.95 kB
{ "name": "crisli-picker", "version": "1.0.0", "description": "A modern, customizable date and time picker library for React applications with configurable time intervals and booking system support", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "src/types/index.d.ts", "exports": { ".": { "import": "./dist/index.esm.js", "require": "./dist/index.js", "types": "./src/types/index.d.ts" } }, "files": [ "dist", "src/types" ], "scripts": { "build": "rollup -c", "dev": "concurrently \"npm run build:watch\" \"npm run demo:dev\"", "build:watch": "rollup -c -w", "demo:dev": "cd demo && npm run dev", "demo:build": "cd demo && npm run build", "demo:preview": "cd demo && npm run preview", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "type-check": "tsc --noEmit --project src/types/tsconfig.json", "lint": "eslint src/ --ext .js,.jsx", "lint:fix": "eslint src/ --ext .js,.jsx --fix", "format": "prettier --write \"src/**/*.{js,jsx}\" \"demo/src/**/*.{js,jsx}\" \"*.{js,json,md}\"", "format:check": "prettier --check \"src/**/*.{js,jsx}\" \"demo/src/**/*.{js,jsx}\" \"*.{js,json,md}\"", "prepare": "husky install", "prepublishOnly": "npm run build && npm run type-check" }, "dependencies": { "@use-gesture/react": "^10.3.0", "date-fns": "^2.30.0", "react-spring": "^9.7.3" }, "peerDependencies": { "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0" }, "keywords": [ "react", "date-picker", "time-picker", "wheel-picker", "calendar", "mobile", "responsive", "booking", "scheduling", "appointment", "disable-past", "future-only", "reservation", "time-intervals", "time-steps", "minute-intervals", "hour-intervals", "15-minute", "30-minute", "appointment-booking" ], "author": "Nazmul H. Rupok", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/rupok/crisli-picker.git" }, "homepage": "https://rupok.github.io/crisli-picker", "publishConfig": { "access": "public" }, "devDependencies": { "@babel/core": "^7.23.0", "@babel/preset-env": "^7.23.0", "@babel/preset-react": "^7.22.15", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.4", "@rollup/plugin-node-resolve": "^15.2.1", "@testing-library/jest-dom": "^6.1.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.5.0", "@types/jest": "^29.5.0", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "concurrently": "^8.2.0", "eslint": "^8.55.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "husky": "^8.0.3", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^15.5.2", "prettier": "^3.5.3", "rollup": "^2.79.1", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-terser": "^7.0.2", "typescript": "^5.0.0" }, "jest": { "testEnvironment": "jsdom", "setupFilesAfterEnv": [ "<rootDir>/tests/setup.js" ], "transform": { "^.+\\.(js|jsx)$": "babel-jest" }, "moduleNameMapper": { "^@/(.*)$": "<rootDir>/src/$1" }, "testMatch": [ "<rootDir>/tests/**/*.test.{js,jsx}", "<rootDir>/src/**/*.test.{js,jsx}" ], "collectCoverageFrom": [ "src/**/*.{js,jsx}", "!src/index.js", "!src/types/**/*" ], "coverageDirectory": "coverage", "coverageReporters": [ "text", "lcov", "html" ] }, "lint-staged": { "src/**/*.{js,jsx}": [ "eslint --fix", "prettier --write" ], "demo/src/**/*.{js,jsx}": [ "eslint --fix", "prettier --write" ], "*.{js,json,md}": [ "prettier --write" ] } }