forked from mdn/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.28 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
{
"name": "content",
"version": "1.0.0",
"private": true,
"license": "SEE LICENSE IN LICENSE.md",
"engines": {
"node": "^16.0.0 || >=18.0.0"
},
"scripts": {
"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:js": "prettier -w \"**/*.(m)?js\"",
"fix:json": "prettier -w \"**/*.json(c)?\"",
"fix:md": "markdownlint-cli2-fix \"**/*.md\"",
"fix:yml": "prettier -w \"**/*.yml\"",
"lint:js": "prettier -c \"**/*.(m)?js\"",
"lint:json": "prettier -c \"**/*.json(c)?\"",
"lint:md": "markdownlint-cli2 \"**/*.md\"",
"lint:yml": "prettier -c \"**/*.yml\"",
"prepare": "husky install",
"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",
"up-to-date-check": "node scripts/up-to-date-check.js"
},
"dependencies": {
"@mdn/yari": "1.27.0",
"cross-env": "7.0.3",
"env-cmd": "10.1.0",
"husky": "8.0.2",
"lint-staged": "13.0.4",
"markdownlint-cli2": "0.5.1",
"markdownlint-rule-search-replace": "1.0.5",
"prettier": "2.8.0"
}
}