{
    "name": "@ons/design-system",
    "description": "ONS Design System built CSS, JS, and Nunjucks templates",
    "version": "73.0.4",
    "main": "index.js",
    "license": "MIT",
    "author": {
        "name": "ONS Digital"
    },
    "scripts": {
        "start": "gulp start",
        "watch": "gulp watch",
        "test": "gulp build-assets && TEST_PORT=3020 TEST_WITH_PUPPETEER=1 jest '.*\\.spec\\.js'",
        "test:clear-cache": "jest --clearCache",
        "test:no-build": "TEST_PORT=3020 TEST_WITH_PUPPETEER=1 jest '.*\\.spec\\.js'",
        "test:with-log": "yarn test --no-color 2>test.log",
        "test:start-server": "TEST_PORT=3020 gulp start-dev-server",
        "test-lighthouse": "yarn build && node ./lighthouse/lighthouse-get-urls.js && lhci autorun --config=./lighthouse/lighthouserc.js",
        "build": "yarn && yarn tidy-clean && NODE_ENV=production gulp build",
        "build-serve": "yarn build && gulp start-dev-server",
        "npm-bundle": "NODE_ENV=production yarn tidy-clean && NODE_ENV=production gulp build-package && babel-node ci/generate-npm-package.js",
        "cdn-bundle": "NODE_ENV=production yarn tidy-clean && NODE_ENV=production gulp build-package && babel-node ci/prepare-templates-for-zip.js",
        "test-visual": "yarn build && gulp run-backstop-tests",
        "test-visual:reference": "yarn build && gulp run-backstop-reference",
        "test-visual:approve": "gulp run-backstop-approve",
        "tidy-clean": "rm -rf build css favicons fonts img components layout scripts coverage scss js",
        "check-unused": "npx npm-check-unused",
        "dedupe-deps": "npx yarn-deduplicate yarn.lock",
        "lint-staged": "lint-staged",
        "stylelint": "stylelint '**/*.scss'",
        "stylelint-fix": "stylelint '**/*.scss' --fix",
        "prepack": "pinst --disable",
        "postpack": "pinst --enable"
    },
    "lint-staged": {
        "*.js": [
            "prettier --write",
            "eslint --fix"
        ],
        "*.md": [
            "prettier --write",
            "remark"
        ],
        "*.scss": [
            "prettier --write",
            "yarn run stylelint-fix"
        ],
        "*.{yml,yaml,njk,html}": [
            "prettier --write"
        ]
    },
    "browserslist": [
        "last 2 versions",
        "not dead"
    ],
    "devDependencies": {
        "@babel/core": "7.27.1",
        "@babel/eslint-parser": "7.27.1",
        "@babel/node": "7.27.1",
        "@babel/plugin-proposal-class-properties": "7.18.6",
        "@babel/plugin-syntax-dynamic-import": "7.8.3",
        "@babel/plugin-transform-modules-commonjs": "7.27.1",
        "@babel/plugin-transform-runtime": "7.27.1",
        "@babel/preset-env": "7.27.2",
        "@babel/register": "7.27.1",
        "@babel/runtime": "7.27.1",
        "abortcontroller-polyfill": "1.7.8",
        "autoprefixer": "10.4.21",
        "babel-plugin-istanbul": "7.0.0",
        "babelify": "10.0.0",
        "backstopjs": "6.3.25",
        "browser-sync": "3.0.4",
        "browserify": "17.0.1",
        "chalk": "4.1.2",
        "cheerio": "1.0.0-rc.12",
        "core-js": "3.33.0",
        "cors": "2.8.5",
        "dialog-polyfill": "0.5.6",
        "dompurify": "3.2.6",
        "eslint": "8.51.0",
        "eslint-cli": "1.1.1",
        "eslint-config-prettier": "9.0.0",
        "eslint-plugin-prettier": "5.0.1",
        "eslint-plugin-unused-imports": "3.1.0",
        "express": "5.1.0",
        "front-matter": "4.0.2",
        "fs-extra": "11.1.1",
        "fuse.js": "7.0.0",
        "glob": "10.3.10",
        "gulp": "4.0.2",
        "gulp-babel": "8.0.0",
        "gulp-cli": "2.3.0",
        "gulp-dart-sass": "1.1.0",
        "gulp-if": "3.0.0",
        "gulp-postcss": "9.0.1",
        "gulp-sourcemaps": "3.0.0",
        "gulp-terser": "2.1.0",
        "http-server": "14.1.1",
        "husky": "9.1.6",
        "jest": "29.7.0",
        "jest-axe": "8.0.0",
        "jest-environment-jsdom": "29.7.0",
        "jest-puppeteer": "11.0.0",
        "jsdom": "26.1.0",
        "lighthouse": "12.8.2",
        "lint-staged": "15.2.0",
        "lodash": "4.17.21",
        "mdn-polyfills": "5.20.0",
        "normalize.css": "8.0.1",
        "nunjucks": "3.2.4",
        "pinst": "3.0.0",
        "postcss": "8.4.35",
        "postcss-url": "10.1.3",
        "prepend-file": "2.0.1",
        "prettier": "3.3.0",
        "prettier-plugin-jinja-template": "1.4.0",
        "puppeteer": "24.16.2",
        "remark-cli": "12.0.0",
        "remark-lint": "9.1.2",
        "remark-preset-lint-recommended": "6.1.3",
        "stylelint": "16.6.0",
        "stylelint-config-recommended-scss": "14.0.0",
        "stylelint-config-sass-guidelines": "11.1.0",
        "stylelint-config-standard": "36.0.0",
        "stylelint-order": "6.0.4",
        "stylelint-scss": "6.3.0",
        "through2": "4.0.2",
        "tick-manager": "1.0.3",
        "util": "0.12.3",
        "viewport-details": "3.0.4",
        "vinyl-buffer": "1.0.1",
        "vinyl-source-stream": "2.0.0",
        "whatwg-fetch": "3.6.19"
    },
    "publishConfig": {
        "access": "public"
    },
    "dependencies": {
        "highcharts": "12.1.2",
        "pym.js": "1.3.2"
    }
}
