@tungstenstudio/dartboard-input 1.0.0-rc.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,69 @@
1
+ {
2
+ "name": "@tungstenstudio/dartboard-input",
3
+ "version": "1.0.0-rc.0",
4
+ "description": "Interactive SVG dartboard input component built with D3",
5
+ "type": "module",
6
+ "sideEffects": [
7
+ "*.css"
8
+ ],
9
+ "main": "./dist/index.cjs",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/index.d.ts",
15
+ "default": "./dist/index.js"
16
+ },
17
+ "require": {
18
+ "types": "./dist/index.d.cts",
19
+ "default": "./dist/index.cjs"
20
+ }
21
+ },
22
+ "./style.css": "./dist/index.css"
23
+ },
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "scripts": {
28
+ "start": "npm run build:demo && npx --yes serve demo",
29
+ "build": "tsup src/index.ts --format cjs,esm --dts --clean --sourcemap",
30
+ "build:demo": "tsup src/index.ts --format iife --global-name DartboardInput --outDir demo/dist",
31
+ "dev": "npm run build:demo && npx --yes serve demo",
32
+ "test": "vitest run",
33
+ "test:watch": "vitest",
34
+ "typecheck": "tsc --noEmit",
35
+ "verify": "npm run test && npm run typecheck && npm run build && npm run build:demo"
36
+ },
37
+ "keywords": [
38
+ "darts",
39
+ "dartboard",
40
+ "d3",
41
+ "svg",
42
+ "input"
43
+ ],
44
+ "author": "Tungsten Studio",
45
+ "license": "ISC",
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://gitlab.com/tungstenstudio/libs/dartboard-input.git"
49
+ },
50
+ "homepage": "https://gitlab.com/tungstenstudio/libs/dartboard-input#readme",
51
+ "bugs": {
52
+ "url": "https://gitlab.com/tungstenstudio/libs/dartboard-input/-/issues"
53
+ },
54
+ "peerDependencies": {
55
+ "d3-selection": "^3.0.0",
56
+ "d3-shape": "^3.0.0"
57
+ },
58
+ "devDependencies": {
59
+ "@types/d3-selection": "^3.0.0",
60
+ "@types/d3-shape": "^3.0.0",
61
+ "@vitest/coverage-v8": "4.0.18",
62
+ "d3-selection": "^3.0.0",
63
+ "d3-shape": "^3.0.0",
64
+ "jsdom": "28.1.0",
65
+ "tsup": "^8.0.0",
66
+ "typescript": "^5.4.0",
67
+ "vitest": "4.0.18"
68
+ }
69
+ }