-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 3.51 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 3.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "@mdn/content",
"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"
},
"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",
"engines": {
"node": ">=24"
},
"type": "module",
"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",
"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",
"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"
},
"devDependencies": {
"@apideck/better-ajv-errors": "^0.3.6",
"@mdn/fred": "2.2.1",
"@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.1",
"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.3",
"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"
}
}