{
  "name": "@royalnavy/design-tokens",
  "version": "4.61.1",
  "main": "dist/cjs/index.js",
  "author": "Royal Navy",
  "license": "Apache-2.0",
  "publishConfig": {
    "access": "public"
  },
  "files": [
    "dist"
  ],
  "module": "dist/es/index.js",
  "types": "dist/types/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/es/index.js",
      "require": "./dist/cjs/index.js"
    },
    "./*": "./*"
  },
  "sideEffects": false,
  "repository": {
    "type": "git",
    "url": "https://github.com/Royal-Navy/design-system.git",
    "directory": "packages/design-tokens"
  },
  "scripts": {
    "build": "run-s build:dict build:es build:cjs types",
    "build:dict": "node ./build-dictionary.js",
    "build:es": "webpack --config=webpack/es.js && echo '{\"type\":\"module\"}' > dist/es/package.json",
    "build:cjs": "webpack --config=webpack/prod.js",
    "types": "tsc --emitDeclarationOnly --declarationMap --declaration --noEmit false --allowJs false --outDir dist/types",
    "prepack": "pnpm run build",
    "test": "jest",
    "lint": "eslint src --ext .js --ext .jsx --ext .ts --ext .tsx --ext .json --resolve-plugins-relative-to ../eslint-config-react"
  },
  "lint-staged": {
    "*.@(js|jsx|ts|tsx)": [
      "eslint --ext .js --ext .jsx --ext .ts --ext .tsx --ext .json --resolve-plugins-relative-to ../eslint-config-react",
      "prettier --write"
    ]
  },
  "devDependencies": {
    "@babel/cli": "^7.25.6",
    "@babel/core": "^7.25.2",
    "@babel/plugin-proposal-optional-chaining": "^7.13.8",
    "@babel/preset-env": "^7.25.4",
    "@babel/preset-react": "^7.24.7",
    "@babel/preset-typescript": "^7.24.7",
    "@royalnavy/eslint-config-react": "^4.61.1",
    "@testing-library/jest-dom": "^6.5.0",
    "@testing-library/react": "^16.0.1",
    "@types/jest": "^29.5.13",
    "@types/lodash": "^4.14.149",
    "@types/react": "^18.3.12",
    "@types/styled-components": "^5.1.34",
    "babel-loader": "^9.0.1",
    "babel-plugin-styled-components": "^2.0.2",
    "clean-webpack-plugin": "^4.0.0",
    "eslint": "^8.2.0",
    "jest": "^29.0.3",
    "jest-styled-components": "^7.2.0",
    "npm-run-all": "^4.1.5",
    "react": "^18.3.1",
    "source-map-loader": "^4.0.1",
    "style-dictionary": "^3.1.1",
    "styled-components": "^6.1.8",
    "typescript": "^5.4.4",
    "webpack": "^5.94.0",
    "webpack-cli": "^5.0.1",
    "webpack-merge": "^5.2.0"
  },
  "dependencies": {
    "lodash": "^4.17.21"
  },
  "peerDependencies": {
    "styled-components": ">= 6"
  }
}
