-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.67 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.67 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
{
"name": "mermaid-json",
"displayName": "MermaidJson",
"description": "A TypeScript library to generate Mermaid.js diagrams from JSON data",
"version": "0.1.4",
"author": "Levi Terry <levi@leviterry.dev>",
"type": "module",
"types": "./dist/esm/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"homepage": "https://github.com/Typcial-Username/MermaidJson",
"keywords": [
"mermaid",
"json",
"flowchart",
"graph",
"diagram"
],
"scripts": {
"build": "npm run generate-config && tsc && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && echo '🎉 Build complete!'",
"prepare": "npm run build",
"generate-config": "node --loader ts-node/esm ./scripts/GenerateMermaidConfig.ts",
"test": "vitest run",
"test:browser": "vitest run --browser"
},
"license": "MIT",
"files": [
"dist/esm",
"dist/cjs",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/Typcial-Username/MermaidJson"
},
"bugs": {
"url": "https://github.com/Typcial-Username/MermaidJson/issues"
},
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json",
"./node": {
"types": "./dist/esm/node.d.ts",
"import": "./dist/esm/node.js",
"require": "./dist/cjs/node.js"
}
},
"devDependencies": {
"@vitest/browser": "^3.2.4",
"playright": "^0.0.22",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"happy-dom": "^18.0.1",
"ts-node": "^10.9.2"
}
}