mirror of
https://github.com/Anil-matcha/Open-Generative-AI.git
synced 2026-05-07 01:17:18 +00:00
- Rename vite.config.js to vite.config.mjs so ESM-only @tailwindcss/vite loads correctly (CJS require() can't import ESM modules) - Remove tailwindcss from postcss.config.js — handled by @tailwindcss/vite in Tailwind v4; the v3 PostCSS plugin conflicts with v4 CSS syntax - Add "main": "electron/main.js" to package.json so electron-builder finds the entry point instead of defaulting to index.js - Bump version to 1.0.1 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
82 lines
2 KiB
JSON
82 lines
2 KiB
JSON
{
|
|
"name": "open-generative-ai",
|
|
"description": "Open-source alternative to Higgsfield AI — AI image, video, cinema and lip sync studio",
|
|
"private": true,
|
|
"version": "1.0.1",
|
|
"workspaces": [
|
|
"packages/studio"
|
|
],
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"build:studio": "cd packages/studio && npm run build",
|
|
"setup": "npm install && npm run build:studio",
|
|
"vite:dev": "vite",
|
|
"vite:build": "vite build",
|
|
"electron:build": "vite build && electron-builder --mac",
|
|
"electron:build:win": "vite build && electron-builder --win",
|
|
"electron:build:all": "vite build && electron-builder --mac --win"
|
|
},
|
|
"build": {
|
|
"appId": "ai.generative.open",
|
|
"productName": "Open Generative AI",
|
|
"copyright": "Copyright © 2025",
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"afterPack": "./afterPack.js",
|
|
"files": [
|
|
"dist/**/*",
|
|
"electron/**/*"
|
|
],
|
|
"mac": {
|
|
"category": "public.app-category.graphics-design",
|
|
"icon": "public/banner.png",
|
|
"gatekeeperAssess": false,
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"win": {
|
|
"icon": "public/banner.png",
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"next": "^15.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"studio": "*",
|
|
"axios": "^1.7.0",
|
|
"react-hot-toast": "^2.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"autoprefixer": "^10.4.24",
|
|
"electron": "^33.4.11",
|
|
"electron-builder": "^25.1.8",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "^15.0.0",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^3.4.0",
|
|
"vite": "^5.4.0",
|
|
"@tailwindcss/vite": "^4.1.18"
|
|
},
|
|
"main": "electron/main.js"
|
|
}
|