-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.9 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "js-cloudimage-hotspot",
"version": "1.1.6",
"description": "Interactive image hotspots with zoom, popovers, and accessibility",
"license": "MIT",
"author": "Scaleflex",
"homepage": "https://github.com/scaleflex/js-cloudimage-hotspot#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/scaleflex/js-cloudimage-hotspot.git"
},
"bugs": {
"url": "https://github.com/scaleflex/js-cloudimage-hotspot/issues"
},
"main": "dist/js-cloudimage-hotspot.cjs.js",
"module": "dist/js-cloudimage-hotspot.esm.js",
"unpkg": "dist/js-cloudimage-hotspot.min.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/js-cloudimage-hotspot.esm.js",
"require": "./dist/js-cloudimage-hotspot.cjs.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.js",
"require": "./dist/react/index.cjs"
},
"./editor": {
"types": "./dist/editor/index.d.ts",
"import": "./dist/editor/js-cloudimage-hotspot-editor.esm.js",
"require": "./dist/editor/js-cloudimage-hotspot-editor.cjs.js"
}
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"dev": "vite --config config/vite.demo.config.ts",
"dev:react": "vite --config config/vite.demo.config.ts demo/react-demo",
"build": "npm run build:bundle && npm run build:react && npm run build:editor && npm run typecheck:emit",
"build:bundle": "vite build --config config/vite.config.ts",
"build:react": "vite build --config config/vite.react.config.ts",
"build:editor": "vite build --config config/vite.editor.config.ts",
"build:demo": "vite build --config config/vite.demo.config.ts",
"typecheck": "tsc --noEmit",
"typecheck:emit": "tsc --project tsconfig.build.json --emitDeclarationOnly --declaration --outDir dist",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src/ tests/ --ext .ts,.tsx"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/node": "^25.2.3",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.1",
"jsdom": "^25.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.5.3",
"vite": "^5.4.11",
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"keywords": [
"hotspot",
"image",
"zoom",
"pan",
"popover",
"interactive",
"accessibility",
"wcag",
"typescript",
"cloudimage",
"react"
]
}