-
-
Notifications
You must be signed in to change notification settings - Fork 611
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 4.08 KB
/
Copy pathpackage.json
File metadata and controls
132 lines (132 loc) · 4.08 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "modly",
"version": "0.4.1",
"description": "Local AI-powered 3D mesh generation from images",
"main": "./out/main/index.js",
"author": "Modly",
"private": true,
"scripts": {
"dev": "node scripts/build-builtins.mjs && electron-vite dev",
"build": "node scripts/build-builtins.mjs && electron-vite build",
"preview": "electron-vite preview",
"prepare": "node scripts/setup-hooks.mjs",
"prepare-resources": "node scripts/download-python-embed.js",
"test": "npm run test:py && npm run test:node",
"test:py": "node scripts/run-pytests.mjs",
"test:node": "node --test --experimental-strip-types --experimental-loader ./scripts/node-ts-extensionless-loader.mjs src/shared/types/assetLibrary.test.ts src/areas/generate/assetLibraryProjection.test.ts src/areas/generate/assetLibraryService.test.ts src/areas/generate/assetLibraryUi.test.ts electron/main/artifact-registry-service.test.ts electron/main/extension-path-guard.test.ts electron/preload/artifact-registry-preload.test.ts && node --test electron/main/*.test.mjs src/**/*.test.mjs",
"package": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false npm run build && npm run prepare-resources && electron-builder",
"package:mac": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false npm run build && npm run prepare-resources && electron-builder --mac --arm64",
"lint": "eslint ."
},
"dependencies": {
"@electron-toolkit/utils": "^4.0.0",
"@mkkellogg/gaussian-splats-3d": "^0.4.7",
"@react-three/drei": "^9.120.0",
"@react-three/fiber": "^8.17.10",
"@react-three/postprocessing": "^2.19.1",
"@xyflow/react": "^12.10.2",
"axios": "^1.7.9",
"electron-updater": "^6.8.3",
"esbuild": "^0.28.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tar": "^7.5.9",
"three": "^0.171.0",
"three-mesh-bvh": "^0.9.9",
"zustand": "^5.0.3"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@types/node": "^22.10.1",
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"@types/tar": "^7.0.87",
"@types/three": "^0.171.0",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"cross-env": "^10.1.0",
"electron": "^33.3.0",
"electron-builder": "^24.13.3",
"electron-vite": "^2.3.0",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.6.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.2",
"typescript-eslint": "^8.61.1",
"vite": "^5.4.0"
},
"build": {
"appId": "com.modly.app",
"productName": "Modly",
"directories": {
"output": "dist"
},
"afterPack": "scripts/after-pack.js",
"files": [
"out/**/*"
],
"extraResources": [
{
"from": "api",
"to": "api",
"filter": [
"**/*",
"!.venv/**/*",
"!__pycache__/**/*",
"!**/build/**/*",
"!**/*.pyd",
"!**/*.egg-info/**/*"
]
},
{
"from": "out/builtin-extensions",
"to": "builtin-extensions"
}
],
"publish": {
"provider": "github",
"owner": "lightningpixel",
"repo": "modly"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"win": {
"target": "nsis",
"artifactName": "${productName}-Setup-${version}.${ext}",
"icon": "resources/icons/icon.ico",
"extraResources": [
{
"from": "resources/python-embed",
"to": "python-embed"
}
]
},
"mac": {
"target": "dmg",
"icon": "resources/icons/icon.icns",
"artifactName": "${productName}-${version}-arm64.${ext}",
"identity": null,
"category": "public.app-category.graphics-design",
"extraResources": [
{
"from": "resources/python-embed",
"to": "python-embed"
}
]
},
"linux": {
"target": "AppImage",
"icon": "resources/icons/icon.png",
"extraResources": [
{
"from": "resources/python-embed",
"to": "python-embed"
}
]
}
}
}