39 lines
1.9 KiB
JSON
39 lines
1.9 KiB
JSON
{
|
|
"name": "Ronin",
|
|
"version": "0.1.0",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron . --disable-gpu",
|
|
"fix": "standard --fix",
|
|
"clean": "rm -r ~/Documents/Ronin-darwin-x64/ ; rm -r ~/Documents/Ronin-linux-x64/ ; rm -r ~/Documents/Ronin-win32-x64/ ; echo 'cleaned build location'",
|
|
"build_osx": "electron-packager . Ronin --platform=darwin --arch=x64 --out ~/Documents/ --overwrite --icon=icon.icns ; echo 'Built for OSX'",
|
|
"build_linux": "electron-packager . Ronin --platform=linux --arch=x64 --out ~/Documents/ --overwrite --icon=icon.ico ; echo 'Built for LINUX'",
|
|
"build_win": "electron-packager . Ronin --platform=win32 --arch=x64 --out ~/Documents/ --overwrite --icon=icon.ico ; echo 'Built for WIN'",
|
|
"build": "npm run clean ; npm run build_osx ; npm run build_linux ; npm run build_win ; npm run add_manual",
|
|
"add_manual": "cp ../resources/MANUAL.txt ~/Documents/Ronin-darwin-x64/MANUAL.txt ; cp ../resources/MANUAL.txt ~/Documents/Ronin-linux-x64/MANUAL.txt ; cp ../resources/MANUAL.txt ~/Documents/Ronin-win32-x64/MANUAL.txt",
|
|
"push_osx": "~/Applications/butler push ~/Documents/Ronin-darwin-x64/ hundredrabbits/ronin:osx-64",
|
|
"push_linux": "~/Applications/butler push ~/Documents/Ronin-linux-x64/ hundredrabbits/ronin:linux-64",
|
|
"push_win": "~/Applications/butler push ~/Documents/Ronin-win32-x64/ hundredrabbits/ronin:windows-64",
|
|
"status": "~/Applications/butler status hundredrabbits/ronin",
|
|
"push": "npm run build ; npm run push_osx ; npm run push_linux ; npm run push_win ; npm run clean ; npm run status"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^7.1.11",
|
|
"electron-packager": "^14.2.1"
|
|
},
|
|
"standard": {
|
|
"globals": [
|
|
"localStorage",
|
|
"DOMParser",
|
|
"onMessage",
|
|
"postMessage",
|
|
"FileReader",
|
|
"performance",
|
|
"Worker"
|
|
],
|
|
"ignore": [
|
|
"/node_modules/*"
|
|
]
|
|
}
|
|
}
|