UNPKG

@linzjs/step-ag-grid

Version:

[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release) > Reusable [ag-grid](https://www.ag-grid.com/) component for LINZ / Toitū te whenua.

129 lines (128 loc) 3.6 kB
{ "name": "@linzjs/step-ag-grid", "repository": "github:linz/step-ag-grid.git", "license": "MIT", "version": "32.1.1", "keywords": [ "aggrid", "ag-grid", "react-menu", "grid", "table", "react", "react-component" ], "main": "dist/step-ag-grid.cjs", "type": "module", "typings": "dist/src/index.d.ts", "module": "dist/step-ag-grid.esm.js", "files": [ "dist", "src" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=22" }, "peerDependencies": { "@linzjs/lui": ">=21", "lodash-es": ">=4", "react": ">=18", "react-dom": ">=18" }, "dependencies": { "ag-grid-community": "34.3.1", "ag-grid-react": "34.3.1", "clsx": "^2.1.1", "debounce-promise": "^3.1.2", "matcher": "^6.0.0", "natsort": "^2.0.3", "react-transition-state": "^2.4.0", "usehooks-ts": "^3.1.1" }, "scripts": { "build": "node --eval \"fs.mkdirSync('./dist', { recursive: true })\" && run-s clean lintall css bundle", "yalc": "run-s clean css bundle && yalc push", "clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\"", "bundle": "rollup -c", "css": "sass ./src/styles/index.scss:dist/index.css --no-source-map", "test": "cross-env vitest run", "test:watch": "vitest --watch", "lintall": "run-s lint:oxlint", "lint:oxlint": "oxlint ./src", "lint:fix": "oxlint ./src --fix", "format": "oxfmt --write ./src", "format:check": "oxfmt --check ./src", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "deploy-storybook": "npx --yes -p @storybook/storybook-deployer storybook-to-ghpages", "chromatic": "chromatic --exit-zero-on-changes", "upgrade": "npx ncu -i --format group", "prepare": "husky" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "devDependencies": { "@chromatic-com/storybook": "^5.2.1", "@linzjs/lui": "^24.17.0", "@linzjs/windows": "^11.2.0", "@rollup/plugin-commonjs": "^29.0.3", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.3", "@storybook/addon-docs": "^10.4.6", "@storybook/addon-links": "^10.4.6", "@storybook/react": "^10.4.6", "@storybook/react-vite": "^10.4.6", "@testing-library/dom": "^10.4.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.6.1", "@types/debounce-promise": "^3.1.9", "@types/jest": "^30.0.0", "@types/jsdom": "^28.0.3", "@types/lodash-es": "^4.17.12", "@types/node": "^24.13.2", "@types/react": "^18.3.27", "@types/react-dom": "^18.3.7", "@vitejs/plugin-react": "^6.0.3", "@vitest/ui": "^4.1.9", "chromatic": "^17.6.0", "cross-env": "^10.1.0", "husky": "^9.1.7", "jsdom": "29.1.1", "lodash-es": "^4.18.1", "npm-run-all": "^4.1.5", "oxfmt": "^0.56.0", "oxlint": "^1.71.0", "postcss": "^8.5.15", "postcss-scss": "^4.0.9", "react": ">=19", "react-dom": "^19.2.7", "rollup": "^4.62.2", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.2", "rollup-plugin-typescript2": "^0.37.0", "sass": "^1.101.0", "storybook": "^10.4.6", "typescript": "^6.0.3", "vite": "^8.1.0", "vitest": "^4.1.9" }, "husky": { "hooks": { "pre-commit": "npm run lint" } } }