@mettascript/grapher 2.0.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/package.json ADDED
@@ -0,0 +1,73 @@
1
+ {
2
+ "name": "@mettascript/grapher",
3
+ "version": "2.0.0",
4
+ "author": "MesTTo",
5
+ "license": "MIT",
6
+ "description": "MeTTa visual editor and reduction renderer for browser and Node.js, with node-graph and nested-block views.",
7
+ "keywords": [
8
+ "metta",
9
+ "hyperon",
10
+ "visual",
11
+ "editor",
12
+ "graph",
13
+ "gif",
14
+ "svg",
15
+ "typescript"
16
+ ],
17
+ "type": "module",
18
+ "main": "./dist/index.js",
19
+ "module": "./dist/index.js",
20
+ "types": "./dist/index.d.ts",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.ts",
24
+ "default": "./dist/index.js"
25
+ },
26
+ "./node": {
27
+ "types": "./dist/node.d.ts",
28
+ "default": "./dist/node.js"
29
+ },
30
+ "./package.json": "./package.json"
31
+ },
32
+ "files": [
33
+ "dist"
34
+ ],
35
+ "engines": {
36
+ "node": ">=20"
37
+ },
38
+ "sideEffects": false,
39
+ "dependencies": {
40
+ "@mettascript/hyperon": "2.0.0"
41
+ },
42
+ "devDependencies": {
43
+ "gifenc": "1.0.3",
44
+ "sharp": "^0.35.3"
45
+ },
46
+ "peerDependencies": {
47
+ "gifenc": "^1.0.3",
48
+ "sharp": "^0.35.3"
49
+ },
50
+ "peerDependenciesMeta": {
51
+ "gifenc": {
52
+ "optional": true
53
+ },
54
+ "sharp": {
55
+ "optional": true
56
+ }
57
+ },
58
+ "repository": {
59
+ "type": "git",
60
+ "url": "git+https://github.com/MesTTo/MeTTaScript.git",
61
+ "directory": "packages/grapher"
62
+ },
63
+ "homepage": "https://github.com/MesTTo/MeTTaScript#readme",
64
+ "bugs": {
65
+ "url": "https://github.com/MesTTo/MeTTaScript/issues"
66
+ },
67
+ "publishConfig": {
68
+ "access": "public"
69
+ },
70
+ "scripts": {
71
+ "build": "tsup src/index.ts --format esm --dts --clean --platform browser && tsup src/node.ts --format esm --dts --platform node"
72
+ }
73
+ }