-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 loc) · 1.65 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"name": "electron-vite-template",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"appi": "node scripts/init.js",
"dev": "echo '🦕 running dev server' && cd development && vite",
"bs": "yarn build && yarn start",
"build": "yarn build_no_copy && yarn copy_built",
"start": "echo '🦕 starting electron app' && cd production && yarn start",
"dist": "echo '🦕 packaging electron app' && cd production && yarn app:dist",
"dist_final": "echo '🦕 packaging electron app (final) (notarising)' && cd production && yarn app:dist_final",
"copy_built": "echo '🦕 deleting old assets' && if test -f production/index.html; then rm production/index.html; fi && if [ -d production/assets ]; then rm -rf production/assets; fi && if [ -d production/game-assets ]; then rm -rf production/game-assets; fi && echo '🦕 copying new assets' && cp -r development/dist/* production/",
"build_no_copy": "echo '🦕 building static assets' && cd development && vite build --base=./",
"preview": "echo '🦕 previewing static assets' && cd development && vite preview",
"install_all": "echo '🦕 running yarn install in root/development/production' && yarn install && cd development && yarn install && cd ../production && yarn install && cd ..",
"install_steamcmd_osx": "mkdir steam && cd steam && curl -sqL 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd_osx.tar.gz' | tar zxvf -",
"steam_mac": "./steam/steamcmd.sh +login $STEAM_ACCOUNT $STEAM_PASSWORD +run_app_build ../scripts/steam_build_mac_os.vdf +quit"
},
"devDependencies": {
"readline": "^1.3.0",
"vite": "^4.3.2"
},
"dependencies": {}
}