package.json cleanup

This commit is contained in:
Vendicated 2023-04-05 16:57:09 +02:00
parent f357ee4260
commit fe58dcfa51
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

View file

@ -1,21 +1,21 @@
{ {
"name": "VencordDesktop", "name": "VencordDesktop",
"private": true,
"version": "0.1.2", "version": "0.1.2",
"private": true,
"description": "", "description": "",
"keywords": [],
"license": "GPL-3.0",
"author": "Vendicated <vendicated@riseup.net>",
"main": "dist/js/main.js", "main": "dist/js/main.js",
"scripts": { "scripts": {
"build": "tsx scripts/build.mts", "build": "tsx scripts/build.mts",
"watch": "pnpm build --watch",
"package": "pnpm build && electron-builder", "package": "pnpm build && electron-builder",
"package:dir": "pnpm build && electron-builder --dir", "package:dir": "pnpm build && electron-builder --dir",
"start": "pnpm build && electron .", "start": "pnpm build && electron .",
"start:watch": "tsx scripts/startWatch.mts", "start:watch": "tsx scripts/startWatch.mts",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"watch": "pnpm build --watch"
}, },
"keywords": [],
"author": "Vendicated <vendicated@riseup.net>",
"license": "GPL-3.0",
"devDependencies": { "devDependencies": {
"@types/node": "^18.15.11", "@types/node": "^18.15.11",
"electron": "^23.2.0", "electron": "^23.2.0",
@ -26,15 +26,13 @@
}, },
"build": { "build": {
"appId": "dev.vencord.desktop", "appId": "dev.vencord.desktop",
"productName": "Vencord Desktop", "files": [
"mac": { "!*",
"category": "Network" "dist/js",
}, "static",
"nsis": { "package.json",
"include": "build/installer.nsh", "LICENSE"
"oneClick": false, ],
"allowToChangeInstallationDirectory": true
},
"linux": { "linux": {
"category": "Network", "category": "Network",
"maintainer": "vendicated+vencord-desktop@riseup.net", "maintainer": "vendicated+vencord-desktop@riseup.net",
@ -45,12 +43,14 @@
"AppImage" "AppImage"
] ]
}, },
"files": [ "mac": {
"!*", "category": "Network"
"dist/js", },
"static", "nsis": {
"package.json", "allowToChangeInstallationDirectory": true,
"LICENSE" "include": "build/installer.nsh",
] "oneClick": false
},
"productName": "Vencord Desktop"
} }
} }