@isdk/mdast-plus 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,112 @@
1
+ {
2
+ "name": "@isdk/mdast-plus",
3
+ "description": "A semantic-first Markdown processing toolkit based on unified, remark, and rehype with a Fluent API and staged plugin system.",
4
+ "version": "0.1.1",
5
+ "license": "MIT",
6
+ "author": "Riceball LEE <snowyu.lee@gmail.com>",
7
+ "homepage": "https://github.com/isdk/mdast-plus.js",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/isdk/mdast-plus.js.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/isdk/mdast-plus.js/issues"
14
+ },
15
+ "main": "./dist/index.js",
16
+ "module": "./dist/index.mjs",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "require": "./dist/index.js",
21
+ "import": "./dist/index.mjs"
22
+ }
23
+ },
24
+ "dependencies": {
25
+ "ajv": "^8.17.1",
26
+ "ajv-formats": "^3.0.1",
27
+ "lodash-es": "^4.17.22",
28
+ "mdast-util-to-hast": "^13.2.1",
29
+ "hast-util-to-mdast": "^10.1.2",
30
+ "mdast-util-directive": "^3.1.0",
31
+ "mdast-util-gfm": "^3.1.0",
32
+ "mdast-util-math": "^3.0.0",
33
+ "remark-directive": "^4.0.0",
34
+ "remark-frontmatter": "^5.0.0",
35
+ "remark-gfm": "^4.0.1",
36
+ "remark-math": "^6.0.0",
37
+ "remark-parse": "^11.0.0",
38
+ "remark-stringify": "^11.0.0",
39
+ "rehype-parse": "^9.0.1",
40
+ "rehype-stringify": "^10.0.1",
41
+ "rehype-remark": "^10.0.1",
42
+ "remark-rehype": "^11.1.2",
43
+ "rehype-sanitize": "^6.0.0",
44
+ "shell-quote": "^1.8.3",
45
+ "unified": "^11.0.5",
46
+ "unist-util-select": "^5.1.0",
47
+ "unist-util-visit": "^5.0.0",
48
+ "util-ex": "^2.4.0"
49
+ },
50
+ "devDependencies": {
51
+ "@antfu/eslint-config": "^4.10.1",
52
+ "@apidevtools/json-schema-ref-parser": "^15.1.3",
53
+ "@types/hast": "^3.0.4",
54
+ "@types/jest": "^29.5.14",
55
+ "@types/jsdom": "^27.0.0",
56
+ "@types/lodash-es": "^4.17.12",
57
+ "@types/mdast": "^4.0.4",
58
+ "@types/shell-quote": "^1.7.5",
59
+ "@types/unist": "^3.0.3",
60
+ "@typescript-eslint/eslint-plugin": "~8.41.0",
61
+ "eslint": "^9.34.0",
62
+ "eslint-config-prettier": "^10.1.8",
63
+ "eslint-plugin-tsdoc": "^0.4.0",
64
+ "json-schema-to-typescript": "^15.0.4",
65
+ "prettier": "^3.6.2",
66
+ "terser": "^5.44.0",
67
+ "tsup": "^8.5.0",
68
+ "tsx": "^4.20.5",
69
+ "typedoc": "^0.28.13",
70
+ "typedoc-plugin-markdown": "^4.8.1",
71
+ "typescript": "~5.7.3",
72
+ "vite": "^7.1.4",
73
+ "vitest": "^3.2.4",
74
+ "vitest-fetch-mock": "^0.4.5"
75
+ },
76
+ "files": [
77
+ "docs",
78
+ "dist"
79
+ ],
80
+ "keywords": [
81
+ "document",
82
+ "html",
83
+ "extract",
84
+ "extractor",
85
+ "markdown",
86
+ "text",
87
+ "readability"
88
+ ],
89
+ "maintainers": [
90
+ "Riceball LEE <snowyu.lee@gmail.com>"
91
+ ],
92
+ "engines": {
93
+ "node": ">=20.11.1"
94
+ },
95
+ "types": "./dist/index.d.ts",
96
+ "scripts": {
97
+ "build-fast": "tsup",
98
+ "build": "pnpm run build-fast --dts-resolve --dts && pnpm run doc:md",
99
+ "clean": "rm -fr web docs dist",
100
+ "doc": "typedoc --plugin none --out web",
101
+ "doc:md": "typedoc --plugin typedoc-plugin-markdown --out docs",
102
+ "style": "pnpm run format -c && pnpm run lint",
103
+ "style:fix": "pnpm run format:fix && npm run lint:fix",
104
+ "format": "prettier \"**/*.{ts,tsx,js,jsx,css,scss,sass,less,md}\"",
105
+ "format:fix": "pnpm run format --write",
106
+ "lint": "eslint .",
107
+ "lint:fix": "pnpm run lint --fix",
108
+ "test": "vitest run",
109
+ "release": "pnpm run clean && pnpm run build && git add -f docs && git ci -m 'docs: update API docs' && pnpm dlx commit-and-tag-version -s",
110
+ "release.alpha": "pnpm run release -- --prerelease alpha"
111
+ }
112
+ }