@toolpath/viewer 0.2.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,68 @@
1
+ {
2
+ "name": "@toolpath/viewer",
3
+ "version": "0.2.0",
4
+ "description": "React Three Fiber viewer for Toolpath Engine part reports",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/toolpath/toolpath.git",
9
+ "directory": "packages/viewer"
10
+ },
11
+ "homepage": "https://developers.toolpath.com",
12
+ "bugs": {
13
+ "url": "https://github.com/toolpath/toolpath/issues"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public",
17
+ "registry": "https://registry.npmjs.org"
18
+ },
19
+ "type": "module",
20
+ "main": "./dist/index.js",
21
+ "types": "./dist/index.d.ts",
22
+ "exports": {
23
+ ".": {
24
+ "types": "./dist/index.d.ts",
25
+ "import": "./dist/index.js"
26
+ },
27
+ "./engine": {
28
+ "types": "./dist/engine/index.d.ts",
29
+ "import": "./dist/engine/index.js"
30
+ }
31
+ },
32
+ "files": [
33
+ "dist",
34
+ "LICENSE",
35
+ "README.md"
36
+ ],
37
+ "sideEffects": false,
38
+ "peerDependencies": {
39
+ "@react-three/drei": "^10.7.8",
40
+ "@react-three/fiber": "^9.7.0",
41
+ "react": "^19.0.0",
42
+ "react-dom": "^19.0.0",
43
+ "three": ">=0.159.0"
44
+ },
45
+ "devDependencies": {
46
+ "@react-three/drei": "10.7.8",
47
+ "@react-three/fiber": "9.7.0",
48
+ "@types/node": "24.10.1",
49
+ "@types/react": "^19.0.0",
50
+ "@types/react-dom": "^19.0.0",
51
+ "@types/three": "0.185.0",
52
+ "react": "19.2.0",
53
+ "react-dom": "19.2.0",
54
+ "three": "0.185.1",
55
+ "three-stdlib": "2.36.1",
56
+ "tsup": "8.5.1",
57
+ "typescript": "5.9.3",
58
+ "vitest": "4.1.10"
59
+ },
60
+ "dependencies": {
61
+ "camera-controls": "3.1.0"
62
+ },
63
+ "scripts": {
64
+ "build": "tsup src/index.ts src/engine/index.ts --format esm --dts --clean --external react --external react-dom --external three --external @react-three/fiber --external @react-three/drei",
65
+ "check-types": "tsc --noEmit",
66
+ "test": "vitest run"
67
+ }
68
+ }