Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.49 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.49 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": "datacontract-editor",
"version": "0.1.17",
"description": "A visual editor for data contracts using the Open Data Contract Standard (ODCS)",
"repository": {
"type": "git",
"url": "https://github.com/datacontract/datacontract-editor"
},
"type": "module",
"bin": {
"datacontract-editor": "./bin/datacontract-editor.js"
},
"files": [
"dist",
"bin"
],
"scripts": {
"dev": "vite",
"dev:host": "vite --host",
"dev:custom": "vite --mode custom",
"build": "vite build --mode production",
"build:debug": "vite build --mode debug",
"lint": "eslint .",
"test": "vitest run",
"preview": "vite preview",
"prepublishOnly": "npm run build",
"start": "npm run build && node bin/datacontract-editor.js",
"start:debug": "npm run build:debug && node bin/datacontract-editor.js",
"test:playwright": "npm run build && (node bin/datacontract-editor.js --port 9091 > /dev/null 2>&1 & echo $! > .preview-server.pid) && sleep 5 && playwright test; TEST_EXIT=$?; kill $(cat .preview-server.pid) 2>/dev/null || true; rm -f .preview-server.pid; exit $TEST_EXIT"
},
"engines": {
"node": ">=22.22"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@headlessui/react": "^2.2.9",
"@monaco-editor/react": "^4.7.0",
"@playwright/test": "^1.58.2",
"@tailwindcss/typography": "^0.5.19",
"@xyflow/react": "^12.9.0",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"dagre": "^0.8.5",
"easymde": "^2.20.0",
"i18next": "^26.3.1",
"i18next-browser-languagedetector": "^8.2.1",
"monaco-editor": "^0.54.0",
"monaco-yaml": "^5.4.0",
"open": "^11.0.0",
"path-browserify": "^1.0.1",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"react-i18next": "^17.0.8",
"react-markdown": "^10.1.0",
"react-router": "^8.3.0",
"yaml": "^2.8.1",
"zustand": "^5.0.8"
},
"overrides": {
"monaco-editor": {
"dompurify": "^3.4.12"
}
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@tailwindcss/vite": "^4.1.17",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^6.0.4",
"baseline-browser-mapping": "^2.9.16",
"eslint": "^10.8.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.3",
"globals": "^17.8.0",
"tailwindcss": "^4.1.17",
"vite": "^8.1.5",
"vitest": "^4.1.11"
}
}