2020-09-15 11:43:01 -04:00
{
2023-07-18 06:19:47 -07:00
"name" : "@mdn/content" ,
2020-09-15 11:43:01 -04:00
"version" : "1.0.0" ,
2023-07-18 06:19:47 -07:00
"description" : "Content of https://developer.mozilla.org" ,
2021-01-07 13:45:05 -05:00
"private" : true ,
2023-07-18 06:19:47 -07:00
"homepage" : "https://github.com/mdn/content#readme" ,
"bugs" : {
"url" : "https://github.com/mdn/content/issues"
} ,
2020-09-25 10:02:30 -07:00
"license" : "SEE LICENSE IN LICENSE.md" ,
2023-07-18 06:19:47 -07:00
"author" : "MDN Web Docs" ,
"repository" : {
"type" : "git" ,
"url" : "git+https://github.com/mdn/content.git"
} ,
2020-09-15 11:43:01 -04:00
"engines" : {
2025-07-01 09:57:22 +02:00
"node" : ">=22"
2020-09-15 11:43:01 -04:00
} ,
2023-02-09 14:05:18 +01:00
"type" : "module" ,
2020-09-15 11:43:01 -04:00
"scripts" : {
2025-09-04 09:48:10 +02:00
"info:fred" : "node -e \"process.stderr.write('\\n🐥 This command is now using fred: https://github.com/mdn/fred\\n🐞 Please report any issues here: https://github.com/mdn/fred/issues/new?template=bug.yml\\n\\n')\"" ,
2025-11-21 17:40:32 +01:00
"info:npm" : "node -e \"process.stderr.write('\\nℹ ️ Notice: On December 1, 2025 at 12:00 UTC, mdn/content and mdn/translated-content will switch from Yarn to npm.\\n Please continue using \\`yarn\\` until that time.\\n\\n')\"" ,
2025-01-28 11:21:16 +01:00
"info:rari" : "node -e \"process.stderr.write('\\n🐥 This command is now using rari: https://github.com/mdn/rari\\n🐞 Please report any issues here: https://github.com/mdn/rari/issues/new?template=bug.yml\\n\\n')\"" ,
2025-10-09 13:22:48 +02:00
"build" : "yarn -s info:rari && env-cmd --silent cross-env CONTENT_ROOT=files BUILD_OUT_ROOT=build rari build" ,
"content" : "yarn -s info:rari && env-cmd --silent cross-env CONTENT_ROOT=files rari content" ,
"filecheck" : "env-cmd --silent cross-env CONTENT_ROOT=files node scripts/filecheck/index.js --cwd=." ,
2023-04-28 10:56:35 +05:30
"fix:fm" : "node scripts/front-matter_linter.js --fix true" ,
2025-03-20 10:49:08 +01:00
"fix:js" : "prettier --write --cache \"**/*.(m)?js\"" ,
"fix:json" : "prettier --write --cache \"**/*.json(c)?\"" ,
"fix:md" : "markdownlint-cli2 --fix \"**/*.md\" && prettier --write --cache \"**/*.md\"" ,
2025-03-18 13:16:27 +01:00
"fix:pre-commit" : "lefthook run pre-commit" ,
2025-03-20 10:49:08 +01:00
"fix:yml" : "prettier --write --cache \"**/*.yml\"" ,
2023-04-28 10:56:35 +05:30
"lint:fm" : "node scripts/front-matter_linter.js" ,
2022-09-13 07:40:38 -04:00
"lint:js" : "prettier -c \"**/*.(m)?js\"" ,
2022-09-06 23:21:14 -04:00
"lint:json" : "prettier -c \"**/*.json(c)?\"" ,
2023-05-19 19:43:37 -04:00
"lint:md" : "markdownlint-cli2 \"**/*.md\" && prettier -c \"**/*.md\"" ,
2025-03-14 19:18:00 +05:30
"lint:typos" : "cspell --no-progress --gitignore --config .vscode/cspell.json \"**/*.md\"" ,
"lint:typos-group-by-file" : "cspell --no-progress --gitignore --quiet --reporter cspell-group-by-file-reporter --config .vscode/cspell.json \"**/*.md\"" ,
"lint:typos-words-only" : "cspell --no-progress --gitignore --words-only --unique --config .vscode/cspell.json \"**/*.md\"" ,
2022-08-27 12:32:24 -04:00
"lint:yml" : "prettier -c \"**/*.yml\"" ,
2025-11-21 17:40:32 +01:00
"prepare" : "yarn -s info:npm" ,
"start" : "yarn -s info:npm && yarn -s info:fred && yarn up-to-date-check && env-cmd --silent cross-env CONTENT_ROOT=files NODE_ENV=production FRED_PLAYGROUND_LOCAL=true FRED_PLAYGROUND_PORT=5043 FRED_PORT=5042 FRED_WRITER_MODE=true fred-server" ,
2025-10-09 13:22:48 +02:00
"test" : "node --test" ,
"up-to-date-check" : "node scripts/up-to-date-check.js"
2020-09-15 11:43:01 -04:00
} ,
"dependencies" : {
2023-04-28 10:56:35 +05:30
"@apideck/better-ajv-errors" : "^0.3.6" ,
2023-08-29 15:04:03 +00:00
"@caporal/core" : "^2.0.7" ,
2025-11-24 09:18:09 +00:00
"@mdn/fred" : "1.9.1" ,
2025-11-03 14:11:58 +00:00
"@octokit/rest" : "^22.0.1" ,
2024-07-15 14:14:07 +00:00
"ajv" : "^8.17.1" ,
2024-04-02 10:37:10 +02:00
"ajv-formats" : "^3.0.1" ,
2024-08-20 14:31:37 +00:00
"async" : "^3.2.6" ,
2023-04-28 10:56:35 +05:30
"caporal" : "^1.4.0" ,
"cli-progress" : "^3.12.0" ,
2025-09-30 14:08:02 +00:00
"cross-env" : "10.1.0" ,
2025-08-26 00:30:20 -04:00
"env-cmd" : "11.0.0" ,
2025-10-09 13:22:48 +02:00
"fdir" : "^6.5.0" ,
2023-04-28 10:56:35 +05:30
"gray-matter" : "^4.0.3" ,
2025-08-06 03:42:44 +00:00
"yaml" : "^2.8.1"
2025-03-14 19:18:00 +05:30
} ,
"devDependencies" : {
2025-10-09 13:28:31 -04:00
"cheerio" : "1.1.2" ,
2025-11-17 14:08:21 +00:00
"cspell" : "9.3.2" ,
2025-03-14 19:18:00 +05:30
"cspell-group-by-file-reporter" : "^1.0.1" ,
2025-11-20 14:06:51 +00:00
"file-type" : "^21.1.1" ,
2025-10-09 14:07:21 +00:00
"fs-extra" : "^11.3.2" ,
2025-10-09 13:22:48 +02:00
"imagemin" : "^9.0.1" ,
"imagemin-gifsicle" : "^7.0.0" ,
"imagemin-mozjpeg" : "^10.0.0" ,
"imagemin-pngquant" : "^10.0.0" ,
"imagemin-svgo" : "^11.0.1" ,
"is-svg" : "^6.1.0" ,
2025-11-13 14:06:51 +00:00
"lefthook" : "^2.0.4" ,
2025-11-24 09:17:55 +00:00
"markdownlint-cli2" : "0.19.1" ,
2023-08-23 15:01:50 +00:00
"markdownlint-rule-search-replace" : "1.2.0" ,
2025-03-13 13:17:18 +01:00
"node-html-parser" : "^7.0.1" ,
"parse-diff" : "^0.11.1" ,
2025-11-27 17:09:59 +01:00
"prettier" : "3.7.1" ,
2025-10-09 13:22:48 +02:00
"tempy" : "^3.1.0" ,
2025-08-06 03:42:44 +00:00
"yaml" : "^2.8.1" ,
2025-06-24 10:52:20 +08:00
"yargs" : "^18.0.0"
2023-04-28 10:56:35 +05:30
} ,
2024-06-10 12:08:24 +05:30
"packageManager" : "yarn@1.22.22"
2020-09-15 11:43:01 -04:00
}