UNPKG

ag-grid-react-components

Version:

Give your users the date filtering they deserve. Relative date queries, quick filters, and shareable views for AG Grid.

167 lines (166 loc) 6.16 kB
{ "name": "ag-grid-react-components", "version": "0.1.0", "description": "Give your users the date filtering they deserve. Relative date queries, quick filters, and shareable views for AG Grid.", "type": "module", "packageManager": "npm@10.2.0", "main": "dist/ag-grid-react-components.umd.js", "module": "dist/ag-grid-react-components.es.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "// Development": "Development commands", "dev": "vite", "demo": "vite", "build": "tsc -p tsconfig.build.json && vite build", "build:demo": "vite build --config vite.config.demo.ts", "preview": "vite preview", "preview:demo": "vite preview --config vite.config.demo.ts", "dev:safe": "npm run quality && npm run dev", "// Testing": "Testing commands", "test": "vitest run && npm run test:e2e", "test:unit": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "test:e2e": "playwright test", "test:e2e:ui": "playwright test --ui", "test:e2e:debug": "playwright test --debug", "test:e2e:headed": "playwright test --headed", "test:browser": "node ./scripts/validate-demo.js", "test:thorough": "node ./scripts/thorough-demo-check.js", "test:filter-click": "node ./scripts/test-filter-click.js", "test:file": "vitest run", "coverage:report": "npm run test:coverage && open coverage/index.html", "// Code Quality": "Linting and formatting via Trunk", "lint": "trunk check --show-existing", "lint:fix": "trunk check --show-existing --fix", "lint:errors": "trunk check --show-existing | grep -E '(high|error)' || echo '✅ No errors found!'", "lint:styles": "trunk check --filter=stylelint", "format": "trunk fmt", "format:check": "trunk check --filter=prettier", "typecheck": "tsc --noEmit", "check": "trunk check --no-fix && npm run typecheck", "quality": "trunk check --no-fix && npm run check:whitespace", "pre-commit": "trunk fmt && npm run fix:whitespace && trunk check --fix && npm run typecheck", "check:whitespace": "./scripts/check-whitespace.sh", "fix:whitespace": "./scripts/fix-whitespace.sh", "// Legacy commands": "Direct tool commands (prefer Trunk)", "lint:direct": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "format:direct": "prettier --write .", "// Utilities": "Helper commands", "clean": "rm -rf dist coverage .parcel-cache playwright-report test-results", "fresh": "npm run clean && npm install && npm run build", "run-tsx": "node ./scripts/run-tsx.js", "bundle-size": "npm run build && echo '📦 Bundle Size:' && du -sh dist/* | sort -h", "// Git & Release": "Version control and publishing", "commit": "cz", "release": "standard-version", "release:minor": "standard-version --release-as minor", "release:major": "standard-version --release-as major", "release:patch": "standard-version --release-as patch", "release:prerelease": "standard-version --prerelease", "release:dry-run": "standard-version --dry-run", "release:first": "standard-version --first-release", "postrelease": "npm run release:notes", "release:notes": "echo 'Release notes generated in CHANGELOG.md'", "// Lifecycle": "npm lifecycle hooks", "prepublishOnly": "npm run build", "postinstall": "playwright install", "prepare": "husky" }, "peerDependencies": { "ag-grid-community": "^33.3.0", "ag-grid-react": "^33.3.0", "date-fns": "^4.0.0", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "ag-grid-enterprise": { "optional": true } }, "keywords": [ "ag-grid", "react", "date-filter", "relative-dates", "quick-filter", "filtering", "data-grid", "typescript", "tree-shakeable" ], "author": "Ryan Rozich <ryan@rozich.net>", "license": "MIT", "homepage": "https://github.com/ryanrozich/ag-grid-react-components#readme", "repository": { "type": "git", "url": "git+https://github.com/ryanrozich/ag-grid-react-components.git" }, "bugs": { "url": "https://github.com/ryanrozich/ag-grid-react-components/issues" }, "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@playwright/experimental-ct-react": "^1.52.0", "@playwright/test": "^1.52.0", "@tailwindcss/postcss": "^4.1.7", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/lz-string": "^1.3.34", "@types/node": "^20.10.0", "@types/react": "^19.1.4", "@types/react-datepicker": "^6.2.0", "@types/react-dom": "^19.1.5", "@types/react-router-dom": "^5.3.3", "@types/react-syntax-highlighter": "^15.5.13", "@typescript-eslint/eslint-plugin": "^8.33.0", "@typescript-eslint/parser": "^8.33.0", "@vitejs/plugin-react": "^4.4.1", "@vitest/coverage-v8": "^3.2.4", "ag-grid-community": "^33.3.0", "ag-grid-enterprise": "^33.3.0", "ag-grid-react": "^33.3.0", "autoprefixer": "^10.4.21", "commitizen": "^4.3.1", "cz-conventional-changelog": "^3.3.0", "date-fns": "^4.1.0", "eslint": "^9.27.0", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "husky": "^9.1.7", "jsdom": "^26.1.0", "postcss": "^8.5.3", "prettier": "^3.5.3", "puppeteer": "^24.8.2", "react": "^19.1.0", "react-dom": "^19.1.0", "react-router-dom": "^7.6.2", "react-syntax-highlighter": "^15.6.1", "standard-version": "^9.5.0", "stylelint": "^16.19.1", "stylelint-config-standard": "^38.0.0", "stylelint-config-tailwindcss": "^1.0.0", "tailwindcss": "^3.3.5", "typescript": "^5.8.3", "vite": "^6.3.5", "vitest": "^3.1.3" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "optionalDependencies": { "lz-string": "^1.5.0", "react-datepicker": "^8.4.0" }, "overrides": { "prismjs": "^1.30.0" } }