polly-graph 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/package.json ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "polly-graph",
3
+ "version": "0.1.0",
4
+ "description": "Reusable D3-based graph visualization SDK with configurable nodes, links, labels, interactions, and layout behaviors.",
5
+ "license": "MIT",
6
+ "author": "Badal",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/badal-pareta/polly-graph.git"
10
+ },
11
+ "homepage": "https://github.com/badal-pareta/polly-graph#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/badal-pareta/polly-graph/issues"
14
+ },
15
+ "keywords": [
16
+ "graph",
17
+ "visualization",
18
+ "d3",
19
+ "network-graph",
20
+ "typescript",
21
+ "sdk"
22
+ ],
23
+ "type": "module",
24
+ "sideEffects": false,
25
+ "main": "./dist/index.cjs",
26
+ "module": "./dist/index.js",
27
+ "types": "./dist/index.d.ts",
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.js",
32
+ "require": "./dist/index.cjs"
33
+ }
34
+ },
35
+ "files": [
36
+ "dist",
37
+ "README.md",
38
+ "LICENSE"
39
+ ],
40
+ "engines": {
41
+ "node": ">=18"
42
+ },
43
+ "publishConfig": {
44
+ "access": "public",
45
+ "registry": "https://registry.npmjs.org/"
46
+ },
47
+ "scripts": {
48
+ "clean": "rm -rf dist",
49
+ "build": "tsup src/index.ts --format esm,cjs --dts --clean",
50
+ "dev": "tsup src/index.ts --watch --format esm,cjs --dts",
51
+ "lint": "eslint \"src/**/*.ts\"",
52
+ "typecheck": "tsc --noEmit",
53
+ "test": "vitest run --passWithNoTests",
54
+ "prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run build"
55
+ },
56
+ "dependencies": {
57
+ "d3": "7.9.0"
58
+ },
59
+ "devDependencies": {
60
+ "@eslint/js": "^9.39.4",
61
+ "@types/d3-drag": "^3.0.7",
62
+ "@types/d3-force": "^3.0.10",
63
+ "@types/d3-selection": "^3.0.11",
64
+ "@types/d3-transition": "^3.0.9",
65
+ "@types/d3-zoom": "^3.0.8",
66
+ "@types/node": "^22.15.0",
67
+ "@typescript-eslint/eslint-plugin": "^8.31.0",
68
+ "@typescript-eslint/parser": "^8.31.0",
69
+ "eslint": "^9.25.0",
70
+ "tsup": "^8.3.0",
71
+ "typescript": "^5.8.3",
72
+ "typescript-eslint": "^8.59.1",
73
+ "vitest": "^3.1.1"
74
+ }
75
+ }