{
  "name": "@oaknational/oak-components",
  "version": "3.20.3",
  "licence": "MIT",
  "packageManager": "pnpm@11.2.0",
  "description": "Shared components for Oak applications",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/npm/es/types.d.ts",
        "default": "./dist/npm/es/index.js"
      },
      "require": {
        "types": "./dist/npm/cjs/types.d.ts",
        "default": "./dist/npm/cjs/index.js"
      }
    }
  },
  "sideEffects": false,
  "files": [
    "dist",
    "package.json",
    "README.md"
  ],
  "scripts": {
    "build": "rollup -c rollup.config.ts --configPlugin typescript",
    "test": "jest --watch --collectCoverage=false",
    "test:snapshot": "jest --collectCoverage=false --updateSnapshot",
    "test:ci": "jest",
    "test:storybook": "test-storybook",
    "check-types": "tsc",
    "format": "prettier '**/*.{j,t}{s,sx}' --write",
    "format:precommit": "prettier '**/*.{j,t}{s,sx}' --write",
    "format:check": "prettier '**/*.{j,t}{s,sx}' --check",
    "lint": "eslint 'src/**/*'",
    "lint:precommit": "eslint 'src/**/*' --fix",
    "storybook": "storybook dev -p 6006",
    "build-storybook": "storybook build",
    "prepare": "husky install",
    "prepublishOnly": "./scripts/prepublish.sh",
    "publish:local": "pnpm build && yalc publish --no-scripts",
    "outdated": "bash scripts/outdated.sh",
    "audit": "bash scripts/audit.sh",
    "knip": "knip"
  },
  "author": "",
  "peerDependencies": {
    "@portabletext/react": ">=4.0.1",
    "next": ">=14.2.12",
    "next-cloudinary": ">=6.16.0",
    "react": ">=18.2.0",
    "react-dom": ">=18.2.0",
    "styled-components": ">=5.3.11"
  },
  "engines": {
    "node": "24",
    "pnpm": ">=11"
  },
  "dependencies": {
    "@dnd-kit/core": "^6.3.1",
    "@dnd-kit/sortable": "^10.0.0",
    "@dnd-kit/utilities": "^3.2.2",
    "@tiptap/react": "^2.11.0",
    "react-focus-on": "^3.10.2",
    "react-transition-group": "^4.4.5",
    "tslib": "^2.8.1",
    "url": "^0.11.4"
  },
  "devDependencies": {
    "@babel/plugin-transform-runtime": "^7.28.3",
    "@babel/preset-env": "^7.28.3",
    "@babel/preset-react": "^7.27.1",
    "@babel/preset-typescript": "^7.27.1",
    "@babel/runtime": "^7.28.4",
    "@commitlint/cli": "^18.4.4",
    "@commitlint/config-conventional": "^18.4.4",
    "@rollup/plugin-commonjs": "^29.0.2",
    "@rollup/plugin-json": "^6.1.0",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-terser": "^1.0.0",
    "@rollup/plugin-typescript": "^12.3.0",
    "@semantic-release/git": "^10.0.1",
    "@semantic-release/npm": "^13.1.5",
    "@storybook/addon-a11y": "10.6.0",
    "@storybook/addon-docs": "10.6.0",
    "@storybook/addon-links": "10.6.0",
    "@storybook/addon-onboarding": "10.6.0",
    "@storybook/addon-themes": "10.6.0",
    "@storybook/nextjs": "10.6.0",
    "@storybook/test-runner": "^0.24.5",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.2",
    "@testing-library/user-event": "^14.6.1",
    "@tiptap/starter-kit": "^2.11.0",
    "@types/jest": "^30.0.0",
    "@types/jscodeshift": "^17.3.0",
    "@types/node": "^25.6.0",
    "@types/react": "^18.2.47",
    "@types/react-dom": "^18.3.7",
    "@types/react-test-renderer": "^18.0.7",
    "@types/react-transition-group": "^4.4.12",
    "@types/rollup-plugin-peer-deps-external": "^2.2.6",
    "@types/styled-components": "^5.1.36",
    "@types/yargs": "^17.0.35",
    "@typescript-eslint/eslint-plugin": "^6.18.1",
    "@typescript-eslint/parser": "^6.18.1",
    "assert": "^2.1.0",
    "babel-jest": "^30.4.1",
    "babel-plugin-module-resolver": "^5.0.3",
    "eslint": "^8.56.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-import-resolver-typescript": "^3.6.1",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-mdx": "^2.3.2",
    "eslint-plugin-no-relative-import-paths": "^1.6.1",
    "eslint-plugin-react": "^7.37.5",
    "eslint-plugin-react-hooks": "^4.6.0",
    "eslint-plugin-storybook": "10.6.0",
    "glob": "^12.0.0",
    "husky": "^8.0.3",
    "jest": "^30.3.0",
    "jest-environment-jsdom": "^30.3.0",
    "jest-styled-components": "^7.4.0",
    "jest-util": "^30.3.0",
    "jscodeshift": "^17.3.0",
    "knip": "^6.4.1",
    "playwright": "^1.61.1",
    "prettier": "^3.8.3",
    "react": "^18.2.0",
    "react-compiler-runtime": "^1.0.0",
    "react-dom": "^18.2.0",
    "rollup": "^4.60.1",
    "rollup-plugin-dts": "^6.4.1",
    "rollup-plugin-peer-deps-external": "^2.2.4",
    "rollup-plugin-typescript-paths": "^1.5.0",
    "semantic-release": "^25.0.3",
    "storybook": "10.6.0",
    "ts-jest": "^29.4.9",
    "tsx": "^4.21.0",
    "typescript": "^5.9.3",
    "yargs": "^18.0.0"
  },
  "directories": {
    "example": "examples"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/oaknational/oak-components.git"
  },
  "bugs": {
    "url": "https://github.com/oaknational/oak-components/issues"
  },
  "homepage": "https://github.com/oaknational/oak-components#readme",
  "release": {
    "branches": [
      "main"
    ],
    "plugins": [
      "@semantic-release/commit-analyzer",
      "@semantic-release/release-notes-generator",
      "@semantic-release/npm",
      [
        "@semantic-release/git",
        {
          "assets": [
            "package.json",
            "package-lock.json"
          ],
          "message": "build(release): ${nextRelease.version} [skip ci]"
        }
      ]
    ]
  }
}
