@samatawy/diagrams 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 +15 -0
- package/README.md +107 -0
- package/dist/index.cjs +11163 -0
- package/dist/index.d.cts +4240 -0
- package/dist/index.d.ts +4240 -0
- package/dist/index.js +11130 -0
- package/package.json +64 -0
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@samatawy/diagrams",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "TypeScript library for designing, viewing, and managing diagrams.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"browser": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"README.md",
|
|
20
|
+
"LICENSE"
|
|
21
|
+
],
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=18"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"clean": "rimraf dist docs",
|
|
31
|
+
"build": "tsup src/index.ts --format esm,cjs --dts --clean --platform browser",
|
|
32
|
+
"dev": "tsup src/index.ts --format esm,cjs --dts --watch --platform browser",
|
|
33
|
+
"lint": "tsc --noEmit -p tsconfig.json",
|
|
34
|
+
"test": "vitest run",
|
|
35
|
+
"test:watch": "vitest",
|
|
36
|
+
"docs": "typedoc",
|
|
37
|
+
"site": "npm run build && npm run docs && node scripts/build-site.mjs",
|
|
38
|
+
"site:run": "npm run site && npx --yes http-server -p 4173 ./site",
|
|
39
|
+
"prepublishOnly": "npm run lint && npm run test && npm run build && npm run docs"
|
|
40
|
+
},
|
|
41
|
+
"keywords": [
|
|
42
|
+
"typescript",
|
|
43
|
+
"viewer",
|
|
44
|
+
"editor",
|
|
45
|
+
"diagram",
|
|
46
|
+
"graph",
|
|
47
|
+
"illustration",
|
|
48
|
+
"canvas"
|
|
49
|
+
],
|
|
50
|
+
"author": "Sam Atawy <sam.atawy@gmail.com>",
|
|
51
|
+
"license": "ISC",
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/node": "^24.3.1",
|
|
54
|
+
"jsdom": "^26.1.0",
|
|
55
|
+
"rimraf": "^6.0.1",
|
|
56
|
+
"tsup": "^8.5.0",
|
|
57
|
+
"typedoc": "^0.28.14",
|
|
58
|
+
"typescript": "^5.9.2",
|
|
59
|
+
"vitest": "^3.2.4"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"uuid": "^14.0.0"
|
|
63
|
+
}
|
|
64
|
+
}
|