react-datepicker-lite
Version:
A lightweight, accessible, and customizable React date picker component with TypeScript support
177 lines (176 loc) • 4.97 kB
JSON
{
"name": "react-datepicker-lite",
"version": "1.1.1",
"description": "A lightweight, accessible, and customizable React date picker component with TypeScript support",
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.umd.js"
},
"./dist/index.css": "./dist/index.css"
},
"files": [
"dist",
"README.md",
"USAGE_EXAMPLES.md",
"LICENSE"
],
"scripts": {
"dev": "vite",
"build": "vite build && tsc --project tsconfig.build.json",
"build:watch": "vite build --watch",
"test": "jest",
"test:ui": "jest --watch",
"test:coverage": "jest --coverage",
"test:run": "jest",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"format": "prettier --write src/**/*.{ts,tsx,css}",
"format:check": "prettier --check src/**/*.{ts,tsx,css}",
"type-check": "tsc --noEmit",
"pipeline:check": "npm run format:check && npm run lint && npm run type-check && npm run test:run && npm run build",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"size": "npm run build && bundlewatch",
"size:analyze": "vite-bundle-analyzer dist/stats.json",
"prepare": "husky install",
"prepublishOnly": "npm run build && npm run test:run",
"release": "semantic-release",
"release:manual": "node scripts/manual-release.js",
"release:manual:patch": "node scripts/manual-release.js patch",
"release:manual:minor": "node scripts/manual-release.js minor",
"release:manual:major": "node scripts/manual-release.js major"
},
"keywords": [
"react",
"datepicker",
"calendar",
"date",
"picker",
"typescript",
"accessible",
"a11y",
"mobile",
"responsive",
"lightweight",
"customizable",
"moment",
"timezone"
],
"author": "Ankit Roy <ankit.roy.0602@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ankit-roy-0602/react-datepicker-lite.git"
},
"bugs": {
"url": "https://github.com/ankit-roy-0602/react-datepicker-lite/issues"
},
"homepage": "https://github.com/ankit-roy-0602/react-datepicker-lite#readme",
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": false
},
"react-dom": {
"optional": false
}
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@storybook/addon-a11y": "^8.6.14",
"@storybook/addon-essentials": "^8.6.14",
"@storybook/addon-interactions": "^8.6.14",
"@storybook/addon-links": "^8.6.14",
"@storybook/blocks": "^8.6.14",
"@storybook/react": "^8.6.14",
"@storybook/react-vite": "^8.6.14",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^30.0.0",
"@types/node": "^24.1.0",
"@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"@vitejs/plugin-react": "^4.3.4",
"axe-core": "^4.10.2",
"bundlewatch": "^0.4.1",
"eslint": "^9.32.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.3.0",
"husky": "^9.1.7",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.0.5",
"jest-environment-jsdom": "^30.0.5",
"jsdom": "^26.1.0",
"lint-staged": "^16.1.2",
"prettier": "^3.4.2",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"rollup-plugin-visualizer": "^6.0.3",
"semantic-release": "^24.2.7",
"storybook": "^8.6.14",
"terser": "^5.37.0",
"ts-jest": "^29.2.5",
"typescript": "5.8.3",
"vite": "^6.0.7",
"vite-bundle-analyzer": "^1.1.0"
},
"optionalDependencies": {
"moment": "^2.30.1"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"src/**/*.{css}": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
},
"browserslist": [
"Chrome >= 100",
"Firefox >= 100",
"Safari >= 15.6",
"Edge >= 100",
"iOS >= 15.6",
"Android >= 100"
],
"bundlewatch": {
"files": [
{
"path": "./dist/index.umd.js",
"maxSize": "50 kB"
},
{
"path": "./dist/index.esm.js",
"maxSize": "50 kB"
}
]
}
}