{
  "name": "@economist/design-system",
  "version": "7.42.1",
  "description": "Economist Design System",
  "main": "index.js",
  "files": [
    "dist",
    "src",
    "index.js",
    "common.js",
    "next.js",
    "webpack.config.js",
    "postcss.js",
    "postcss.config.js"
  ],
  "scripts": {
    "dev": "npm-run-all --parallel dev:*",
    "dev:static-server": "static-server --cors '*' --port 3001 src",
    "dev:next": "EDS_ASSET_PREFIX='http://localhost:3001/' next dev",
    "build": "npm run clean && mkdir dist && npm-run-all --parallel build:*",
    "build:assets": "node scripts/build-assets.js",
    "build:umd": "mkdir -p dist/umd && rollup --config",
    "build:css": "mkdir -p dist/css && postcss src/**/*.css --dir dist/css --base src",
    "build:docs": "npm run docs:build",
    "build:md": "node scripts/build-markdown.js",
    "clean": "rm -rf dist && rm -rf assets",
    "test": "jest",
    "test:watch": "jest --watch",
    "coverage": "npm run build && jest --coverage",
    "watch": "rollup --config --watch",
    "deploy": "npm-run-all --parallel deploy:*",
    "deploy:assets": "s3-deploy './assets/**' --cwd './assets/' --region 'eu-west-2'  --bucket $S3_BUCKET_NAME --filePrefix assets/$npm_package_version --cacheControl 'max-age=31536000' --private",
    "deploy:assets-latest": "s3-deploy './assets/**' --cwd './assets/' --region 'eu-west-2'  --bucket $S3_BUCKET_NAME --filePrefix assets/latest --distId $CLOUDFRONT_DISTRIBUTION_ID --invalidate '/assets/latest' --private",
    "deploy:dist": "s3-deploy './dist/**' --cwd './dist/' --region 'eu-west-2' --bucket $S3_BUCKET_NAME --filePrefix dist/$npm_package_version --private",
    "deploy:dist-latest": "s3-deploy './dist/**' --cwd './dist/' --region 'eu-west-2' --bucket $S3_BUCKET_NAME --filePrefix dist/latest --distId $CLOUDFRONT_DISTRIBUTION_ID --invalidate '/dist/latest' --private",
    "prepare": "npm run build",
    "preversion": "git tag -d $(git tag -l) && git checkout master && git pull && npm test && npm run lint && npm run stylelint",
    "version": "npm run getversions && git add .",
    "postversion": "git push && git push --tags",
    "lint": "eslint .",
    "lint:fix": "npm run lint -- --fix",
    "stylelint": "node node_modules/.bin/stylelint 'src/**/*.css'",
    "docs": "npm-run-all --parallel docs:*",
    "docs:static-server": "static-server --cors '*' --port 3003 src",
    "docs:dev": "EDS_ASSET_PREFIX='http://localhost:3003/' docz dev",
    "docs:build": "docz build",
    "getversions": "rm -rf versions.json && npm view @economist/design-system versions --json >> versions.json",
    "mdx-checks": "node scripts/mdx-checks.js",
    "assets:svgr": "svgr --no-svgo --keep-existing --filename-case kebab --prettier-config .prettierrc --out-dir src/common/components/assets/svgr src/common/static/images/svgr",
    "storybook": "npm-run-all --parallel storybook:*",
    "storybook:static-server": "static-server --cors '*' --port 3003 src",
    "storybook:dev": "EDS_ASSET_PREFIX='http://localhost:3003/' start-storybook -p 6006 dev",
    "build-storybook": "build-storybook"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/EconomistDigitalSolutions/design-system.git"
  },
  "engines": {
    "node": ">=14.0.0",
    "npm": ">=7.0.0"
  },
  "author": "",
  "license": "",
  "bugs": {
    "url": "https://github.com/EconomistDigitalSolutions/design-system/issues"
  },
  "homepage": "https://github.com/EconomistDigitalSolutions/design-system#readme",
  "dependencies": {
    "@svgr/cli": "^4.3.3",
    "@zeit/next-css": "^1.0.1",
    "classnames": "^2.2.6",
    "cssnano": "^4.1.10",
    "js-cookie": "^2.2.1",
    "lodash": "^4.17.19",
    "next-images": "^1.4.0",
    "next-transpile-modules": "^2.3.1",
    "postcss": "^7.0.36",
    "postcss-custom-media": "^7.0.8",
    "postcss-nested": "^4.2.3",
    "postcss-url": "^8.0.0",
    "readline-sync": "^1.4.10",
    "reset-css": "^5.0.1",
    "webpack": "^4.46.0"
  },
  "devDependencies": {
    "@babel/core": "^7.10.4",
    "@babel/plugin-external-helpers": "^7.10.4",
    "@babel/plugin-transform-runtime": "^7.10.4",
    "@babel/preset-env": "^7.10.4",
    "@babel/preset-react": "^7.10.4",
    "@babel/runtime": "^7.10.4",
    "@flatten/array": "^1.1.8",
    "@namics/stylelint-bem": "^6.3.1",
    "@storybook/addon-essentials": "6.1.11",
    "@storybook/react": "6.1.11",
    "babel-eslint": "^10.1.0",
    "babel-loader": "8.2.2",
    "copyfiles": "^2.3.0",
    "core-js": "3.8.1",
    "docz": "^1.3.2",
    "docz-core": "^1.2.0",
    "docz-iframe-playground": "^1.0.9",
    "docz-plugin-css": "^0.11.0",
    "docz-theme-default": "^1.2.0",
    "enzyme": "^3.11.0",
    "enzyme-adapter-react-16": "^1.15.2",
    "eslint": "^6.8.0",
    "eslint-config-airbnb": "^18.2.0",
    "eslint-config-prettier": "6.10.0",
    "eslint-plugin-ignorable-jsdoc": "^0.1.2",
    "eslint-plugin-import": "^2.22.0",
    "eslint-plugin-jest": "23.6.0",
    "eslint-plugin-jsx-a11y": "^6.3.1",
    "eslint-plugin-prettier": "3.1.2",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-react": "^7.20.3",
    "husky": "^3.1.0",
    "identity-obj-proxy": "^3.0.0",
    "jest": "^24.9.0",
    "lint-staged": "^9.5.0",
    "next": "^9.4.4",
    "npm-run-all": "^4.1.5",
    "postcss-cli": "^6.1.3",
    "postcss-modules": "^1.5.0",
    "prop-types": "^15.7.2",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-powerplug": "^1.0.0",
    "rollup": "^1.32.1",
    "rollup-plugin-babel": "^4.4.0",
    "rollup-plugin-commonjs": "^10.1.0",
    "rollup-plugin-node-resolve": "^5.2.0",
    "rollup-plugin-postcss": "^2.9.0",
    "rollup-plugin-svg": "^2.0.0",
    "rollup-plugin-terser": "^5.3.0",
    "s3-deploy": "^1.4.0",
    "static-server": "^2.2.1",
    "stylelint": "^13.13.1",
    "stylelint-config-recommended-scss": "^4.2.0",
    "stylelint-config-standard": "^19.0.0",
    "stylelint-order": "^3.1.1",
    "stylelint-scss": "^3.18.0"
  },
  "peerDependencies": {
    "react": "^16.11.0 || ^17.0.0-0 || ^18.0.0 || 19.x",
    "react-dom": "^16.11.0 || ^17.0.0-0 || ^18.0.0 || 19.x"
  },
  "jest": {
    "setupFilesAfterEnv": [
      "<rootDir>src/setupTests.js"
    ],
    "moduleNameMapper": {
      "\\.(svg|css)$": "identity-obj-proxy"
    }
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged && npm run mdx-checks"
    }
  },
  "lint-staged": {
    "**/*.js": "eslint",
    "**/*.css": "stylelint"
  }
}
