Files

81 lines
1.9 KiB
JSON

{
"name": "whattheflat",
"version": "0.1.0",
"private": true,
"type": "module",
"main": "electron/main.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"electron:dev": "concurrently \"vite\" \"wait-on http://localhost:5173 && electron .\"",
"electron:build": "vite build && electron-builder"
},
"dependencies": {
"pitchy": "^4.1.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"audiomotion-analyzer": "^4.5.4"
},
"devDependencies": {
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.4",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.47",
"tailwindcss": "^4.2.1",
"@tailwindcss/vite": "^4.2.1",
"vite": "^7.3.1",
"electron": "^40.7.0",
"electron-builder": "26.8.1",
"concurrently": "^9.2.1",
"wait-on": "^9.0.4"
},
"build": {
"appId": "com.whattheflat.app",
"productName": "WhatTheFlat",
"mac": {
"hardenedRuntime": true,
"entitlements": "electron/entitlements.mac.plist",
"entitlementsInherit": "electron/entitlements.mac.plist",
"extendInfo": {
"NSMicrophoneUsageDescription": "WhatTheFlat needs access to your microphone to detect pitch and provide the tuner."
}
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
},
"zip"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Audio"
},
"files": [
"dist/**/*",
"electron/**/*",
"node_modules/**/*",
"package.json"
],
"directories": {
"buildResources": "build",
"output": "release"
}
}
}