-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 4.18 KB
/
package.json
File metadata and controls
135 lines (135 loc) · 4.18 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "mdite",
"version": "1.1.0",
"description": "Markdown documentation toolkit - work with documentation as a connected system: validate, analyze dependencies, search, and output",
"type": "module",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"bin": {
"mdite": "./dist/src/index.js"
},
"scripts": {
"// Development": "",
"dev": "tsc --watch",
"build": "tsc && npm run copy-package-files",
"postbuild": "chmod +x dist/src/index.js",
"clean": "rm -rf dist",
"prebuild": "npm run clean",
"copy-package-files": "node ./scripts/copy-files.js",
"validate-build": "node ./scripts/validate-build.js",
"// Testing": "",
"test": "vitest run",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"// Examples & Smoke Tests": "",
"examples": "cd examples && ./run-all-examples.sh",
"examples:01": "cd examples/01-valid-docs && mdite lint",
"examples:02": "cd examples/02-orphan-files && mdite lint; true",
"examples:quick": "cd examples/01-valid-docs && mdite lint && cd ../02-orphan-files && mdite lint; true",
"test:smoke": "cd examples && ./run-all-examples.sh",
"// Code Quality": "",
"lint": "eslint src tests --ext .ts",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"typecheck": "tsc --noEmit",
"validate": "npm run lint && npm run typecheck && npm test",
"// Package Management": "",
"pack:dry": "npm pack --dry-run",
"size:check": "npm pack --dry-run 2>&1 | grep 'package size' | head -1 || echo 'Run npm pack to see size'",
"verify:package": "node scripts/verify-package.js",
"release:prepare": "npm run validate && npm run build && npm run verify:package && npm run size:check && npm run examples && echo '\nReady for release. Run: npm version [patch|minor|major]'",
"// Release Lifecycle": "",
"preversion": "npm run validate",
"version": "node scripts/update-changelog.js $npm_package_version && git add CHANGELOG.md",
"postversion": "git push && git push --tags",
"prepublishOnly": "npm run validate && npm run build",
"// Utility": "",
"verify:cli": "node dist/src/index.js --version && node dist/src/index.js --help",
"prepare": "husky"
},
"keywords": [
"markdown",
"md",
"documentation",
"docs",
"toolkit",
"graph",
"system",
"mdite",
"validation",
"orphan-detection",
"link-validation",
"graph-traversal",
"dependency-analysis",
"unified",
"markdown-validator",
"static-analysis",
"documentation-system",
"doc-toolkit"
],
"homepage": "https://github.com/radleta/mdite#readme",
"bugs": {
"url": "https://github.com/radleta/mdite/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/radleta/mdite.git"
},
"author": {
"name": "Richard Adleta",
"email": "radleta@gmail.com",
"url": "https://github.com/radleta"
},
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"dependencies": {
"chalk": "^5.4.1",
"commander": "^14.0.1",
"cosmiconfig": "^9.0.0",
"gray-matter": "^4.0.3",
"ignore": "^7.0.5",
"jmespath": "^0.16.0",
"remark-parse": "^11.0.0",
"unified": "^11.0.0",
"unist-util-visit": "^5.0.0",
"zod": "^4.1.12"
},
"devDependencies": {
"@types/estree": "^1.0.8",
"@types/jmespath": "^0.15.2",
"@types/ms": "^2.1.0",
"@types/node": "^24.8.0",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.18.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.4",
"prettier": "^3.4.2",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
},
"files": [
"dist/src/",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
}
}