sketchmark 1.1.2 → 1.1.4
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.
Potentially problematic release.
This version of sketchmark might be problematic. Click here for more details.
- package/README.md +101 -104
- package/dist/animation/index.d.ts +5 -0
- package/dist/animation/index.d.ts.map +1 -1
- package/dist/index.cjs +258 -76
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +258 -76
- package/dist/index.js.map +1 -1
- package/dist/sketchmark.iife.js +258 -76
- package/dist/ui/embed.d.ts +24 -1
- package/dist/ui/embed.d.ts.map +1 -1
- package/package.json +70 -72
package/package.json
CHANGED
|
@@ -1,72 +1,70 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sketchmark",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "A plain-text DSL for hand-drawn diagrams. Write boxes, edges, and groups as code — renders sketchy SVG/Canvas via rough.js with a built-in step-by-step animation system.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"diagram",
|
|
7
|
-
"dsl",
|
|
8
|
-
"rough.js",
|
|
9
|
-
"hand-drawn",
|
|
10
|
-
"ai",
|
|
11
|
-
"llm",
|
|
12
|
-
"visualization",
|
|
13
|
-
"animation",
|
|
14
|
-
"svg"
|
|
15
|
-
],
|
|
16
|
-
"author": "sketchmark contributors",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"type": "module",
|
|
19
|
-
"main": "./dist/index.cjs",
|
|
20
|
-
"module": "./dist/index.js",
|
|
21
|
-
"types": "./dist/index.d.ts",
|
|
22
|
-
"exports": {
|
|
23
|
-
".": {
|
|
24
|
-
"import": "./dist/index.js",
|
|
25
|
-
"require": "./dist/index.cjs",
|
|
26
|
-
"types": "./dist/index.d.ts"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"dist",
|
|
31
|
-
"README.md",
|
|
32
|
-
"LICENSE"
|
|
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
|
-
"homepage": "https://github.com/anmism/sketchmark#readme"
|
|
72
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "sketchmark",
|
|
3
|
+
"version": "1.1.4",
|
|
4
|
+
"description": "A plain-text DSL for hand-drawn diagrams. Write boxes, edges, and groups as code — renders sketchy SVG/Canvas via rough.js with a built-in step-by-step animation system.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"diagram",
|
|
7
|
+
"dsl",
|
|
8
|
+
"rough.js",
|
|
9
|
+
"hand-drawn",
|
|
10
|
+
"ai",
|
|
11
|
+
"llm",
|
|
12
|
+
"visualization",
|
|
13
|
+
"animation",
|
|
14
|
+
"svg"
|
|
15
|
+
],
|
|
16
|
+
"author": "sketchmark contributors",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"type": "module",
|
|
19
|
+
"main": "./dist/index.cjs",
|
|
20
|
+
"module": "./dist/index.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"import": "./dist/index.js",
|
|
25
|
+
"require": "./dist/index.cjs",
|
|
26
|
+
"types": "./dist/index.d.ts"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE"
|
|
33
|
+
],
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@chenglou/pretext": "^0.0.4"
|
|
36
|
+
},
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"roughjs": "^4.6.0"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
42
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
43
|
+
"@types/node": "^20.0.0",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
45
|
+
"@typescript-eslint/parser": "^7.0.0",
|
|
46
|
+
"eslint": "^8.56.0",
|
|
47
|
+
"happy-dom": "^13.6.0",
|
|
48
|
+
"rollup": "^4.9.0",
|
|
49
|
+
"tslib": "^2.6.2",
|
|
50
|
+
"typescript": "^5.3.3",
|
|
51
|
+
"vitest": "^1.2.0"
|
|
52
|
+
},
|
|
53
|
+
"sideEffects": false,
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "https://github.com/anmism/sketchmark"
|
|
57
|
+
},
|
|
58
|
+
"bugs": {
|
|
59
|
+
"url": "https://github.com/anmism/sketchmark/issues"
|
|
60
|
+
},
|
|
61
|
+
"homepage": "https://github.com/anmism/sketchmark#readme",
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "rollup -c rollup.config.js",
|
|
64
|
+
"build:watch": "rollup -c rollup.config.js --watch",
|
|
65
|
+
"typecheck": "tsc --noEmit",
|
|
66
|
+
"lint": "eslint src --ext .ts",
|
|
67
|
+
"deploy": "wrangler deploy",
|
|
68
|
+
"preview": "wrangler dev"
|
|
69
|
+
}
|
|
70
|
+
}
|