Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.01 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.01 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
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "@htnabe/prettier-plugin-hugo-post",
"version": "0.0.2",
"description": "A Prettier plugin for formatting Hugo content files with YAML, TOML, or JSON front matter, Markdown content, and Go template syntax.",
"main": "dist/index.mjs",
"types": "dist/index.d.mts",
"type": "module",
"keywords": [
"prettier",
"plugin",
"hugo",
"markdown",
"yaml",
"toml",
"json",
"go-template",
"front-matter",
"static-site-generator"
],
"author": "htnabe",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/htnabe/prettier-plugin-hugo-post.git"
},
"bugs": {
"url": "https://github.com/htnabe/prettier-plugin-hugo-post/issues"
},
"homepage": "https://github.com/htnabe/prettier-plugin-hugo-post#readme",
"engines": {
"node": ">=22.0.0",
"bun": ">=1.1.0"
},
"packageManager": "bun@1.2.0",
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"prettier": ">=3.0.0"
},
"dependencies": {
"prettier-plugin-toml": "^2.0.6"
},
"devDependencies": {
"@types/node": "^26.5.1",
"@typescript/native-preview": "^7.0.0-dev.20260707.2",
"@vitest/coverage-v8": "^4.1.11",
"jsdom": "^30.0.1",
"lefthook": "^2.1.12",
"oxlint": "^1.82.0",
"oxlint-tsgolint": "^7.0.2001",
"prettier": "^3.9.6",
"ts-node": "^10.9.2",
"tsdown": "^0.22.14",
"typescript": "^7.0.2",
"vitest": "^4.1.11"
},
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"build": "tsdown",
"example": "bun run build && bunx prettier --plugin ./dist/index.mjs examples/test.md"
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"prettier": {
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"printWidth": 100,
"bracketSpacing": true,
"arrowParens": "avoid"
}
}