UNPKG

react-period-of-stay-input

Version:

React.js component for entering a period of stay in a hotel: check-in + check-out date

74 lines (73 loc) 2.07 kB
{ "name": "react-period-of-stay-input", "version": "7.0.0", "description": "React.js component for entering a period of stay in a hotel: check-in + check-out date", "main": "dist/index.js", "types": "dist/index.d.ts", "browser": "dist/browser.js", "scripts": { "build": "tsc", "demo": "parcel serve -d www --no-source-maps src/demo.html", "demo-build": "parcel build -d www --no-source-maps --public-url /h/react-period-of-stay-input src/demo.html", "lint": "tslint -c tslint.json src/*.{ts,tsx} test/*.{ts,tsx}", "prepublishOnly": "npm run build", "pretest": "npm run lint", "tdd": "mocha -r ts-node/register -r tests/helpers/enzyme --watch-extensions ts,tsx -b -R min -w tests/*.spec.*", "test": "mocha -r ts-node/register -r tests/helpers/enzyme -b tests/*.spec.*" }, "repository": { "type": "git", "url": "git://github.com/ikr/react-period-of-stay-input.git" }, "keywords": [ "TypeScript", "accommodation", "browser", "check-in", "check-out", "component", "control", "dates", "days", "form", "hotel", "html", "input", "nights", "react-component", "reactjs", "stay", "widget" ], "author": "Ivan Krechetov <ikr@ikr.su>", "license": "MIT", "bugs": { "url": "https://github.com/ikr/react-period-of-stay-input/issues" }, "dependencies": { "moment": "^2.22.2", "react-datepicker": "^1.6.0", "react-intl": "^2.4.0" }, "devDependencies": { "@types/enzyme": "^3.1.13", "@types/mocha": "^5.2.5", "@types/react": "^16.4.9", "@types/react-datepicker": "^1.1.7", "@types/react-dom": "^16.0.7", "@types/react-intl": "^2.3.9", "@types/sinon": "^5.0.1", "enzyme": "^3.4.1", "enzyme-adapter-react-16": "^1.2.0", "insert-css": "^2.0.0", "jsdom": "^11.12.0", "mocha": "^5.2.0", "parcel-bundler": "^1.9.7", "react": "^16.4.2", "react-dom": "^16.4.2", "sinon": "^6.1.5", "ts-node": "^7.0.1", "tslint": "^5.11.0", "typescript": "^3.0.1" } }