Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 2.88 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 2.88 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "@playcanvas/react",
"version": "0.11.7",
"description": "A React renderer for PlayCanvas – build interactive 3D applications using React's declarative paradigm.",
"keywords": [
"2d",
"3d",
"react",
"react-native",
"gaussian",
"game",
"gltf",
"splatting",
"webgl",
"webgl2",
"webgpu",
"webxr"
],
"homepage": "https://developer.playcanvas.com/user-manual/react/",
"bugs": {
"url": "https://github.com/playcanvas/react/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/playcanvas/react",
"directory": "packages/lib"
},
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./components": {
"types": "./dist/components/index.d.ts",
"import": "./dist/components/index.js"
},
"./hooks": {
"types": "./dist/hooks/index.d.ts",
"import": "./dist/hooks/index.js"
},
"./scripts": {
"types": "./dist/scripts/index.d.ts",
"import": "./dist/scripts/index.js"
},
"./utils": {
"types": "./dist/utils/index.d.ts",
"import": "./dist/utils/index.js"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"components": [
"./dist/components/index.d.ts"
],
"scripts": [
"./dist/scripts/index.d.ts"
],
"utils": [
"./dist/utils/index.d.ts"
],
"hooks": [
"./dist/hooks/index.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest"
},
"dependencies": {
"dedent": "^1.6.0"
},
"devDependencies": {
"@testing-library/jest-dom": "7.0.1",
"@testing-library/react": "16.3.3",
"@types/node": "24.13.6",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@vitejs/plugin-react": "6.1.1",
"@vitest/coverage-v8": "5.0.2",
"eslint-plugin-require-extensions": "0.1.3",
"jsdom": "30.1.1",
"vitest": "5.0.2"
},
"peerDependencies": {
"playcanvas": "^2.11.8",
"react": "^18.3.1 || ^19.1.0",
"react-dom": "^18.3.1 || ^19.1.0",
"sync-ammo": "^0.1.2"
},
"peerDependenciesMeta": {
"sync-ammo": {
"optional": true
}
},
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
}
}