Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.44 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.44 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
{
"name": "react-two.js",
"version": "0.8.24",
"type": "module",
"description": "A React virtual DOM for Two.js — a renderer agnostic two-dimensional drawing API for the web",
"main": "./dist/react-two-main.es.js",
"module": "./dist/react-two-main.es.js",
"types": "./dist/main.d.ts",
"exports": {
".": {
"import": "./dist/react-two-main.es.js",
"types": "./dist/main.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jonobr1/react-two.js.git"
},
"keywords": [
"react",
"two.js",
"canvas",
"svg",
"webgl",
"graphics",
"animation",
"2d",
"drawing"
],
"author": "Jono Brandel",
"license": "MIT",
"bugs": {
"url": "https://github.com/jonobr1/react-two.js/issues"
},
"homepage": "https://jonobr1.github.io/react-two.js",
"scripts": {
"dev": "vite",
"build": "vite build && tsc --p ./tsconfig.build.json",
"build:lib": "vite build --config vite.config.lib.ts && tsc --p ./tsconfig.build.json",
"build:docs": "vite build --config vite.config.docs.ts",
"preview": "vite preview",
"preview:docs": "vite preview --config vite.config.docs.ts --outDir docs-dist",
"lint": "eslint .",
"test": "vitest",
"test:watch": "vitest --watch",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@headlessui/react": "^2.2.9",
"@heroicons/react": "^2.2.0",
"@tailwindcss/vite": "^4.1.15",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@tweenjs/tween.js": "^25.0.0",
"@types/node": "^22.20.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/ui": "^3.2.4",
"baseline-browser-mapping": "^2.9.14",
"clsx": "^2.1.1",
"eslint": "^9.13.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"globals": "^15.11.0",
"jsdom": "^26.1.0",
"motion": "^12.23.24",
"tailwindcss": "^4.1.14",
"typescript": "~5.6.2",
"typescript-eslint": "^8.11.0",
"vite": "^7.1.11",
"vite-plugin-dts": "^4.5.0",
"vitest": "^3.2.4",
"wink-porter2-stemmer": "^2.0.1"
},
"peerDependencies": {
"react": ">=19",
"react-dom": ">=19",
"two.js": ">=v0.8.24"
}
}