65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
|
"name": "whattheflat",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "electron/main.cjs",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"electron:dev": "concurrently -k \"vite\" \"wait-on http://localhost:5173 && electron .\"",
|
|
"electron:build": "vite build && electron-builder",
|
|
"electron:build:win": "vite build && electron-builder --win",
|
|
"electron:build:mac": "vite build && electron-builder --mac",
|
|
"electron:build:linux": "vite build && electron-builder --linux"
|
|
},
|
|
"dependencies": {
|
|
"audiomotion-analyzer": "^4.5.4",
|
|
"pitchy": "^4.1.0",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.2.1",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.1.4",
|
|
"concurrently": "^9.2.1",
|
|
"electron": "^40.7.0",
|
|
"electron-builder": "^26.8.1",
|
|
"tailwindcss": "^4.2.1",
|
|
"vite": "^7.3.1",
|
|
"wait-on": "^9.0.4"
|
|
},
|
|
"build": {
|
|
"appId": "com.whattheflat.app",
|
|
"productName": "WhatTheFlat",
|
|
"files": [
|
|
"dist/**/*",
|
|
"electron/**/*",
|
|
"node_modules/**/*",
|
|
"package.json"
|
|
],
|
|
"directories": {
|
|
"buildResources": "assets"
|
|
},
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "assets/whattheflat-logo.png"
|
|
},
|
|
"mac": {
|
|
"target": "dmg",
|
|
"icon": "assets/whattheflat-logo.png"
|
|
},
|
|
"linux": {
|
|
"target": "AppImage",
|
|
"icon": "assets/whattheflat-logo.png"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
}
|
|
}
|
|
}
|