UNPKG

hamro-nepali-patro

Version:

A modern React component library for Nepali (Bikram Sambat, BS) and Gregorian (AD) calendar date picking, conversion, and utilities. Includes a customizable datepicker, BS/AD conversion, and Nepali date functions.

114 lines 3.25 kB
{ "name": "hamro-nepali-patro", "version": "1.2.2", "description": "A modern React component library for Nepali (Bikram Sambat, BS) and Gregorian (AD) calendar date picking, conversion, and utilities. Includes a customizable datepicker, BS/AD conversion, and Nepali date functions.", "license": "MIT", "main": "dist/index.js", "module": "dist/index.esm.js", "source": "src/index.ts", "typings": "dist/index.d.ts", "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/TilakKhatri/nepali-calendar.git" }, "bugs": { "url": "https://github.com/TilakKhatri/nepali-calendar/issues" }, "homepage": "https://github.com/TilakKhatri/nepali-calendar#readme", "engines": { "node": ">=10" }, "keywords": [ "nepali-calendar", "nepali datepicker", "react nepali datepicker", "bikram sambat", "bs to ad", "ad to bs", "bs/ad conversion", "nepali date", "nepali calendar react", "react datepicker", "react calendar", "calendar component", "react component", "date conversion", "nepal", "bs", "ad", "react", "datepicker", "calendar", "bikram sambat calendar", "gregorian calendar", "date-fns", "customizable datepicker", "localization", "i18n", "npm package", "typescript" ], "scripts": { "build": "yarn build:types && rollup -c && cp src/styles.css dist/styles.css", "build:types": "tsc --emitDeclarationOnly --declaration --outDir dist", "dev": "rollup -cw", "prepare": "run-s build", "lint": "prettier --check .", "format": "prettier --write ." }, "dependencies": { "@popperjs/core": "^2.11.8", "date-fns": "^4.1.0" }, "devDependencies": { "@babel/core": "^7.28.0", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/preset-env": "^7.28.0", "@babel/preset-react": "^7.27.1", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-typescript": "^12.1.4", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", "@types/jest": "^30.0.0", "@types/node": "^20.0.0", "@types/react": "^16.14.0", "@types/react-dom": "^16.9.0", "@typescript-eslint/eslint-plugin": "^2.34.0", "@typescript-eslint/parser": "^2.34.0", "eslint": "^6.8.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-react": "^7.19.0", "husky": "^7.0.1", "npm-run-all": "^4.1.5", "prettier": "^3.4.2", "react": "^16.13.1", "react-dom": "^16.13.1", "rollup": "^4.45.1", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-terser": "^7.0.2", "tslib": "^2.8.1", "typescript": "^5.8.3" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "husky": { "hooks": { "pre-commit": "npm run format" } }, "eslintConfig": { "extends": "react-app" }, "files": [ "dist", "src/styles.css" ] }