{
    "name": "@ons/design-system",
    "description": "ONS Design System built CSS, JS, and Nunjucks templates",
    "version": "3.0.1",
    "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: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",
        "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.14.6",
        "@babel/eslint-parser": "^7.22.9",
        "@babel/node": "^7.14.7",
        "@babel/plugin-proposal-class-properties": "^7.14.5",
        "@babel/plugin-syntax-dynamic-import": "^7.8.3",
        "@babel/plugin-transform-modules-commonjs": "^7.14.5",
        "@babel/plugin-transform-runtime": "^7.14.5",
        "@babel/preset-env": "^7.14.7",
        "@babel/register": "^7.14.5",
        "@babel/runtime": "^7.14.6",
        "abortcontroller-polyfill": "^1.2.3",
        "autoprefixer": "10.4.14",
        "babel-plugin-istanbul": "^6.0.0",
        "babelify": "^10.0.0",
        "backstopjs": "^6.1.4",
        "browser-sync": "^2.27.3",
        "browserify": "^17.0.0",
        "chalk": "^4.1.2",
        "cheerio": "^1.0.0-rc.10",
        "codecov": "^3.8.3",
        "core-js": "^3.21.1",
        "cors": "^2.8.5",
        "dialog-polyfill": "^0.5.6",
        "eslint": "^8.45.0",
        "eslint-cli": "^1.1.1",
        "eslint-config-prettier": "^9.0.0",
        "eslint-plugin-prettier": "^5.0.0",
        "eslint-plugin-unused-imports": "^3.1.0",
        "express": "^4.17.1",
        "front-matter": "^4.0.2",
        "fs-extra": "^11.1.1",
        "fuse.js": "^3.6.1",
        "glob": "^10.2.3",
        "gulp": "^4.0.2",
        "gulp-babel": "^8.0.0",
        "gulp-cli": "^2.3.0",
        "gulp-dart-sass": "^1.0.2",
        "gulp-if": "^3.0.0",
        "gulp-postcss": "^9.0.0",
        "gulp-sourcemaps": "^3.0.0",
        "gulp-terser": "^2.0.1",
        "http-server": "^14.1.1",
        "husky": "^8.0.3",
        "jest": "^29.6.1",
        "jest-axe": "^8.0.0",
        "jest-environment-jsdom": "^29.6.1",
        "jest-puppeteer": "^9.0.0",
        "lighthouse": "^11.0.0",
        "lint-staged": "^15.2.0",
        "lodash": "^4.17.21",
        "mdn-polyfills": "^5.14.0",
        "normalize.css": "^8.0.1",
        "nunjucks": "^3.2.3",
        "pinst": "^3.0.0",
        "postcss": "^8.3.5",
        "postcss-url": "^10.1.3",
        "prepend-file": "^2.0.1",
        "prettier": "^3.2.5",
        "prettier-plugin-jinja-template": "^1.4.0",
        "puppeteer": "^21.0.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.0.0"
    },
    "publishConfig": {
        "access": "public"
    }
}