{
  "name": "franklin-sites",
  "description": "React and Zurb Foundation based design system for life sciences web applications",
  "version": "0.0.265",
  "type": "module",
  "engines": {
    "node": ">=24"
  },
  "main": "dist/franklin-components.cjs.js",
  "exports": {
    ".": "./dist/franklin-components.es.js",
    "./franklin.css": "./dist/franklin.css"
  },
  "files": [
    "src",
    "dist",
    "assets",
    "!dist/stats*"
  ],
  "types": "dist/types/components/index.d.ts",
  "sideEffects": false,
  "repository": "https://github.com/ebi-uniprot/franklin.git",
  "author": "Xavier Watkins <xwatkins@ebi.ac.uk>",
  "license": "MIT",
  "scripts": {
    "build": "rm -r dist; yarn build-library && yarn build-types && yarn build-storybook",
    "build-library": "vite build --config vite.config.ts",
    "build-types": "tsc --project tsconfig.declaration.json",
    "jest-coverage-ratchet": "jest-coverage-ratchet",
    "coverage-bump": "npm-run-all test:unit jest-coverage-ratchet",
    "test": "npm-run-all --continue-on-error test:*",
    "test:lint": "eslint --cache --cache-location 'node_modules/.eslintcache'",
    "test:types": "tsc --project tsconfig.check.json",
    "test:unit": "jest --coverage",
    "test-watch": "jest --watch",
    "prettier": "prettier src --write",
    "prerelease": "yarn test && yarn build",
    "release": "yarn publish && git push --follow-tags origin main",
    "start": "storybook dev -p 6006",
    "build-storybook": "storybook build",
    "prepare": "husky"
  },
  "jest": {
    "coverageReporters": [
      "json-summary",
      "lcov",
      "text-summary",
      "clover"
    ],
    "coverageThreshold": {
      "global": {
        "lines": 80.14,
        "statements": 79.64,
        "functions": 77,
        "branches": 70.16
      }
    },
    "setupFilesAfterEnv": [
      "<rootDir>/jest-setup.ts"
    ],
    "transform": {
      "^.+\\.(tsx|ts)?$": "babel-jest",
      ".+\\.(css|styl|less|sass|scss)$": "jest-css-modules-transform"
    },
    "moduleFileExtensions": [
      "js",
      "ts",
      "tsx"
    ],
    "moduleDirectories": [
      "node_modules"
    ],
    "moduleNameMapper": {
      "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
      "\\.(css|scss|sass)$": "<rootDir>/__mocks__/styleMock.js",
      "^lodash-es$": "lodash",
      "\\.svg\\?raw$": "<rootDir>/__mocks__/rawSvgMock.js"
    },
    "testEnvironment": "jsdom"
  },
  "lint-staged": {
    "*.+(ts|tsx|css|scss)": [
      "prettier --write"
    ]
  },
  "peerDependencies": {
    "react": "19.x",
    "react-dom": "19.x"
  },
  "dependencies": {
    "classnames": "2.5.1",
    "d3": "5.16.0",
    "foundation-sites": "6.9.0",
    "lodash-es": "4.18.1",
    "timing-functions": "2.0.1"
  },
  "devDependencies": {
    "@babel/core": "7.29.0",
    "@babel/preset-env": "7.29.5",
    "@babel/preset-react": "7.28.5",
    "@babel/preset-typescript": "7.28.5",
    "@eslint-react/eslint-plugin": "5.8.1",
    "@eslint/compat": "2.1.0",
    "@eslint/eslintrc": "3.3.5",
    "@eslint/js": "10.0.1",
    "@storybook/addon-docs": "10.4.0",
    "@storybook/builder-vite": "10.4.0",
    "@storybook/react-vite": "10.4.0",
    "@testing-library/dom": "10.4.1",
    "@testing-library/jest-dom": "6.9.1",
    "@testing-library/react": "16.3.2",
    "@types/d3": "5.16.3",
    "@types/jest": "30.0.0",
    "@types/lodash-es": "4.17.12",
    "@types/react": "19.2.14",
    "@types/react-dom": "19.2.3",
    "@typescript-eslint/eslint-plugin": "8.59.3",
    "@typescript-eslint/parser": "8.59.3",
    "@vitejs/plugin-react": "6.0.2",
    "babel-jest": "30.4.1",
    "core-js": "3.49.0",
    "eslint": "10.4.0",
    "eslint-config-airbnb-base": "15.0.0",
    "eslint-config-prettier": "10.1.8",
    "eslint-plugin-import": "2.32.0",
    "eslint-plugin-jest": "29.15.2",
    "eslint-plugin-jsx-a11y": "6.10.2",
    "eslint-plugin-prettier": "5.5.5",
    "eslint-plugin-react-hooks": "7.1.1",
    "eslint-plugin-storybook": "10.4.0",
    "globals": "17.6.0",
    "husky": "9.1.7",
    "jest": "30.4.2",
    "jest-coverage-ratchet": "0.2.3",
    "jest-css-modules-transform": "4.4.2",
    "jest-environment-jsdom": "30.4.1",
    "jest-silent-reporter": "0.6.0",
    "lint-staged": "17.0.5",
    "lodash": "4.18.1",
    "lorem-ipsum": "3.0.0",
    "npm-run-all": "4.1.5",
    "prettier": "3.8.3",
    "react": "19.2.6",
    "react-dom": "19.2.6",
    "rollup-plugin-visualizer": "7.0.1",
    "sass": "1.99.0",
    "storybook": "10.4.0",
    "type-fest": "5.6.0",
    "typescript": "6.0.3",
    "vite": "8.0.13",
    "vite-plugin-svgr": "5.2.0"
  }
}
