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.

156 lines (155 loc) 4.41 kB
{ "name": "@linzjs/step-ag-grid", "repository": "github:linz/step-ag-grid.git", "license": "MIT", "version": "29.16.0", "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", "ag-grid-community": "~34.2.0", "ag-grid-react": "~34.2.0", "lodash-es": ">=4", "react": ">=18", "react-dom": ">=18" }, "dependencies": { "clsx": "^2.1.1", "debounce-promise": "^3.1.2", "matcher": "^5.0.0", "natsort": "^2.0.3", "react-transition-state": "^2.3.1", "usehooks-ts": "^3.1.1", "uuid": "^13.0.0" }, "scripts": { "build": "run-s clean linters css bundle", "yalc": "run-s clean css bundle && yalc push", "clean": "rimraf dist && mkdirp ./dist", "bundle": "rollup -c", "css": "sass ./src/styles/index.scss:dist/index.css --no-source-map", "test": "cross-env NODE_OPTIONS='--no-experimental-global-navigator' vitest run", "test:watch": "vitest --watch", "linters": "run-s lint:eslint lint:circulardeps", "lint:eslint": "eslint ./src --ext .js,.ts,.tsx --cache --ignore-path .gitignore", "lint:circulardeps": "npx madge --circular --extensions ts,tsx ./src", "lint:fix": "eslint ./src --ext .js,.ts,.tsx --fix --cache --ignore-path .gitignore", "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" }, "eslintConfig": { "extends": [ "react-app" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "^4.53.3", "@swc/core-linux-x64-gnu": "^1.15.3" }, "devDependencies": { "@chromatic-com/storybook": "^4.1.3", "@linzjs/lui": "^24.3.1", "@linzjs/style": "^5.4.0", "@linzjs/windows": "^8.3.0", "@rollup/plugin-commonjs": "^28.0.9", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.3", "@storybook/addon-docs": "^9.1.16", "@storybook/addon-links": "^9.1.16", "@storybook/react": "^9.1.16", "@storybook/react-vite": "^9.1.16", "@testing-library/dom": "^10.4.1", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/debounce-promise": "^3.1.9", "@types/jsdom": "^21.1.7", "@types/lodash-es": "^4.17.12", "@types/node": "^22.19.2", "@types/react": "^18.3.27", "@types/react-dom": "^18.3.7", "@types/uuid": "^11.0.0", "@vitejs/plugin-react-swc": "^3.11.0", "@vitest/ui": "^3.2.4", "ag-grid-community": "34.2.0", "ag-grid-react": "34.2.0", "babel-preset-react-app": "^10.1.0", "canvas": "^3.2.0", "chromatic": "^13.3.4", "cross-env": "^10.1.0", "css-loader": "^7.1.2", "eslint-plugin-react": "^7.37.5", "eslint-plugin-storybook": "^9.1.16", "jsdom": "^26.1.0", "lodash-es": "^4.17.21", "mkdirp": "^3.0.1", "npm-run-all": "^4.1.5", "postcss": "^8.5.6", "postcss-loader": "^8.2.0", "postcss-scss": "^4.0.9", "react": ">=18", "react-app-polyfill": "^3.0.0", "react-dom": "^18.3.1", "rimraf": "^6.1.2", "rollup": "^4.53.3", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.2", "rollup-plugin-typescript2": "^0.36.0", "sass": "^1.96.0", "sass-loader": "^16.0.6", "storybook": "^9.1.16", "storybook-css-modules-preset": "^1.1.1", "style-loader": "^4.0.0", "typescript": "^5.9.3", "vite": "^7.2.7", "vite-plugin-html": "^3.2.2", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.2.4" }, "babel": { "presets": [ "react-app" ] }, "husky": { "hooks": { "pre-commit": "npm run lint" } } }