{
  "name": "@nationalarchives/frontend",
  "version": "0.39.0",
  "description": "The National Archives frontend styles",
  "scripts": {
    "start": "storybook dev -p 6006",
    "build:storybook": "storybook build -o storybook --webpack-stats-json",
    "build:storybook:tests": "storybook build -o storybook --webpack-stats-json --test",
    "build:package": "./tasks/build-package.sh",
    "build:errorpages": "npm run compile:sass && npm run compile:scripts && node tasks/static-error-pages/generate.js",
    "compile:sass": "sass --style=compressed --load-path=node_modules --embed-sources src/nationalarchives:package/nationalarchives",
    "compile:scripts": "webpack",
    "lint:fix": "prettier --write --list-different '{src,.storybook,tasks,.}/**/*.{js,mjs,scss,json,html}' && stylelint --fix 'src/**/*.scss' && eslint --fix 'src/**/*.{js,mjs}'",
    "test:all": "npm run test:lint && npm run test:unit && npm run test:statichtml && npm run test:fixtures && npm run test:storybook && npm run build:package && npm run test:package",
    "test:fixtures": "node tasks/test-fixtures.js",
    "test:statichtml": "node tasks/generate-fixture-html.js && html-validate fixtures-html",
    "test:lint": "prettier --check '{src,.storybook,tasks,.}/**/*.{js,mjs,scss,json,html}' && stylelint 'src/**/*.scss' && eslint 'src/**/*.{js,mjs}'",
    "test:package": "node tasks/test-package.js",
    "test:storybook": "vitest run",
    "test:unit": "jest --verbose",
    "update:fixtures": "node tasks/update-fixtures.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nationalarchives/tna-frontend.git"
  },
  "author": {
    "name": "Andrew Hosgood",
    "email": "andrew.hosgood@nationalarchives.gov.uk",
    "url": "https://andrewhosgood.dev"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/nationalarchives/tna-frontend/issues"
  },
  "main": "nationalarchives/all.js",
  "exports": {
    ".": {
      "css": "./nationalarchives/all.css",
      "require": "./nationalarchives/all.js",
      "sass": "./nationalarchives/all.scss"
    },
    "./nationalarchives/": "./nationalarchives/"
  },
  "sass": "nationalarchives/all.scss",
  "homepage": "https://github.com/nationalarchives/tna-frontend#readme",
  "dependencies": {
    "@fortawesome/fontawesome-free": "^7.2.0",
    "prismjs": "^1.30.0"
  },
  "devDependencies": {
    "@babel/core": "^7.25.8",
    "@babel/preset-env": "^7.25.8",
    "@mdx-js/react": "^3.0.1",
    "@storybook/addon-a11y": "^10.1.11",
    "@storybook/addon-docs": "^10.1.11",
    "@storybook/addon-links": "^10.1.11",
    "@storybook/addon-styling-webpack": "^3.0.0",
    "@storybook/addon-vitest": "^10.1.11",
    "@storybook/html-vite": "^10.1.11",
    "@storybook/web-components-vite": "^10.1.11",
    "@vitest/browser-playwright": "^4.0.6",
    "@vitest/coverage-v8": "^4.0.6",
    "axe-playwright": "^2.0.3",
    "babel-jest": "^30.1.1",
    "babel-loader": "^10.0.0",
    "chromatic": "^13.1.3",
    "copy-webpack-plugin": "^13.0.0",
    "css-loader": "^7.1.2",
    "diff": "^8.0.0",
    "eslint": "^8.57.1",
    "eslint-plugin-storybook": "^10.1.11",
    "glob": "^11.0.0",
    "html-validate": "^10.0.0",
    "jest": "^30.2.0",
    "jest-environment-jsdom": "^30.1.1",
    "mdx-mermaid": "^2.0.1",
    "node-self": "^1.0.2",
    "nunjucks": "^3.2.4",
    "playwright": "^1.56.1",
    "prettier": "^3.3.3",
    "sass": "^1.79.5",
    "sass-embedded": "^1.91.0",
    "sass-loader": "^16.0.2",
    "simple-nunjucks-loader": "^3.2.0",
    "storybook": "^10.1.11",
    "style-loader": "^4.0.0",
    "stylelint": "^16.10.0",
    "stylelint-config-standard-scss": "^16.0.0",
    "stylelint-order": "^7.0.0",
    "stylelint-selector-bem-pattern": "^4.0.1",
    "vite-plugin-static-copy": "^3.1.4",
    "vitest": "^4.0.6",
    "webpack": "^5.95.0",
    "webpack-cli": "^6.0.1"
  }
}
