-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 5.4 KB
/
Copy pathpackage.json
File metadata and controls
160 lines (160 loc) · 5.4 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "matchina",
"version": "0.3.0",
"description": "Extensible state and state machine primitives with excellent type inference",
"author": "Winston Fassett",
"repository": "WinstonFassett/matchina",
"homepage": "https://github.com/WinstonFassett/matchina#readme",
"license": "MIT",
"keywords": [],
"bugs": {
"url": "https://github.com/WinstonFassett/matchina/issues"
},
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.mjs"
},
"./react": {
"types": "./dist/integrations/react.d.ts",
"import": "./dist/integrations/react.mjs",
"require": "./dist/integrations/react.js",
"default": "./dist/integrations/react.mjs"
},
"./zod": {
"types": "./dist/integrations/zod.d.ts",
"import": "./dist/integrations/zod.mjs",
"require": "./dist/integrations/zod.js",
"default": "./dist/integrations/zod.mjs"
},
"./valibot": {
"types": "./dist/integrations/valibot.d.ts",
"import": "./dist/integrations/valibot.mjs",
"require": "./dist/integrations/valibot.js",
"default": "./dist/integrations/valibot.mjs"
},
"./inspect": {
"types": "./dist/inspect/index.d.ts",
"import": "./dist/inspect/index.mjs",
"require": "./dist/inspect/index.js",
"default": "./dist/inspect/index.mjs"
},
"./shape": {
"types": "./dist/shape/index.d.ts",
"import": "./dist/shape/index.mjs",
"require": "./dist/shape/index.js",
"default": "./dist/shape/index.mjs"
},
"./viz": {
"types": "./dist/viz/index.d.ts",
"import": "./dist/viz/index.mjs",
"require": "./dist/viz/index.js",
"default": "./dist/viz/index.mjs"
},
"./hsm": {
"types": "./dist/hsm/index.d.ts",
"import": "./dist/hsm/index.mjs",
"require": "./dist/hsm/index.js",
"default": "./dist/hsm/index.mjs"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"workspaces": [
".",
"docs",
"packages/viz-reactflow",
"packages/viz-react",
"packages/viz-mermaid",
"packages/viz-forcegraph",
"packages/viz-svg"
],
"scripts": {
"build": "npm run build:lib",
"build:lib": "unbuild && size-limit",
"test-build": "npm run test:types && npm --workspace docs run check",
"build:docs": "npm --workspace docs run build",
"build:all": "npm run build:lib && npm run build:packages && npm run build:docs",
"dev": "vitest dev",
"dev:all": "npm run dev && npm --workspace docs run dev",
"dev:docs": "npm run dev:prepare && npm --workspace docs run dev",
"dev:prepare": "npm run build:lib && npm run build:packages",
"build:packages": "npm --workspace @matchina/viz-reactflow run build && npm --workspace @matchina/viz-react run build",
"coverage": "vitest run --coverage",
"lint": "eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test docs",
"lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test docs -w",
"release:prep": "npm run test && changelogen --release",
"release:publish-alpha": "npm run build:lib && npm publish --tag alpha --access public",
"release:publish": "npm run build:lib && npm publish --access public && git push --follow-tags",
"release:one-shot-yolo": "npm run release:prep && npm run release:publish",
"test": "vitest run --coverage",
"test:all": "npm run test:types && npm run test",
"test:types": "tsc --noEmit --skipLibCheck",
"test:e2e": "playwright test",
"test:e2e:file": "playwright test --project=chromium",
"typecheck": "tsc --noEmit --skipLibCheck",
"screenshots:dark": "npx tsx scripts/dark-screenshots.ts",
"dogfood:docs": "npx tsx scripts/dogfood-docs.ts",
"screenshots": "node scripts/screenshot-viewer.js",
"screenshots:gallery": "node scripts/screenshot-gallery.js",
"screenshots:html": "node scripts/html-report.js",
"screenshots:html:open": "node scripts/html-report.js && open docs/playwright-report/index.html",
"test:dashboard": "node scripts/test-dashboard.js && open docs/test-dashboard.html",
"score:visualizers": "node scripts/score-visualizers.cjs && open docs/visualizer-scoring-report.md",
"coverage:balance": "node scripts/coverage-balance-report.js"
},
"devDependencies": {
"@playwright/test": "^1.57.0",
"@size-limit/preset-small-lib": "^12.0.0",
"@types/node": "^20.8.2",
"@types/react": "^18.3.7",
"@types/react-dom": "^18.3.7",
"@vitest/coverage-v8": "^4.0.16",
"changelogen": "^0.5.0",
"eslint": "^8.51.0",
"eslint-config-unjs": "^0.2.1",
"prettier": "^3.6.2",
"size-limit": "^10.0.1",
"unbuild": "^3.6.1",
"valibot": "^1.2.0",
"vitest": "^4.0.16",
"zod": "^3.22.4"
},
"dependencies": {},
"peerDependencies": {
"force-graph": "^1.51.0",
"immer": "^10.1.1",
"react": "^18.3.1 || ^19.0.0",
"react-dom": "^18.3.1 || ^19.0.0",
"valibot": "^1.0.0",
"zod": "^3.0.0 || ^4.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"force-graph": {
"optional": true
},
"immer": {
"optional": true
},
"valibot": {
"optional": true
},
"zod": {
"optional": true
}
}
}