UNPKG

antd-jalali-fixed

Version:

A wrapper for ant-design datepicker and calendar to support Jalali calendar type with dayjs.

72 lines (71 loc) 1.86 kB
{ "name": "antd-jalali-fixed", "version": "2.1.1", "description": "A wrapper for ant-design datepicker and calendar to support Jalali calendar type with dayjs.", "keywords": [ "ant", "ant5", "datepicker", "calendar", "jalali", "persian", "shamsi", "dayjs", "khorshidi" ], "author": "ashkan4ever", "homepage": "https://ashkan4ever.github.io/antd-jalali-fixed/", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/ashkan4ever/antd-jalali-fixed" }, "main": "lib/cjs/index.cjs.js", "module": "lib/esm/index.js", "types": "lib/types/index.d.ts", "files": [ "lib", "README.md" ], "scripts": { "dev": "vite -d", "build": "tsc -b && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", "ts-declaration": " tsc -p ./tsconfig.lib.json --emitDeclarationOnly --outDir lib/types", "build:lib": "rimraf lib && node ./esbuild.js && npm run ts-declaration" }, "dependencies": { "dayjs": "^1.11.10", "jalali-plugin-dayjs": "^1.1.4" }, "peerDependencies": { "antd": "^5.18.3", "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", "eslint": "^8.57.0", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-refresh": "^0.4.7", "typescript": "^5.2.2", "vite": "^5.3.1", "vite-plugin-gh-pages": "^1.0.1" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }