@unpunnyfuns/d3-blockmap 0.0.0-stage → 0.2.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 CHANGED
@@ -1,6 +1,90 @@
1
1
  {
2
2
  "name": "@unpunnyfuns/d3-blockmap",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Canvas block map for millions of download blocks, D3 scales and colours",
5
+ "license": "MIT",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "type": "module",
10
+ "sideEffects": false,
11
+ "main": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.js"
17
+ },
18
+ "./react": {
19
+ "types": "./dist/react/index.d.ts",
20
+ "import": "./dist/react/index.js"
21
+ }
22
+ },
23
+ "scripts": {
24
+ "test": "vitest run",
25
+ "build": "tsup",
26
+ "test:watch": "vitest",
27
+ "lint": "oxlint src",
28
+ "format": "oxfmt src",
29
+ "format:check": "oxfmt --check src",
30
+ "typecheck": "tsc --noEmit",
31
+ "demo": "python3 -m http.server 4173",
32
+ "verify": "npm run lint && npm run format:check && npm run typecheck && npm test && npm run build",
33
+ "prepare": "husky"
34
+ },
35
+ "dependencies": {
36
+ "d3-array": "^3.2.5",
37
+ "d3-brush": "^3.0.1",
38
+ "d3-color": "^3.1.1",
39
+ "d3-interpolate": "^3.0.2",
40
+ "d3-selection": "^3.0.1"
41
+ },
42
+ "devDependencies": {
43
+ "@commitlint/cli": "^21.2.4",
44
+ "@commitlint/config-conventional": "^21.2.4",
45
+ "@testing-library/react": "^16.3.3",
46
+ "@types/d3-array": "^3.2.2",
47
+ "@types/d3-brush": "^3.0.6",
48
+ "@types/d3-color": "^3.1.3",
49
+ "@types/d3-interpolate": "^3.0.4",
50
+ "@types/d3-selection": "^3.0.12",
51
+ "@types/react": "^19.3.0",
52
+ "@types/react-dom": "^19.3.0",
53
+ "@vitest/browser-playwright": "^5.1.0",
54
+ "husky": "^9.1.7",
55
+ "oxfmt": "^0.77.0",
56
+ "oxlint": "^1.92.0",
57
+ "playwright": "^1.65.0",
58
+ "react": "^19.3.1",
59
+ "react-dom": "^19.3.1",
60
+ "tsup": "^9.0.0",
61
+ "typescript": "^5.9.3",
62
+ "vitest": "^5.1.0"
63
+ },
64
+ "peerDependencies": {
65
+ "react": ">=19"
66
+ },
67
+ "peerDependenciesMeta": {
68
+ "react": {
69
+ "optional": true
70
+ }
71
+ },
72
+ "keywords": [
73
+ "d3",
74
+ "canvas",
75
+ "progress",
76
+ "block-map",
77
+ "bittorrent"
78
+ ],
79
+ "repository": {
80
+ "type": "git",
81
+ "url": "git+https://github.com/unpunnyfuns/d3-blockmap.git"
82
+ },
83
+ "publishConfig": {
84
+ "access": "public"
85
+ },
86
+ "homepage": "https://github.com/unpunnyfuns/d3-blockmap#readme",
87
+ "bugs": {
88
+ "url": "https://github.com/unpunnyfuns/d3-blockmap/issues"
89
+ }
90
+ }