@phin-tech/dottie 0.0.0-stage → 0.1.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 +202 -0
- package/PARITY.md +42 -0
- package/README.md +63 -2
- package/dist/dottie-player.js +3075 -0
- package/dist/dottie-player.min.js +63 -0
- package/dist/dottie.js +3018 -0
- package/dist/types/connector.d.ts +28 -0
- package/dist/types/dungeon.d.ts +19 -0
- package/dist/types/element.d.ts +22 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/inspect.d.ts +7 -0
- package/dist/types/metrics.d.ts +11 -0
- package/dist/types/model.d.ts +181 -0
- package/dist/types/note.d.ts +47 -0
- package/dist/types/path.d.ts +76 -0
- package/dist/types/player-entry.d.ts +1 -0
- package/dist/types/player.d.ts +80 -0
- package/dist/types/rng.d.ts +17 -0
- package/dist/types/rough.d.ts +16 -0
- package/dist/types/shapes.d.ts +17 -0
- package/dist/types/svg-util.d.ts +3 -0
- package/dist/types/svg.d.ts +36 -0
- package/dist/types/text.d.ts +15 -0
- package/dist/types/theme.d.ts +10 -0
- package/dist/types/timeline.d.ts +36 -0
- package/package.json +66 -4
package/package.json
CHANGED
|
@@ -1,6 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phin-tech/dottie",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Render and play Dottie (.dottie) drawings and animations in the browser",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/phin-tech/dottie.git",
|
|
10
|
+
"directory": "web"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/phin-tech/dottie/tree/main/web#readme",
|
|
13
|
+
"main": "./dist/dottie.js",
|
|
14
|
+
"module": "./dist/dottie.js",
|
|
15
|
+
"types": "./dist/types/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/types/index.d.ts",
|
|
19
|
+
"default": "./dist/dottie.js"
|
|
20
|
+
},
|
|
21
|
+
"./player": {
|
|
22
|
+
"types": "./dist/types/player-entry.d.ts",
|
|
23
|
+
"default": "./dist/dottie-player.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE",
|
|
30
|
+
"PARITY.md"
|
|
31
|
+
],
|
|
32
|
+
"sideEffects": [
|
|
33
|
+
"./dist/dottie-player.js",
|
|
34
|
+
"./dist/dottie-player.min.js"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "node build.mjs",
|
|
38
|
+
"typecheck": "tsc -p .",
|
|
39
|
+
"test": "tsc -p . && node --test test/*.test.ts",
|
|
40
|
+
"visual": "node build.mjs && node test/visual/run.mjs",
|
|
41
|
+
"test:browser": "node build.mjs && node --test test/browser/*.test.mjs",
|
|
42
|
+
"prepublishOnly": "npm test && node build.mjs"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@types/node": "^24.19.2",
|
|
46
|
+
"@types/pngjs": "^6.0.5",
|
|
47
|
+
"esbuild": "^0.25.12",
|
|
48
|
+
"pixelmatch": "^7.2.0",
|
|
49
|
+
"playwright": "^1.64.1",
|
|
50
|
+
"pngjs": "^7.0.0",
|
|
51
|
+
"typescript": "^5.9.3"
|
|
52
|
+
},
|
|
53
|
+
"publishConfig": {
|
|
54
|
+
"access": "public"
|
|
55
|
+
},
|
|
56
|
+
"keywords": [
|
|
57
|
+
"dottie",
|
|
58
|
+
"diagram",
|
|
59
|
+
"sketch",
|
|
60
|
+
"animation",
|
|
61
|
+
"svg",
|
|
62
|
+
"web-component",
|
|
63
|
+
"rough"
|
|
64
|
+
],
|
|
65
|
+
"engines": {
|
|
66
|
+
"node": ">=18"
|
|
67
|
+
}
|
|
68
|
+
}
|