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"
} ,
2025-12-11 12:31:45 +01:00
"packageManager" : "npm@11.6.2" ,
2020-09-15 11:43:01 -04:00
"engines" : {
2025-12-01 18:26:18 +01:00
"node" : ">=24"
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" : {
2026-02-03 11:33:49 +01:00
"info:fred" : "node -e \"process.stderr.write('\\nš„ This command is using Fred: https://github.com/mdn/fred\\nš Please report issues here: https://github.com/mdn/fred/issues/new?template=bug.yml\\n\\n')\"" ,
"info:rari" : "node -e \"process.stderr.write('\\nš„ This command is using Rari: https://github.com/mdn/rari\\nš Please report issues here: https://github.com/mdn/rari/issues/new?template=bug.yml\\n\\n')\"" ,
2025-12-01 13:00:08 +01:00
"build" : "npm run --silent info:rari && env-cmd --silent cross-env CONTENT_ROOT=files BUILD_OUT_ROOT=build rari build" ,
"content" : "npm run --silent info:rari && env-cmd --silent cross-env CONTENT_ROOT=files rari content" ,
2025-10-09 13:22:48 +02:00
"filecheck" : "env-cmd --silent cross-env CONTENT_ROOT=files node scripts/filecheck/index.js --cwd=." ,
2025-12-03 12:19:55 +01:00
"fix:fm" : "node scripts/front-matter_linter.js --fix" ,
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-12-01 13:00:08 +01:00
"start" : "npm run --silent info:fred && npm run 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
} ,
2026-02-13 12:12:59 +01:00
"devDependencies" : {
2023-04-28 10:56:35 +05:30
"@apideck/better-ajv-errors" : "^0.3.6" ,
2026-03-12 19:22:19 +00:00
"@mdn/fred" : "2.3.0" ,
2025-11-03 14:11:58 +00:00
"@octokit/rest" : "^22.0.1" ,
2026-02-17 16:20:34 +01:00
"ajv" : "^8.18.0" ,
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" ,
2026-02-13 12:12:59 +01:00
"cheerio" : "1.2.0" ,
2023-04-28 10:56:35 +05:30
"cli-progress" : "^3.12.0" ,
2025-09-30 14:08:02 +00:00
"cross-env" : "10.1.0" ,
2026-02-26 09:31:27 +00:00
"cspell" : "9.7.0" ,
2025-03-14 19:18:00 +05:30
"cspell-group-by-file-reporter" : "^1.0.1" ,
2026-02-13 12:12:59 +01:00
"env-cmd" : "11.0.0" ,
"fdir" : "^6.5.0" ,
2026-03-17 17:08:15 +01:00
"file-type" : "^21.3.3" ,
2026-03-05 10:14:39 +00:00
"fs-extra" : "^11.3.4" ,
2026-02-13 12:12:59 +01:00
"gray-matter" : "^4.0.3" ,
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" ,
2026-02-26 09:30:09 +00:00
"imagemin-svgo" : "^12.0.0" ,
2025-10-09 13:22:48 +02:00
"is-svg" : "^6.1.0" ,
2026-03-12 15:57:40 +01:00
"lefthook" : "^2.1.4" ,
2026-02-16 21:41:45 +01:00
"markdownlint-cli2" : "0.21.0" ,
2023-08-23 15:01:50 +00:00
"markdownlint-rule-search-replace" : "1.2.0" ,
2026-03-05 10:14:11 +00:00
"node-html-parser" : "^7.1.0" ,
2025-03-13 13:17:18 +01:00
"parse-diff" : "^0.11.1" ,
2026-01-22 14:08:02 +00:00
"prettier" : "3.8.1" ,
2026-02-03 15:45:22 +01:00
"tempy" : "^3.2.0" ,
2025-12-02 15:06:11 +01:00
"yaml" : "^2.8.2" ,
2025-06-24 10:52:20 +08:00
"yargs" : "^18.0.0"
2025-12-01 13:00:08 +01:00
}
2020-09-15 11:43:01 -04:00
}