SIGN IN SIGN UP
mdn / content UNCLAIMED

The official source for MDN Web Docs content. Home to over 14,000 pages of documentation about HTML, CSS, JS, HTTP, Web APIs, and more.

0 0 1 Markdown
2020-09-15 11:43:01 -04:00
{
"name": "@mdn/content",
2020-09-15 11:43:01 -04:00
"version": "1.0.0",
"description": "Content of https://developer.mozilla.org",
"private": true,
"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",
"author": "MDN Web Docs",
"repository": {
"type": "git",
"url": "git+https://github.com/mdn/content.git"
},
"packageManager": "npm@11.6.2",
2020-09-15 11:43:01 -04:00
"engines": {
"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": {
"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')\"",
"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",
"filecheck": "env-cmd --silent cross-env CONTENT_ROOT=files node scripts/filecheck/index.js --cwd=.",
"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\"",
"fix:pre-commit": "lefthook run pre-commit",
2025-03-20 10:49:08 +01:00
"fix:yml": "prettier --write --cache \"**/*.yml\"",
"lint:fm": "node scripts/front-matter_linter.js",
"lint:js": "prettier -c \"**/*.(m)?js\"",
"lint:json": "prettier -c \"**/*.json(c)?\"",
"lint:md": "markdownlint-cli2 \"**/*.md\" && prettier -c \"**/*.md\"",
"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\"",
"lint:yml": "prettier -c \"**/*.yml\"",
"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",
"test": "node --test",
"up-to-date-check": "node scripts/up-to-date-check.js"
2020-09-15 11:43:01 -04:00
},
"devDependencies": {
"@apideck/better-ajv-errors": "^0.3.6",
"@mdn/fred": "2.3.0",
"@octokit/rest": "^22.0.1",
"ajv": "^8.18.0",
"ajv-formats": "^3.0.1",
"async": "^3.2.6",
"cheerio": "1.2.0",
"cli-progress": "^3.12.0",
"cross-env": "10.1.0",
"cspell": "9.7.0",
"cspell-group-by-file-reporter": "^1.0.1",
"env-cmd": "11.0.0",
"fdir": "^6.5.0",
"file-type": "^21.3.3",
"fs-extra": "^11.3.4",
"gray-matter": "^4.0.3",
"imagemin": "^9.0.1",
"imagemin-gifsicle": "^7.0.0",
"imagemin-mozjpeg": "^10.0.0",
"imagemin-pngquant": "^10.0.0",
"imagemin-svgo": "^12.0.0",
"is-svg": "^6.1.0",
"lefthook": "^2.1.4",
"markdownlint-cli2": "0.21.0",
"markdownlint-rule-search-replace": "1.2.0",
"node-html-parser": "^7.1.0",
"parse-diff": "^0.11.1",
"prettier": "3.8.1",
"tempy": "^3.2.0",
"yaml": "^2.8.2",
"yargs": "^18.0.0"
}
2020-09-15 11:43:01 -04:00
}