38 lines
1.6 KiB
JSON
38 lines
1.6 KiB
JSON
{
|
|
"name": "Dotgrid",
|
|
"version": "0.1.0",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"fix": "standard --fix",
|
|
"clean": "rm -r ~/Documents/Dotgrid-darwin-x64/ ; rm -r ~/Documents/Dotgrid-linux-x64/ ; rm -r ~/Documents/Dotgrid-win32-x64/ ; echo 'cleaned build location'",
|
|
"build_osx": "electron-packager . Dotgrid --platform=darwin --arch=x64 --out ~/Documents/ --overwrite --icon=icon.icns ; echo 'Built for OSX'",
|
|
"build_linux": "electron-packager . Dotgrid --platform=linux --arch=x64 --out ~/Documents/ --overwrite --icon=icon.ico ; echo 'Built for LINUX'",
|
|
"build_win": "electron-packager . Dotgrid --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",
|
|
"push_osx": "~/Applications/butler push ~/Documents/Dotgrid-darwin-x64/ hundredrabbits/ronin:osx-64",
|
|
"push_linux": "~/Applications/butler push ~/Documents/Dotgrid-linux-x64/ hundredrabbits/ronin:linux-64",
|
|
"push_win": "~/Applications/butler push ~/Documents/Dotgrid-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.0.0",
|
|
"electron-packager": "^14.0.6"
|
|
},
|
|
"standard": {
|
|
"globals": [
|
|
"localStorage",
|
|
"DOMParser",
|
|
"onMessage",
|
|
"postMessage",
|
|
"FileReader",
|
|
"performance",
|
|
"Worker"
|
|
],
|
|
"ignore": [
|
|
"/node_modules/*"
|
|
]
|
|
}
|
|
}
|