UNPKG

thaidatepicker-react

Version:

Thaidatepicker-react is a component for ReactJS that likes other DatePicker, but all we need is Buddhist Year (25XX - aka Thai Year) come with the right render day (example: Sat, 29 Feb 2020 must be equal to Sat, 29 Feb 2563) so I wish this component will

70 lines (69 loc) 2.35 kB
{ "name": "thaidatepicker-react", "version": "2.1.3", "description": "Thaidatepicker-react is a component for ReactJS that likes other DatePicker, but all we need is Buddhist Year (25XX - aka Thai Year) come with the right render day (example: Sat, 29 Feb 2020 must be equal to Sat, 29 Feb 2563) so I wish this component will be a useful thing to you :D. Happy Coding.", "type": "module", "directories": { "doc": "docs", "example": "example" }, "scripts": { "build": "yarn run clean && microbundle --format cjs,modern --css inline --jsx React.createElement", "clean": "rm -rf ./dist/* ./example/*/dist", "initial": "yarn install && cd ./example/with-vite-antd-tailwind && yarn install", "predeploy": "yarn run build && cd ./example/with-vite-antd-tailwind && yarn run build", "start": "yarn run clean && microbundle watch --no-compress --format cjs,modern --css inline --jsx React.createElement", "test": "cross-env CI=1 tsc && react-scripts test --env=jsdom", "test-coverage": "cross-env CI=1 tsc && react-scripts test --env=jsdom --coverage" }, "repository": { "type": "git", "url": "git+https://github.com/buildingwatsize/thaidatepicker-react.git" }, "keywords": [ "react", "datepicker", "buddhist", "thai", "leap", "year", "date" ], "author": "buildingwatsize", "license": "MIT", "bugs": { "url": "https://github.com/buildingwatsize/thaidatepicker-react/issues" }, "homepage": "https://github.com/buildingwatsize/thaidatepicker-react#readme", "dependencies": { "dayjs": "^1.11.13", "react-datepicker": "^8.4.0" }, "devDependencies": { "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.6.4", "@testing-library/react": "^16.3.0", "@types/jest": "^30.0.0", "@types/react": "^19.1.9", "@types/react-dom": "^19.1.7", "clsx": "^2.1.1", "cross-env": "^10.0.0", "microbundle": "^0.15.1", "mockdate": "^3.0.5", "react": "^19.1.1", "react-dom": "^19.1.1", "react-scripts": "^5.0.1", "tailwind-merge": "^3.3.1", "typescript": "^5.9.2" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0" }, "files": [ "dist" ], "source": "src/index.ts", "main": "dist/index.cjs", "module": "dist/index.modern.js", "types": "dist/index.d.ts" }