{
  "name": "grep-components",
  "version": "2.22.0",
  "description": "Grep komponentbibliotek",
  "repository": {
    "type": "git",
    "url": "https://github.com/Utdanningsdirektoratet/Grep-komponenter.git"
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "engines": {
    "node": ">=8",
    "npm": ">=5"
  },
  "homepage": "https://Utdanningsdirektoratet.github.io/Grep-komponenter",
  "author": "Udir",
  "scripts": {
    "build": "rollup -c --bundleConfigAsCjs",
    "start": "rollup -c -w --bundleConfigAsCjs",
    "lint": "eslint --quiet --fix",
    "pretest": "tsc --noEmit",
    "test": "jest --maxWorkers=50% --verbose --logHeapUsage",
    "test:watch": "jest --watch --verbose",
    "test:ci": "jest --runInBand --verbose",
    "storybook": "storybook dev -p 9009",
    "build-storybook": "storybook build",
    "prepare": "husky"
  },
  "release": {
    "plugins": [
      [
        "@semantic-release/commit-analyzer",
        {
          "preset": "conventionalcommits",
          "releaseRules": [
            {
              "type": "build",
              "scope": "deps*",
              "release": "patch"
            },
            {
              "type": "chore",
              "scope": "deps*",
              "release": "patch"
            },
            {
              "type": "refactor",
              "release": "patch"
            },
            {
              "breaking": true,
              "release": "major"
            }
          ]
        }
      ],
      "@semantic-release/release-notes-generator",
      "@semantic-release/npm",
      [
        "@semantic-release/github",
        {
          "successComment": false
        }
      ]
    ],
    "branches": [
      {
        "name": "master"
      },
      {
        "name": "feature/*",
        "channel": "${name.replace(/^feature\\//g, \"\")}",
        "prerelease": "${name.replace(/^feature\\//g, \"\")}"
      },
      {
        "name": "bugfix/*",
        "channel": "${name.replace(/^bugfix\\//g, \"\")}",
        "prerelease": "${name.replace(/^bugfix\\//g, \"\")}"
      }
    ]
  },
  "peerDependencies": {
    "prop-types": "^15.7.2",
    "react": "^18.x || ^19.x",
    "react-dom": "^18.x || ^19.x",
    "react-redux": "8.x || 9.x",
    "react-router": "7.x",
    "redux": "^4.x || ^5.x"
  },
  "devDependencies": {
    "@babel/core": "^7.23.5",
    "@babel/plugin-transform-private-property-in-object": "^7.22.11",
    "@chromatic-com/storybook": "^5.0.1",
    "@commitlint/cli": "^21.0.1",
    "@commitlint/config-conventional": "^21.0.1",
    "@dnd-kit/core": "^6.3.1",
    "@dnd-kit/modifiers": "^9.0.0",
    "@dnd-kit/sortable": "^10.0.0",
    "@eslint-react/eslint-plugin": "^5.7.4",
    "@lexical/html": "^0.40.0",
    "@lexical/utils": "^0.40.0",
    "@rollup/plugin-commonjs": "^28.0.2",
    "@rollup/plugin-json": "^6.0.0",
    "@rollup/plugin-node-resolve": "^16.0.0",
    "@rollup/plugin-typescript": "^12.1.2",
    "@rollup/plugin-url": "^8.0.0",
    "@storybook/addon-docs": "^10.2.19",
    "@storybook/addon-links": "^10.2.19",
    "@storybook/cli": "^10.2.19",
    "@storybook/react-vite": "^10.2.19",
    "@storybook/react-webpack5": "^10.2.19",
    "@testing-library/dom": "^10.1.0",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.2.0",
    "@testing-library/user-event": "^14.5.1",
    "@types/jest": "^30.0.0",
    "@types/lodash.debounce": "^4.0.6",
    "@types/lodash.throttle": "^4.1.6",
    "@types/react": "^19.2.7",
    "@types/react-dom": "^19.2.3",
    "@types/react-redux": "^7.1.32",
    "@typescript-eslint/eslint-plugin": "^8.57.0",
    "@typescript-eslint/parser": "^8.57.0",
    "babel-jest": "^30.0.4",
    "babel-loader": "^10.0.0",
    "babel-plugin-external-helpers": "^6.22.0",
    "babel-runtime": "^6.26.0",
    "chalk": "^5.3.0",
    "clsx": "^2.0.0",
    "commitlint": "^21.0.1",
    "eslint": "^10.0.0",
    "eslint-plugin-jest-dom": "^5.5.0",
    "eslint-plugin-react-jsx": "^5.8.3",
    "eslint-plugin-storybook": "^10.2.7",
    "eslint-plugin-testing-library": "^7.16.0",
    "globals": "^17.4.0",
    "husky": "^9.0.11",
    "jest": "^30.2.0",
    "jest-environment-jsdom": "^30.0.5",
    "lint-staged": "^17.0.2",
    "lodash.debounce": "^4.0.8",
    "lodash.throttle": "^4.1.1",
    "prettier": "^3.7.4",
    "react": "^19.2.1",
    "react-dom": "^19.2.4",
    "react-redux": "^9.2.0",
    "rollup": "^4.53.3",
    "rollup-plugin-peer-deps-external": "^2.2.4",
    "rollup-plugin-postcss": "^4.0.2",
    "semantic-release": "^25.0.2",
    "storybook": "^10.2.19",
    "ts-jest": "^29.4.6",
    "tslib": "^2.2.0",
    "tss-react": "^4.9.21",
    "typescript": "^5.9.0",
    "typescript-eslint": "^8.57.0",
    "whatwg-fetch": "^3.6.20"
  },
  "files": [
    "dist",
    "assets"
  ],
  "resolutions": {
    "@babel/preset-env": "7.22.5"
  },
  "dependencies": {
    "@emotion/react": "^11.11.0",
    "@emotion/styled": "^11.11.0",
    "@lexical/react": "^0.40.0",
    "@mui/icons-material": "^9.0.1",
    "@mui/material": "^9.0.1",
    "@mui/x-date-pickers": "^9.2.0",
    "dayjs": "^1.11.19",
    "lexical": "^0.40.0",
    "react-router": "7.x"
  },
  "overrides": {
    "eslint": "^10.0.0",
    "undici": "^6.23.0"
  }
}
