UNPKG

react-dates

Version:

A responsive and accessible date range picker component built with React

136 lines (135 loc) 5.61 kB
{ "name": "react-dates", "version": "15.2.0", "description": "A responsive and accessible date range picker component built with React", "main": "index.js", "scripts": { "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:css -- --optimize ", "build:cjs": "BABEL_ENV=cjs babel src/ -d lib/", "build:esm": "BABEL_ENV=esm babel src/ -d esm/", "prebuild:css": "rimraf lib/css && mkdir -p lib/css", "build:css": "node scripts/buildCSS.js", "clean": "rimraf lib esm", "precover": "rimraf coverage && npm run react", "cover": "cross-env NODE_ENV=test node --max-old-space-size=2048 $(which nyc) npm run mocha test", "lint": "eslint --ext .js,.jsx src test", "mocha": "mocha ./test/_helpers", "storybook:uninstall": "npm uninstall --no-save @storybook/react && rimraf node_modules/@storybook node_modules/react-modal node_modules/react-dom-factories", "react": "enzyme-adapter-react-install 16", "pretest": "npm run --silent lint", "pretests-only": "npm run react", "tests-only": "npm run mocha --silent test", "pretests-karma": "npm run react", "tests-karma": "karma start", "test": "npm run tests-only", "storybook": "start-storybook -p 6006", "storybook:css": "npm run build:css && start-storybook -p 6006 -c .storybook-css", "tag": "git tag v$npm_package_version", "gh-pages:clean": "rimraf _gh-pages", "gh-pages:build": "$(npm bin)/build-storybook -o _gh-pages", "gh-pages:publish": "$(npm bin)/git-directory-deploy --directory _gh-pages", "gh-pages": "npm run gh-pages:clean && npm run gh-pages:build && npm run gh-pages:publish", "version:patch": "npm --no-git-tag-version version patch", "version:minor": "npm --no-git-tag-version version minor", "version:major": "npm --no-git-tag-version version major", "preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed", "postversion": "git commit package.json CHANGELOG.md -m \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish --registry=https://registry.npmjs.org/", "prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish", "postpublish": "npm run gh-pages", "check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)", "check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0" }, "repository": { "type": "git", "url": "git+https://github.com/airbnb/react-dates.git" }, "author": "Maja Wichrowska <maja.wichrowska@airbnb.com>", "license": "MIT", "bugs": { "url": "https://github.com/airbnb/react-dates/issues" }, "homepage": "https://github.com/airbnb/react-dates#readme", "devDependencies": { "@storybook/addon-actions": "^3.2.12", "@storybook/addon-info": "^3.2.9", "@storybook/addon-links": "^3.2.12", "@storybook/addon-options": "^3.2.6", "@storybook/react": "^3.2.8", "airbnb-js-shims": "^1.3.0", "aphrodite": "^1.2.5", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-loader": "^6.4.1", "babel-plugin-inline-react-svg": "^0.5.1", "babel-plugin-inline-svg": "^0.1.0", "babel-plugin-istanbul": "^4.1.5", "babel-plugin-syntax-jsx": "^6.18.0", "babel-plugin-transform-replace-object-assign": "^0.2.1", "babel-preset-airbnb": "^2.4.0", "babel-register": "^6.26.0", "chai": "^4.1.2", "clean-css": "^4.1.9", "coveralls": "^2.13.3", "cross-env": "^5.1.1", "enzyme": "^3.2.0", "enzyme-adapter-react-helper": "^1.0.3", "eslint": "^4.11.0", "eslint-config-airbnb": "^16.1.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7.4.0", "eslint-plugin-react-with-styles": "^1.1.1", "git-directory-deploy": "^1.5.1", "imports-loader": "^0.7.1", "in-publish": "^2.0.0", "json-loader": "^0.5.7", "karma": "^1.7.1", "karma-chai": "^0.1.0", "karma-firefox-launcher": "^1.0.1", "karma-mocha": "^1.3.0", "karma-sinon": "^1.0.5", "karma-webpack": "^2.0.5", "mocha": "^3.5.3", "mocha-wrap": "^2.1.1", "moment": "^2.19.2", "moment-jalaali": "^0.7.2", "node-sass": "^4.5.3", "nyc": "^11.2.1", "raw-loader": "^0.5.1", "react": "^0.14 || ^15.5.4 || ^16.1.1", "react-dom": "^0.14 || ^15.5.4 || ^16.1.1", "react-with-styles-interface-aphrodite": "^3.1.1", "react-with-styles-interface-css-compiler": "^1.1.0", "rimraf": "^2.6.2", "safe-publish-latest": "^1.1.1", "sass-loader": "^6.0.6", "sinon": "^4.1.2", "sinon-sandbox": "^1.0.2", "style-loader": "^0.19.0", "webpack": "^2.6.1" }, "dependencies": { "airbnb-prop-types": "^2.8.1", "consolidated-events": "^1.1.0", "is-touch-device": "^1.0.1", "lodash": "^4.1.1", "object.assign": "^4.0.4", "object.values": "^1.0.4", "prop-types": "^15.5.10", "react-addons-shallow-compare": "^15.5.2", "react-moment-proptypes": "^1.5.0", "react-portal": "^3.1.0", "react-with-styles": "^2.2.0", "react-with-styles-interface-css": "^3.0.0" }, "peerDependencies": { "moment": "^2.18.1", "react": "^0.14 || ^15.5.4 || ^16.1.1", "react-dom": "^0.14 || ^15.5.4 || ^16.1.1" }, "greenkeeper": { "ignore": [ "webpack" ] } }