UNPKG

headless-react-datepicker

Version:

A headless, highly customizable, multi-calendar date picker component for React. It supports various calendars and locales.

124 lines (123 loc) 3.65 kB
{ "name": "headless-react-datepicker", "version": "1.2.0", "description": "A headless, highly customizable, multi-calendar date picker component for React. It supports various calendars and locales.", "author": "Sepehr Karimi <karimi.sepehr2@gmail.com>", "type": "module", "repository": { "type": "git", "url": "git@github.com/sepehr09/headless-react-datepicker.git", "directory": "/" }, "homepage": "https://sepehr09.github.io/headless-react-datepicker", "bugs": { "url": "https://github.com/sepehr09/headless-react-datepicker/issues" }, "license": "MIT", "keywords": [ "react", "datepicker", "date picker", "rangepicker", "date", "calendar", "jalali", "persian", "gregorian", "multi-calendar", "multi-datepicker", "multi-date-picker", "locales", "temporal", "TC39", "Intl", "headless", "Indian", "Iso8601", "Japanese", "Buddhist", "Chinese", "Coptic", "Dangi", "Ethioaa", "Ethiopic", "Hebrew", "Islamic", "Islamic-umalqura", "Roc" ], "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/d/index.d.ts", "files": [ "/dist" ], "scripts": { "dev": "vite", "build-vite": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", "storybook": "storybook dev -p 6006", "build": "rm -rf dist && yarn build:rollup", "build-storybook": "storybook build --output-dir ./docs", "build:rollup": "NODE_ENV=production rollup -c --bundleConfigAsCjs", "test": "TZ=UTC vitest", "test:coverage": "TZ=UTC vitest --coverage" }, "peerDependencies": { "react": "^16.8.0 || ^17 || ^18", "react-dom": "^16.8.0 || ^17 || ^18" }, "dependencies": { "@js-temporal/polyfill": "^0.4.4" }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", "@storybook/addon-essentials": "^7.6.10", "@storybook/addon-interactions": "^7.6.10", "@storybook/addon-links": "^7.6.10", "@storybook/addon-onboarding": "^1.0.11", "@storybook/blocks": "^7.6.10", "@storybook/manager-api": "^8.1.10", "@storybook/react": "^7.6.10", "@storybook/react-vite": "^7.6.10", "@storybook/test": "^7.6.10", "@testing-library/dom": "^10.2.0", "@testing-library/jest-dom": "^6.4.6", "@testing-library/react": "^16.0.0", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.5.2", "@types/jalaali-js": "^1.1.3", "@types/jsdom": "^21.1.7", "@types/node": "^20.14.10", "@types/react": "^18.2.43", "@types/react-dom": "^18.2.17", "@types/testing-library__jest-dom": "^6.0.0", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", "@vitejs/plugin-react": "^4.2.1", "@vitest/coverage-istanbul": "^1.6.0", "autoprefixer": "^10.4.17", "eslint": "^8.55.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.5", "eslint-plugin-storybook": "^0.6.15", "jsdom": "^24.1.0", "postcss": "^8.4.33", "react": "^18.2.0", "react-dom": "^18.2.0", "rollup": "^4.9.6", "rollup-plugin-postcss": "^4.0.2", "rollup-plugin-typescript2": "^0.36.0", "storybook": "^7.6.10", "storybook-addon-deep-controls": "^0.3.1", "tailwindcss": "^3.4.1", "timezone-mock": "^1.3.6", "tslib": "^2.6.2", "typescript": "^5.2.2", "vite": "^5.0.8", "vitest": "^1.6.0" }, "packageManager": "yarn@4.9.2" }