mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-28 18:42:51 -05:00
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
|
{
|
||
|
"name": "docs",
|
||
|
"version": "0.0.0",
|
||
|
"description": "Forgejo Documentation",
|
||
|
"author": "Forgejo Contributors",
|
||
|
"license": "CC-BY-SA-4.0",
|
||
|
"private": true,
|
||
|
"scripts": {
|
||
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||
|
"lint:remark": "remark . --quiet --frail",
|
||
|
"lint:prettier": "prettier --check .",
|
||
|
"format:remark": "remark . --quiet --frail --output",
|
||
|
"format:prettier": "prettier -w --cache .",
|
||
|
"prepare": "husky install"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.md": "remark --quiet --frail",
|
||
|
"*": "prettier -w --cache --ignore-unknown"
|
||
|
},
|
||
|
"remarkConfig": {
|
||
|
"plugins": [
|
||
|
"remark-frontmatter",
|
||
|
"remark-preset-lint-consistent",
|
||
|
"remark-preset-lint-recommended",
|
||
|
[
|
||
|
"remark-lint-list-item-indent",
|
||
|
"space"
|
||
|
],
|
||
|
[
|
||
|
"remark-lint-heading-style",
|
||
|
"atx"
|
||
|
],
|
||
|
[
|
||
|
"remark-lint-no-undefined-references",
|
||
|
false
|
||
|
]
|
||
|
]
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"husky": "^8.0.3",
|
||
|
"lint-staged": "^14.0.0",
|
||
|
"prettier": "^3.0.2",
|
||
|
"remark-cli": "^11.0.0",
|
||
|
"remark-frontmatter": "^4.0.1",
|
||
|
"remark-lint-heading-style": "^3.1.2",
|
||
|
"remark-lint-list-item-indent": "^3.1.2",
|
||
|
"remark-lint-no-undefined-references": "^4.2.1",
|
||
|
"remark-preset-lint-consistent": "^5.1.2",
|
||
|
"remark-preset-lint-recommended": "^6.1.3"
|
||
|
}
|
||
|
}
|