spt-launcher/package.json

47 lines
1.2 KiB
JSON

{
"name": "spt-launcher",
"version": "0.1.0",
"description": "SPT 4.0.11 custom launcher",
"main": "dist/main/main.js",
"private": true,
"scripts": {
"dev": "concurrently -k \"vite\" \"wait-on http://localhost:5173 && cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron .\"",
"build:renderer": "vite build",
"build:main": "tsc -p tsconfig.main.json",
"build": "yarn build:renderer && yarn build:main",
"pack": "yarn build && electron-builder --dir",
"dist": "yarn build && electron-builder"
},
"dependencies": {
"electron": "^30.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/node": "^22.12.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
"electron-builder": "^24.13.3",
"typescript": "^5.7.3",
"vite": "^5.4.12",
"wait-on": "^8.0.1"
},
"build": {
"appId": "com.spt.launcher",
"productName": "SPT Launcher",
"files": [
"dist/**",
"package.json"
],
"directories": {
"buildResources": "build"
},
"win": {
"target": "nsis"
}
}
}