-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.86 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 2.86 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
{
"name": "ergonomic-markdown",
"version": "0.0.1",
"description": "Ergonomic Markdown: Tables, Mermaid, Code Highlighting, Charts, etc.",
"author": "Leonardo Venturini <leovenbag@gmail.com>",
"license": "MIT",
"repository": "leonardoventurini/ergonomic-markdown",
"bugs": "https://github.com/leonardoventurini/ergonomic-markdown/issues",
"keywords": [
"ast",
"commonmark",
"gfm",
"markdown",
"remark",
"unified",
"tables",
"mermaid",
"code highlighting",
"charts"
],
"main": "./dist/index.js",
"exports": "./dist/index.js",
"files": [
"dist"
],
"type": "module",
"sideEffects": false,
"scripts": {
"build": "tsc --build",
"clean": "tsc --build --clean",
"format": "prettier --log-level warn --write -- . && xo --fix",
"test-api": "node --conditions development --no-warnings test.js",
"test-coverage": "c8 --100 --exclude script/ --reporter lcov -- npm run test-api",
"test": "npm run build && npm run format && npm run test-coverage",
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@types/hast": "3.0.0",
"@types/mdast": "4.0.0",
"chart.js": "4.5.0",
"hast-util-to-html": "9.0.0",
"highlight.js": "11.11.1",
"html-url-attributes": "3.0.0",
"mdast-util-to-hast": "13.0.0",
"mermaid": "11.6.0",
"rehype-highlight": "7.0.2",
"rehype-mermaid": "3.0.0",
"remark-gfm": "4.0.0",
"remark-parse": "11.0.0",
"remark-rehype": "11.0.0",
"unified": "11.0.0",
"unist-util-visit": "5.0.0",
"vfile": "6.0.0"
},
"devDependencies": {
"@testing-library/react": "^16.0.0",
"@types/node": "^22.15.32",
"@types/phoenix_live_view": "^1.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"c8": "^10.0.0",
"concat-stream": "^2.0.0",
"esbuild": "^0.25.0",
"eslint-plugin-react": "^7.0.0",
"global-jsdom": "^26.0.0",
"playwright": "^1.53.0",
"prettier": "^3.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rehype-raw": "^7.0.0",
"rehype-starry-night": "^2.0.0",
"remark-cli": "^12.0.0",
"remark-preset-wooorm": "^11.0.0",
"remark-toc": "^9.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.0.0",
"vitest": "^3.2.3",
"xo": "^0.60.0"
},
"prettier": {
"bracketSpacing": false,
"singleQuote": true,
"semi": false,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"typeCoverage": {
"atLeast": 100,
"strict": true
},
"xo": {
"envs": [
"shared-node-browser"
],
"overrides": [
{
"files": [
"**/*.jsx"
],
"rules": {
"no-unused-vars": "off"
}
}
],
"prettier": true,
"rules": {
"complexity": "off",
"n/file-extension-in-import": "off",
"unicorn/prevent-abbreviations": "off"
}
}
}