diff --git a/package.json b/package.json index 41248494e3f1..35d005350104 100644 --- a/package.json +++ b/package.json @@ -1,214 +1,214 @@ { - "name": "@guardian/frontend", - "version": "0.1.0", - "private": true, - "engines": { - "yarn": ">=1.22.19" - }, - "files": [ - "static/src/**/*" - ], - "dependencies": { - "@aws-sdk/client-cloudwatch": "3.621.0", - "@babel/cli": "^7.25.9", - "@babel/core": "^7.26.0", - "@babel/eslint-parser": "7.25.9", - "@babel/plugin-proposal-class-properties": "^7.10.4", - "@babel/plugin-proposal-object-rest-spread": "^7.11.0", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-transform-runtime": "^7.25.9", - "@babel/preset-env": "^7.26.0", - "@babel/preset-react": "^7.25.9", - "@babel/preset-typescript": "^7.26.0", - "@babel/register": "^7.25.9", - "@babel/runtime": "^7.26.0", - "@braze/web-sdk-core": "3.5.1", - "@emotion/cache": "^11.13.1", - "@emotion/core": "^10.0.27", - "@emotion/react": "11.11.1", - "@emotion/styled": "^10.0.27", - "@guardian/ab-core": "8.0.0", - "@guardian/commercial": "0.0.0-beta-20241125125616", - "@guardian/core-web-vitals": "6.0.0", - "@guardian/eslint-config-typescript": "9.0.1", - "@guardian/identity-auth": "3.0.0", - "@guardian/identity-auth-frontend": "4.0.0", - "@guardian/libs": "19.1.0", - "@guardian/prettier": "^8.0.1", - "@guardian/shimport": "^1.0.2", - "@guardian/source-foundations": "16.0.0", - "@guardian/source-react-components": "25.0.0", - "@guardian/source-react-components-development-kitchen": "21.0.0", - "@types/googletag": "^3.1.3", - "@types/jest": "29.5.12", - "@types/lodash-es": "^4.17.4", - "@types/webpack-env": "^1.16.2", - "@types/youtube": "^0.0.44", - "@typescript-eslint/eslint-plugin": "5.61.0", - "@typescript-eslint/parser": "8.0.1", - "amphtml-validator": "^1.0.38", - "any-observable": "^0.2.0", - "autoprefixer": "^10.3.7", - "babel-core": "^7.0.0-bridge.0", - "babel-jest": "29.7.0", - "babel-loader": "^8.1.0", - "babel-plugin-dynamic-import-node": "^2.3.3", - "bean": "~1.0.14", - "bonzo": "~2.0.0", - "bootstrap-sass": "3.4.1", - "browser-sync": "3.0.2", - "bs-fullscreen-message": "^1.1.0", - "btoa": "1.1.2", - "chalk": "^2.1.0", - "chance": "^1.0.11", - "chokidar": "^3.5.2", - "circular-dependency-plugin": "^5.0.1", - "classnames": "~2.5.1", - "copy-webpack-plugin": "6", - "core-js": "^3.38.0", - "cp-file": "^7.0.0", - "cpy": "^8.1.2", - "css-loader": "^5.2.7", - "cssstats": "^3.1.0", - "csstype": "^3.0.6", - "curl": "cujojs/curl#0.8.9", - "dialog-polyfill": "^0.5.6", - "domready": "^1.0.8", - "dynamic-import-polyfill": "^0.1.1", - "eslint": "8.56.0", - "eslint-config-prettier": "^7.1.0", - "eslint-import-resolver-webpack": "^0.13.8", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-guardian-frontend": "file:tools/eslint-plugin-guardian-frontend", - "eslint-plugin-import": "^2.22.1", - "eslint-plugin-jasmine": "^2.10.1", - "eslint-plugin-jsx-a11y": "^6.4.1", - "eslint-plugin-prettier": "^3.4.0", - "eslint-plugin-react": "^7.22.0", - "eslint-plugin-react-hooks": "^4.2.0", - "execa": "^1.0.0", - "fastdom": "1.0.9", - "fence": "guardian/fence#0.2.11", - "figures": "^2.0.0", - "glob": "^7.2.0", - "gzip-size": "^3.0.0", - "hasha": "^3.0.0", - "jest": "29.7.0", - "jest-environment-jsdom": "29.7.0", - "jest-environment-jsdom-global": "4.0.0", - "listr2": "^8.2.1", - "lodash-es": "^4.17.21", - "lodash.uniq": "^4.5.0", - "mkdirp": "^1.0.4", - "mockdate": "^3.0.5", - "object-fit-videos": "^1.0.3", - "ophan-tracker-js": "1.4.0", - "ora": "^1.3.0", - "pify": "^5.0.0", - "postcss": "^8.3.10", - "postcss-pxtorem": "^6.0.0", - "preact": "^10.5.13", - "prettier": "^2.2.1", - "prettysize": "^0.1.0", - "qwery": "3.4.2", - "rangefix": "^0.2.5", - "raven-js": "^3.19.1", - "raw-loader": "^0.5.1", - "request": "^2.81.0", - "requireindex": "^1.1.0", - "rimraf": "^2.6.1", - "rxjs": "^6.6.7", - "sass": "1.77.8", - "sass-graph": "4.0.1", - "sass-loader": "14.2.1", - "sass-mq": "5.0.1", - "semver": "^5.4.1", - "split": "^1.0.0", - "stream-to-observable": "^0.2.0", - "stylelint": "^16.5.0", - "stylelint-config-standard-scss": "^13.1.0", - "svgo": "^2.3.0", - "tcp-ping": "^0.1.1", - "ts-jest": "29.1.2", - "ts-loader": "^8.0.12", - "tslib": "2.6.2", - "typescript": "5.3.3", - "uglify-js": "^3.19.2", - "video.js": "~5.3", - "videojs-contrib-ads": "3.1.3", - "videojs-embed": "guardian/videojs-embed#v0.3.3", - "videojs-ima": "googleads/videojs-ima#0.3.0", - "videojs-persistvolume": "guardian/videojs-persistvolume#0.1.4", - "videojs-playlist": "guardian/videojs-playlist#0.1.4", - "web-vitals": "3.5.1", - "webpack": "^5.79.0", - "webpack-bundle-analyzer": "^4.10.2", - "webpack-cli": "^5.0.1", - "webpack-dev-server": "^5.0.4", - "webpack-merge": "^4.2.2", - "wolfy87-eventemitter": "~5.2.4", - "yargs": "^17.7.1" - }, - "optionalDependencies": { - "fsevents": "^2.3.2", - "react": "18.3.1", - "react-dom": "18.2.0" - }, - "jest": { - "preset": "ts-jest/presets/js-with-babel", - "moduleFileExtensions": [ - "ts", - "tsx", - "js" - ], - "transform": { - "^.+\\.(ts|tsx)$": [ - "ts-jest", - { - "tsconfig": "tsconfig.test.json" - } - ] - }, - "testMatch": [ - "**/*.(test|spec).+(ts|tsx|js)" - ], - "roots": [ - "/static/src/javascripts", - "/tools" - ], - "moduleDirectories": [ - "/static/src/javascripts", - "/static/src/javascripts/projects", - "/static/vendor/javascripts", - "node_modules" - ], - "moduleNameMapper": { - "videojs": "video.js", - "^svgs/(.*)$": "/__mocks__/svgMock.js", - "^(.*)\\.svg$": "/__mocks__/svgMock.js", - "^(.*)\\.html$": "/__mocks__/templateMock.js", - "ophan/ng": "ophan-tracker-js", - "ophan/embed": "ophan-tracker-js/build/ophan.embed" - }, - "setupFilesAfterEnv": [ - "/dev/jest.setupTestFrameworkScriptFile.js" - ], - "testEnvironment": "jest-environment-jsdom-global", - "testEnvironmentOptions": { - "url": "http://testurl.theguardian.com" - }, - "transformIgnorePatterns": [ - "/node_modules/(?!(@guardian|lodash-es|preact)/)" - ] - }, - "scripts": { - "eslint-fix": "eslint --color --fix", - "test": "jest" - }, - "prettier": "@guardian/prettier", - "packageManager": "yarn@4.1.1", - "resolutions": { - "micromatch": "4.0.8", - "unset-value": "^2.0.1" - } + "name": "@guardian/frontend", + "version": "0.1.0", + "private": true, + "engines": { + "yarn": ">=1.22.19" + }, + "files": [ + "static/src/**/*" + ], + "dependencies": { + "@aws-sdk/client-cloudwatch": "3.621.0", + "@babel/cli": "^7.25.9", + "@babel/core": "^7.26.0", + "@babel/eslint-parser": "7.25.9", + "@babel/plugin-proposal-class-properties": "^7.10.4", + "@babel/plugin-proposal-object-rest-spread": "^7.11.0", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-transform-runtime": "^7.25.9", + "@babel/preset-env": "^7.26.0", + "@babel/preset-react": "^7.25.9", + "@babel/preset-typescript": "^7.26.0", + "@babel/register": "^7.25.9", + "@babel/runtime": "^7.26.0", + "@braze/web-sdk-core": "3.5.1", + "@emotion/cache": "^11.13.1", + "@emotion/core": "^10.0.27", + "@emotion/react": "11.11.1", + "@emotion/styled": "^10.0.27", + "@guardian/ab-core": "8.0.0", + "@guardian/commercial": "0.0.0-beta-20241125125616", + "@guardian/core-web-vitals": "6.0.0", + "@guardian/eslint-config-typescript": "9.0.1", + "@guardian/identity-auth": "3.0.0", + "@guardian/identity-auth-frontend": "4.0.0", + "@guardian/libs": "19.1.0", + "@guardian/prettier": "^8.0.1", + "@guardian/shimport": "^1.0.2", + "@guardian/source-foundations": "16.0.0", + "@guardian/source-react-components": "25.0.0", + "@guardian/source-react-components-development-kitchen": "21.0.0", + "@types/googletag": "^3.1.3", + "@types/jest": "29.5.12", + "@types/lodash-es": "^4.17.4", + "@types/webpack-env": "^1.16.2", + "@types/youtube": "^0.0.44", + "@typescript-eslint/eslint-plugin": "5.61.0", + "@typescript-eslint/parser": "8.0.1", + "amphtml-validator": "^1.0.38", + "any-observable": "^0.2.0", + "autoprefixer": "^10.3.7", + "babel-core": "^7.0.0-bridge.0", + "babel-jest": "29.7.0", + "babel-loader": "^8.1.0", + "babel-plugin-dynamic-import-node": "^2.3.3", + "bean": "~1.0.14", + "bonzo": "~2.0.0", + "bootstrap-sass": "3.4.1", + "browser-sync": "3.0.2", + "bs-fullscreen-message": "^1.1.0", + "btoa": "1.1.2", + "chalk": "^2.1.0", + "chance": "^1.0.11", + "chokidar": "^3.5.2", + "circular-dependency-plugin": "^5.0.1", + "classnames": "~2.5.1", + "copy-webpack-plugin": "6", + "core-js": "^3.38.0", + "cp-file": "^7.0.0", + "cpy": "^8.1.2", + "css-loader": "^5.2.7", + "cssstats": "^3.1.0", + "csstype": "^3.0.6", + "curl": "cujojs/curl#0.8.9", + "dialog-polyfill": "^0.5.6", + "domready": "^1.0.8", + "dynamic-import-polyfill": "^0.1.1", + "eslint": "8.56.0", + "eslint-config-prettier": "^7.1.0", + "eslint-import-resolver-webpack": "^0.13.8", + "eslint-plugin-eslint-comments": "^3.2.0", + "eslint-plugin-guardian-frontend": "file:tools/eslint-plugin-guardian-frontend", + "eslint-plugin-import": "^2.22.1", + "eslint-plugin-jasmine": "^2.10.1", + "eslint-plugin-jsx-a11y": "^6.4.1", + "eslint-plugin-prettier": "^3.4.0", + "eslint-plugin-react": "^7.22.0", + "eslint-plugin-react-hooks": "^4.2.0", + "execa": "^1.0.0", + "fastdom": "1.0.9", + "fence": "guardian/fence#0.2.11", + "figures": "^2.0.0", + "glob": "^7.2.0", + "gzip-size": "^3.0.0", + "hasha": "^3.0.0", + "jest": "29.7.0", + "jest-environment-jsdom": "29.7.0", + "jest-environment-jsdom-global": "4.0.0", + "listr2": "^8.2.1", + "lodash-es": "^4.17.21", + "lodash.uniq": "^4.5.0", + "mkdirp": "^1.0.4", + "mockdate": "^3.0.5", + "object-fit-videos": "^1.0.3", + "ophan-tracker-js": "1.4.0", + "ora": "^1.3.0", + "pify": "^5.0.0", + "postcss": "^8.3.10", + "postcss-pxtorem": "^6.0.0", + "preact": "^10.5.13", + "prettier": "^2.2.1", + "prettysize": "^0.1.0", + "qwery": "3.4.2", + "rangefix": "^0.2.5", + "raven-js": "^3.19.1", + "raw-loader": "^0.5.1", + "request": "^2.81.0", + "requireindex": "^1.1.0", + "rimraf": "^2.6.1", + "rxjs": "^6.6.7", + "sass": "1.77.8", + "sass-graph": "4.0.1", + "sass-loader": "14.2.1", + "sass-mq": "5.0.1", + "semver": "^5.4.1", + "split": "^1.0.0", + "stream-to-observable": "^0.2.0", + "stylelint": "^16.5.0", + "stylelint-config-standard-scss": "^13.1.0", + "svgo": "^2.3.0", + "tcp-ping": "^0.1.1", + "ts-jest": "29.1.2", + "ts-loader": "^8.0.12", + "tslib": "2.6.2", + "typescript": "5.3.3", + "uglify-js": "^3.19.2", + "video.js": "~5.3", + "videojs-contrib-ads": "3.1.3", + "videojs-embed": "guardian/videojs-embed#v0.3.3", + "videojs-ima": "googleads/videojs-ima#0.3.0", + "videojs-persistvolume": "guardian/videojs-persistvolume#0.1.4", + "videojs-playlist": "guardian/videojs-playlist#0.1.4", + "web-vitals": "3.5.1", + "webpack": "^5.79.0", + "webpack-bundle-analyzer": "^4.10.2", + "webpack-cli": "^5.0.1", + "webpack-dev-server": "^5.0.4", + "webpack-merge": "^4.2.2", + "wolfy87-eventemitter": "~5.2.4", + "yargs": "^17.7.1" + }, + "optionalDependencies": { + "fsevents": "^2.3.2", + "react": "18.3.1", + "react-dom": "18.2.0" + }, + "jest": { + "preset": "ts-jest/presets/js-with-babel", + "moduleFileExtensions": [ + "ts", + "tsx", + "js" + ], + "transform": { + "^.+\\.(ts|tsx)$": [ + "ts-jest", + { + "tsconfig": "tsconfig.test.json" + } + ] + }, + "testMatch": [ + "**/*.(test|spec).+(ts|tsx|js)" + ], + "roots": [ + "/static/src/javascripts", + "/tools" + ], + "moduleDirectories": [ + "/static/src/javascripts", + "/static/src/javascripts/projects", + "/static/vendor/javascripts", + "node_modules" + ], + "moduleNameMapper": { + "videojs": "video.js", + "^svgs/(.*)$": "/__mocks__/svgMock.js", + "^(.*)\\.svg$": "/__mocks__/svgMock.js", + "^(.*)\\.html$": "/__mocks__/templateMock.js", + "ophan/ng": "ophan-tracker-js", + "ophan/embed": "ophan-tracker-js/build/ophan.embed" + }, + "setupFilesAfterEnv": [ + "/dev/jest.setupTestFrameworkScriptFile.js" + ], + "testEnvironment": "jest-environment-jsdom-global", + "testEnvironmentOptions": { + "url": "http://testurl.theguardian.com" + }, + "transformIgnorePatterns": [ + "/node_modules/(?!(@guardian|lodash-es|preact)/)" + ] + }, + "scripts": { + "eslint-fix": "eslint --color --fix", + "test": "jest" + }, + "prettier": "@guardian/prettier", + "packageManager": "yarn@4.1.1", + "resolutions": { + "micromatch": "4.0.8", + "unset-value": "^2.0.1" + } }