add packaging & fix entry

This commit is contained in:
Dennis Brown 2017-03-11 22:46:22 -06:00
parent b94b3cc2ad
commit 92a70cf19c

View File

@ -1,15 +1,14 @@
{ {
"name": "65802sim.desktop", "name": "6502desktop",
"version": "0.1.0", "version": "0.1.2",
"description": "Desktop version of 6502 Simulator", "description": "Desktop version of 6502 Simulator",
"main": "index.js", "main": "main.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"dev": "electron ./main", "start": "electron .",
"start": "electron ./main.prod", "pack-mac": "electron-packager . 6502Desktop --asar.unpack=protocol-link.html --overwrite --platform=darwin --arch=x64 --icon=assets/mac/app.icns --out=out --osx-sign.identity='Developer ID Application: 3DEsprit' --appBundleId='6502Desktop' appCategoryType=public.app-category.education",
"build-main": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --progress --profile --colors", "pack-win": "electron-packager . --asar.unpack=protocol-link.html --overwrite --platform=win32 --arch=ia32 --icon=assets/win/app.ico --out=out --version-string.CompanyName='3DEsprit' --version-string.FileDescription='6502 Simulator Desktop' --version-string.ProductName='6502 Simulator Desktop'",
"build-renderer": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.production.js --progress --profile --colors", "pack-linux": "electron-packager . --asar.unpack=protocol-link.html --overwrite --platform=linux --arch=x64 --out=out"
"build": "npm run build-main && npm run build-renderer"
}, },
"author": "DBrown", "author": "DBrown",
"license": "ISC", "license": "ISC",
@ -17,6 +16,7 @@
"electron": "^1.6.2", "electron": "^1.6.2",
"electron-debug": "^1.1.0", "electron-debug": "^1.1.0",
"electron-devtools-installer": "^2.1.0", "electron-devtools-installer": "^2.1.0",
"electron-packager": "^8.5.2",
"electron-prebuilt": "^1.4.13" "electron-prebuilt": "^1.4.13"
}, },
"devDependencies": { "devDependencies": {