UNPKG

material-ui-arabic-datepicker

Version:

React components, that implements material design date and time pickers for material-ui v1 including a customized Datepicker with arabic header, months and weekdays and English numbers, modfied implementation from materail-ui-pickers

137 lines (136 loc) 4.91 kB
{ "name": "material-ui-arabic-datepicker", "version": "1.0.4", "description": "React components, that implements material design date and time pickers for material-ui v1 including a customized Datepicker with arabic header, months and weekdays and English numbers, modfied implementation from materail-ui-pickers", "main": "build/dist/material-ui-pickers.cjs.js", "module": "build/dist/material-ui-pickers.es.js", "types": "src/index.d.ts", "keywords": [ "material-ui", "pickers", "material-ui-pickers", "datepicker", "timepicker", "date-picker", "time-picker", "react", "react-component", "material design", "Arabic" ], "license": "MIT", "homepage": "https://material-ui-pickers.firebaseapp.com/", "repository": { "type": "git", "url": "https://github.com/aligredo/material-ui-arabic-datepicker" }, "author": { "name": "Dmitriy Kovalenko", "email": "dmtr.kovalenko@outlook.com" }, "peerDependencies": { "classnames": "^2.2.5", "@material-ui/core": "^1.0.0-rc.0", "prop-types": "^15.6.0", "react": "^16.3.0", "react-dom": "^16.3.0" }, "externalDependencies": { "moment": "^2.19.2", "date-fns": "2.0.0-alpha.7", "luxon": "^1.0.0" }, "dependencies": { "react-event-listener": "^0.6.1", "react-text-mask": "=5.4.1", "recompose": "^0.27.1" }, "size-limit": [ { "path": "build/dist/material-ui-pickers.cjs.js", "limit": "25 KB" } ], "scripts": { "test": "npm run test:date-fns && npm run test:luxon && npm run test:moment", "all-tests": "jest && npm run typescript", "test:moment": "cross-env UTILS=moment npm run all-tests", "test:date-fns": "cross-env UTILS=date-fns npm run all-tests", "test:luxon": "cross-env UTILS=luxon npm run all-tests", "typescript": "tsc -p tsconfig.json", "start": "cross-env NODE_ENV=development rollup --config --watch", "prebuild": "rimraf build", "build:copy": "node copy.js", "build:bundle": "cross-env NODE_ENV=production BABEL_ENV=modules rollup --config", "build:es2015": "cross-env NODE_ENV=production babel ./src --out-dir ./build", "build:es2015modules": "cross-env NODE_ENV=production BABEL_ENV=modules babel ./src/index.js --out-file ./build/index.es.js", "build": "npm run build:bundle && npm run build:es2015modules && npm run build:es2015 && npm run build:copy", "ci": "npm run test && codecov && npm run lint && npm run build && size-limit", "prerelease": "npm run ci", "release": "np --no-publish --any-branch", "postrelease": "npm run build && npm publish build", "lint": "eslint ./src/**/*.js*", "lint-fix": "npm run lint -- --fix", "postinstall": "node -e \"console.log('\\u001b[35m\\u001b[1mHave you installed one of peer libraries?\\u001b[22m\\u001b[39m\\n > date-fns \\n > luxon \\n > moment')\"" }, "devDependencies": { "@material-ui/core": "^1.3.0", "@types/classnames": "^2.2.3", "@types/jest": "^22.2.3", "@types/jss": "^9.5.2", "@types/luxon": "^0.5.3", "@types/moment": "^2.13.0", "@types/prop-types": "^15.5.2", "@types/react": "^16.4.4", "@types/react-event-listener": "^0.4.5", "@types/recompose": "^0.26.1", "babel-cli": "^6.24.1", "babel-core": "^6.26.2", "babel-eslint": "^8.2.5", "babel-helpers": "^6.24.1", "babel-jest": "^21.2.0", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-plugin-transform-react-jsx": "^6.24.1", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.5.1", "babel-preset-es2015": "^6.24.1", "babel-preset-latest": "^6.24.1", "classnames": "^2.2.5", "codecov": "^3.0.2", "cross-env": "^5.2.0", "date-fns": "2.0.0-alpha.7", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.0", "enzyme-react-adapter-future": "^1.1.3", "eslint": "^4.19.1", "eslint-config-airbnb": "^16.0.0", "eslint-plugin-import": "^2.13.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7.10.0", "fs-extra": "^4.0.2", "full-icu": "^1.2.1", "glob": "^7.1.2", "jest": "^21.2.1", "luxon": "^1.3.0", "moment": "^2.22.1", "np": "^2.20.1", "prop-types": "^15.6.2", "react": "^16.4.1", "react-dom": "^16.4.1", "rollup": "^0.51.8", "rollup-plugin-babel": "^3.0.5", "rollup-plugin-commonjs": "^8.4.1", "rollup-plugin-filesize": "^1.5.0", "rollup-plugin-node-resolve": "^3.3.0", "size-limit": "^0.18.3", "typescript": "^2.9.2" }, "jest": { "setupTestFrameworkScriptFile": "<rootDir>/__tests__/setup.js", "testRegex": "__tests__/.*\\.test\\.js$", "collectCoverage": true } }