-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.49 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.49 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
{
"name": "360-image-player",
"version": "0.2.2",
"description": "Framework-agnostic Three.js player for equirectangular 360 images.",
"type": "module",
"license": "GPL-3.0-only",
"sideEffects": false,
"main": "./dist/360-image-player.min.cjs",
"module": "./dist/360-image-player.min.js",
"browser": "./dist/360-image-player.standalone.umd.min.js",
"unpkg": "./dist/360-image-player.standalone.umd.min.js",
"jsdelivr": "./dist/360-image-player.standalone.umd.min.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/360-image-player.min.js",
"require": "./dist/360-image-player.min.cjs",
"default": "./dist/360-image-player.min.js"
},
"./standalone": {
"default": "./dist/360-image-player.standalone.umd.min.js"
}
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/**/*.d.ts",
"dist/360-image-player.min.cjs",
"dist/360-image-player.min.js",
"dist/360-image-player.standalone.umd.min.js",
"README.md",
"LICENSE"
],
"scripts": {
"build": "vite build --config vite.config.ts && vite build --config vite.standalone.config.ts && tsc -p tsconfig.build.json",
"demo": "npm run build && vite demo --host 0.0.0.0",
"demo:build": "npm run build && vite build demo --outDir ../dist-demo --emptyOutDir --base ./",
"lint": "eslint . --max-warnings 0",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test:unit": "vitest run --config vitest.config.ts",
"test:coverage": "vitest run --config vitest.config.ts --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui"
},
"keywords": [
"360-image",
"webgl",
"panorama",
"equirectangular",
"three.js",
"virtual-tour"
],
"peerDependencies": {
"react": ">=16.8.0",
"three": ">=0.164.0 <1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.60.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/three": "^0.164.0",
"@vitest/coverage-v8": "^4.1.8",
"eslint": "^10.2.1",
"globals": "^17.5.0",
"jsdom": "^29.1.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"three": "^0.164.1",
"typescript": "^5.4.5",
"typescript-eslint": "^8.59.0",
"vite": "^8.0.16",
"vitest": "^4.1.5"
},
"dependencies": {
"fflate": "^0.8.3"
}
}