UNPKG

react-date-range-headless

Version:

A React component for choosing dates and date ranges. A fork of hypeserver/react-date-range in which the Headless UI Listbox (Select) uses instead html select and options

89 lines (88 loc) 2.82 kB
{ "name": "react-date-range-headless", "version": "1.2.7", "description": "A React component for choosing dates and date ranges. A fork of hypeserver/react-date-range in which the Headless UI Listbox (Select) uses instead html select and options", "main": "dist/index.js", "types": "src/index.d.ts", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "start": "yarn build:css & styleguidist server", "build": "yarn build:css & yarn build:js", "build:css": "postcss src/styles.scss -d dist --ext css & postcss src/theme/*.scss -d dist/theme --ext css", "build:js": "babel ./src --out-dir ./dist --ignore test.js --copy-files", "lint": "eslint 'src/**/*.js'", "test": "jest", "preversion": "yarn clear & yarn build" }, "keywords": [ "react", "date", "range", "datepicker", "rangepicker", "headlessui" ], "contributors": [ "Schekhovtsov Sergey <schekhovtsov@gmail.com> (https://github.com/schekhovtsov)" ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/Schekhovtsov/react-date-range-headless" }, "browserslist": [ "defaults" ], "dependencies": { "@headlessui/react": "^1.7.17", "classnames": "^2.2.6", "prop-types": "^15.7.2", "react-list": "^0.8.13", "shallow-equal": "^1.2.1" }, "peerDependencies": { "date-fns": "2.0.0-alpha.7 || >=2.0.0", "react": "^0.14 || ^15.0.0-rc || >=15.0" }, "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.4.4", "@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/plugin-proposal-export-default-from": "^7.7.4", "@babel/preset-env": "^7.4.4", "@babel/preset-react": "^7.7.4", "autoprefixer": "^9.7.3", "babel-eslint": "^10.0.3", "babel-loader": "^8.0.6", "babel-plugin-date-fns": "^2.0.0", "babel-plugin-inline-react-svg": "^2.0.2", "css-loader": "^3.2.0", "date-fns": "^2.8.1", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.2", "enzyme-to-json": "^3.4.3", "eslint": "^6.8.0", "eslint-config-prettier": "^6.7.0", "eslint-plugin-import": "^2.19.1", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.17.0", "jest": "^24.9.0", "normalize.css": "^8.0.1", "postcss": "^8.2.13", "postcss-cli": "^6.1.3", "postcss-import": "^12.0.1", "postcss-loader": "^3.0.0", "precss": "^4.0.0", "prettier": "^1.19.1", "react": "^16.12.0", "react-dom": "^16.12.0", "react-styleguidist": "^10.4.0", "style-loader": "^1.0.0", "url-loader": "^3.0.0", "webpack": "^4.41.5" } }