forked from mdn/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.44 KB
/
package.json
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
{
"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"
},
"engines": {
"node": ">=20"
},
"type": "module",
"scripts": {
"postinstall": "node scripts/update-history.js",
"build": "env-cmd --silent cross-env CONTENT_ROOT=files BUILD_OUT_ROOT=build yari-build",
"content": "env-cmd --silent cross-env CONTENT_ROOT=files yari-tool",
"filecheck": "env-cmd --silent cross-env CONTENT_ROOT=files yari-filecheck --cwd=.",
"fix:fm": "node scripts/front-matter_linter.js --fix true",
"fix:js": "prettier -w \"**/*.(m)?js\"",
"fix:json": "prettier -w \"**/*.json(c)?\"",
"fix:md": "markdownlint-cli2 --fix \"**/*.md\" && prettier -w \"**/*.md\"",
"fix:yml": "prettier -w \"**/*.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:yml": "prettier -c \"**/*.yml\"",
"prepare": "husky || true",
"start": "yarn up-to-date-check && env-cmd --silent cross-env CONTENT_ROOT=files REACT_APP_DISABLE_AUTH=true BUILD_OUT_ROOT=build yari-server",
"start:rari": "yarn up-to-date-check && env-cmd --silent cross-env CONTENT_ROOT=files REACT_APP_DISABLE_AUTH=true BUILD_OUT_ROOT=build rari-server",
"up-to-date-check": "node scripts/up-to-date-check.js",
"jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"test:front-matter-linter": "yarn jest tests"
},
"dependencies": {
"@apideck/better-ajv-errors": "^0.3.6",
"@caporal/core": "^2.0.7",
"@mdn/yari": "3.0.1",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"async": "^3.2.6",
"caporal": "^1.4.0",
"cli-progress": "^3.12.0",
"cross-env": "7.0.3",
"env-cmd": "10.1.0",
"fdir": "^6.4.2",
"gray-matter": "^4.0.3",
"husky": "9.1.7",
"js-yaml": "^4.1.0",
"lint-staged": "15.2.10",
"markdownlint-cli2": "0.16.0",
"markdownlint-rule-search-replace": "1.2.0",
"prettier": "3.4.2"
},
"devDependencies": {
"jest": "^29.7.0"
},
"packageManager": "yarn@1.22.22"
}