sfn-diagram 0.2.0
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/LICENSE +21 -0
- package/README.md +461 -0
- package/dist/index.cjs +1951 -0
- package/dist/index.d.cts +1076 -0
- package/dist/index.d.ts +1076 -0
- package/dist/index.js +1911 -0
- package/package.json +81 -0
package/package.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sfn-diagram",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Generate SVG diagrams from AWS Step Functions ASL definitions",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/index.d.cts",
|
|
16
|
+
"default": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "tsdown",
|
|
24
|
+
"dev": "tsdown --watch",
|
|
25
|
+
"examples": "vitest run tests/visual-outputs.test.ts",
|
|
26
|
+
"lint": "eslint .",
|
|
27
|
+
"prepublishOnly": "pnpm run build && pnpm run validate",
|
|
28
|
+
"release": "npm publish",
|
|
29
|
+
"test": "vitest",
|
|
30
|
+
"typecheck": "tsc --noEmit",
|
|
31
|
+
"validate": "pnpm run validate:publint && pnpm run validate:types",
|
|
32
|
+
"validate:publint": "publint",
|
|
33
|
+
"validate:types": "attw --pack ."
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"aws",
|
|
37
|
+
"step-functions",
|
|
38
|
+
"diagram",
|
|
39
|
+
"visualization",
|
|
40
|
+
"svg",
|
|
41
|
+
"asl",
|
|
42
|
+
"state-machine"
|
|
43
|
+
],
|
|
44
|
+
"author": "Yusuf Afzal",
|
|
45
|
+
"license": "MIT",
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@arethetypeswrong/cli": "^0.18.2",
|
|
48
|
+
"@aws-sdk/client-sfn": "^3.879.0",
|
|
49
|
+
"@eslint/js": "^9.34.0",
|
|
50
|
+
"@types/d3": "^7.4.3",
|
|
51
|
+
"@types/node": "^24.3.0",
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
53
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
54
|
+
"eslint": "^9.39.2",
|
|
55
|
+
"eslint-config-prettier": "^10.1.8",
|
|
56
|
+
"globals": "^16.3.0",
|
|
57
|
+
"prettier": "3.6.2",
|
|
58
|
+
"publint": "^0.3.16",
|
|
59
|
+
"tsdown": "^0.14.2",
|
|
60
|
+
"tsx": "^4.20.5",
|
|
61
|
+
"typescript": "^5.9.2",
|
|
62
|
+
"typescript-eslint": "^8.41.0",
|
|
63
|
+
"vitest": "^3.2.4"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"@dagrejs/dagre": "^2.0.0",
|
|
67
|
+
"@types/jsdom": "^27.0.0",
|
|
68
|
+
"d3": "^7.8.5",
|
|
69
|
+
"jsdom": "^27.2.0",
|
|
70
|
+
"mermaid": "^11.12.1",
|
|
71
|
+
"node-html-to-image": "^5.0.0"
|
|
72
|
+
},
|
|
73
|
+
"repository": {
|
|
74
|
+
"type": "git",
|
|
75
|
+
"url": "git+https://github.com/yusufaf/sfn-diagram.git"
|
|
76
|
+
},
|
|
77
|
+
"bugs": {
|
|
78
|
+
"url": "https://github.com/yusufaf/sfn-diagram/issues"
|
|
79
|
+
},
|
|
80
|
+
"homepage": "https://github.com/yusufaf/sfn-diagram#readme"
|
|
81
|
+
}
|