@skydesign/tf 0.2.2
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/README.md +424 -0
- package/dist/index.d.ts +394 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +536 -0
- package/dist/render-BsRbXyfG.js +124 -0
- package/dist/render-NL_RZBGX.mjs +3537 -0
- package/dist/server.d.ts +182 -0
- package/dist/server.js +13 -0
- package/dist/server.mjs +2448 -0
- package/package.json +114 -0
package/package.json
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@skydesign/tf",
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "Token-flow graph renderer (graphviz layout + custom SVG) with browser interactive + Node SSR rendering.",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./server": {
|
|
15
|
+
"types": "./dist/server.d.ts",
|
|
16
|
+
"import": "./dist/server.mjs",
|
|
17
|
+
"require": "./dist/server.js"
|
|
18
|
+
},
|
|
19
|
+
"./worker": {
|
|
20
|
+
"types": "./dist/worker.d.ts",
|
|
21
|
+
"import": "./dist/worker.mjs",
|
|
22
|
+
"require": "./dist/worker.js"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"README.md"
|
|
28
|
+
],
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
31
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@hpcc-js/wasm-graphviz": "^1.6.1",
|
|
35
|
+
"d3": "^7.9.0",
|
|
36
|
+
"linkedom": "^0.18.12",
|
|
37
|
+
"nuqs": "^2.8.6"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@cucumber/cucumber": "^12.6.0",
|
|
41
|
+
"@playwright/test": "^1.58.1",
|
|
42
|
+
"@serenity-js/assertions": "^3.39.0",
|
|
43
|
+
"@serenity-js/console-reporter": "^3.39.0",
|
|
44
|
+
"@serenity-js/core": "^3.39.0",
|
|
45
|
+
"@serenity-js/cucumber": "^3.39.0",
|
|
46
|
+
"@serenity-js/mocha": "^3.39.0",
|
|
47
|
+
"@serenity-js/playwright": "^3.39.0",
|
|
48
|
+
"@serenity-js/playwright-test": "^3.39.0",
|
|
49
|
+
"@serenity-js/serenity-bdd": "^3.39.0",
|
|
50
|
+
"@serenity-js/web": "^3.39.0",
|
|
51
|
+
"@tailwindcss/postcss": "^4",
|
|
52
|
+
"@testing-library/dom": "^10.4.1",
|
|
53
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
54
|
+
"@testing-library/react": "^16.3.1",
|
|
55
|
+
"@types/d3": "^7.4.3",
|
|
56
|
+
"@types/lodash": "^4.17.23",
|
|
57
|
+
"@types/mocha": "^10.0.10",
|
|
58
|
+
"@types/node": "^20",
|
|
59
|
+
"@types/react": "^19",
|
|
60
|
+
"@types/react-dom": "^19",
|
|
61
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
62
|
+
"antd": "^6.2.2",
|
|
63
|
+
"babel-plugin-react-compiler": "1.0.0",
|
|
64
|
+
"bignumber.js": "^9.3.1",
|
|
65
|
+
"eslint": "^9",
|
|
66
|
+
"eslint-config-next": "16.1.3",
|
|
67
|
+
"fzstd": "^0.1.1",
|
|
68
|
+
"jsdom": "^27.4.0",
|
|
69
|
+
"lodash": "^4.17.23",
|
|
70
|
+
"mocha": "^11.7.5",
|
|
71
|
+
"next": "16.1.3",
|
|
72
|
+
"react": "19.2.3",
|
|
73
|
+
"react-dom": "19.2.3",
|
|
74
|
+
"tailwindcss": "^4",
|
|
75
|
+
"ts-node": "^10.9.2",
|
|
76
|
+
"typescript": "^5",
|
|
77
|
+
"uint8arrays": "^5.1.0",
|
|
78
|
+
"vite": "^6.0.5",
|
|
79
|
+
"vite-plugin-dts": "^4.3.0",
|
|
80
|
+
"vitest": "^4.0.17"
|
|
81
|
+
},
|
|
82
|
+
"keywords": [
|
|
83
|
+
"graphviz",
|
|
84
|
+
"layout",
|
|
85
|
+
"react",
|
|
86
|
+
"worker",
|
|
87
|
+
"visualization",
|
|
88
|
+
"graph"
|
|
89
|
+
],
|
|
90
|
+
"repository": {
|
|
91
|
+
"type": "git",
|
|
92
|
+
"url": "https://github.com/zeiss/graphviz-layouter"
|
|
93
|
+
},
|
|
94
|
+
"license": "MIT",
|
|
95
|
+
"scripts": {
|
|
96
|
+
"dev": "next dev",
|
|
97
|
+
"build": "pnpm run build:lib && next build",
|
|
98
|
+
"build:lib": "vite build --config vite.config.lib.ts",
|
|
99
|
+
"build:next": "next build",
|
|
100
|
+
"start": "next start",
|
|
101
|
+
"lint": "eslint",
|
|
102
|
+
"test": "vitest run",
|
|
103
|
+
"test:watch": "vitest",
|
|
104
|
+
"test:coverage": "vitest run --coverage",
|
|
105
|
+
"test:mocha": "mocha",
|
|
106
|
+
"test:cucumber": "cucumber-js",
|
|
107
|
+
"test:playwright": "playwright test --config=playwright.config.ts",
|
|
108
|
+
"test:serenity": "pnpm test:mocha && pnpm test:cucumber && pnpm test:playwright",
|
|
109
|
+
"serenity:report": "serenity-bdd run --source target/site/serenity --destination target/site/serenity --features spec/cucumber/features",
|
|
110
|
+
"test:report": "open target/site/serenity/index.html",
|
|
111
|
+
"test:spec": "pnpm test:serenity && pnpm serenity:report && pnpm test:report",
|
|
112
|
+
"pub": "pnpm lint && rm -rf dist && pnpm build:lib && npm publish"
|
|
113
|
+
}
|
|
114
|
+
}
|