0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-25 22:40:42 -05:00
forgejo-docs/package.json

57 lines
1.7 KiB
JSON
Raw Normal View History

2023-08-16 11:34:40 -04:00
{
"name": "docs",
"version": "0.0.0",
"description": "Forgejo Documentation",
"author": "Forgejo Contributors",
"license": "CC-BY-SA-4.0",
"private": true,
"scripts": {
2023-08-19 18:20:00 -04:00
"preview": "./scripts/preview.sh",
2023-08-16 11:34:40 -04:00
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "pnpm run lint:remark && pnpm run lint:prettier",
2023-08-16 11:34:40 -04:00
"lint:remark": "remark . --quiet --frail",
"lint:prettier": "prettier --check .",
"format:remark": "remark . --quiet --frail --output",
"format:prettier": "prettier -w --cache .",
"prepare": "husky install",
"mermaid": "./scripts/mermaid_image_generate.sh"
2023-08-16 11:34:40 -04:00
},
"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": {
"@mermaid-js/mermaid-cli": "^10.9.1",
2023-08-16 11:34:40 -04:00
"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"
},
"packageManager": "pnpm@9.1.2+sha512.127dc83b9ea10c32be65d22a8efb4a65fb952e8fefbdfded39bdc3c97efc32d31b48b00420df2c1187ace28c921c902f0cb5a134a4d032b8b5295cbfa2c681e2"
2023-08-16 11:34:40 -04:00
}