-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 1.17 KB
/
package.json
File metadata and controls
30 lines (30 loc) · 1.17 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
{
"name": "foundation-bylaws",
"private": true,
"description": "Official bylaws of the Catholic Digital Commons Foundation",
"scripts": {
"lint:md": "markdownlint-cli2 \"**/*.md\" \"#**/node_modules\" \"#.yarn\"",
"lint:md:fix": "markdownlint-cli2 --fix \"**/*.md\" \"#**/node_modules\" \"#.yarn\"",
"format:md": "prettier --write \"**/*.md\" \"!**/node_modules/**\"",
"build:html": "mkdir -p dist && pandoc BYLAWS.md --wrap=none -f markdown -t html5 -o dist/bylaws.html",
"build:html:standalone": "mkdir -p dist && pandoc BYLAWS.md --standalone --embed-resources --css scripts/bylaws-print.css -f markdown -t html5 -o dist/bylaws-standalone.html",
"build:pdf": "pagedjs-cli --browserArgs='--no-sandbox' dist/bylaws-standalone.html -o dist/bylaws.pdf",
"tag": "bash scripts/tag.sh",
"merge": "bash scripts/merge.sh",
"translate": "node scripts/translate.js",
"prepare": "husky"
},
"lint-staged": {
"*.md": [
"prettier --write",
"markdownlint-cli2"
]
},
"devDependencies": {
"husky": "^9.1.7",
"lint-staged": "^15.5.1",
"markdownlint-cli2": "^0.17.2",
"pagedjs-cli": "^0.4.3",
"prettier": "^3.5.3"
}
}