Updated package and distributor to work with S3. Added menu update.
This commit is contained in:
20
package.json
20
package.json
@@ -35,6 +35,7 @@
|
||||
"react-scripts": "3.4.3",
|
||||
"recharts": "^1.8.5",
|
||||
"redux": "^4.0.5",
|
||||
"redux-logger": "^3.0.6",
|
||||
"redux-persist": "^6.0.0",
|
||||
"redux-saga": "^1.1.3",
|
||||
"reselect": "^4.0.0",
|
||||
@@ -48,8 +49,10 @@
|
||||
"dev": "concurrently -k \"npm start\" \"npm:electron\"",
|
||||
"electron": "wait-on tcp:3000 && electron .",
|
||||
"pack": "electron-builder --dir",
|
||||
"dist": "electron-builder",
|
||||
"postinstall": "electron-builder install-app-deps"
|
||||
"dist": "npm run build && electron-builder",
|
||||
"distp": "npm run build && electron-builder --publish always",
|
||||
"distpnb": "npm run build && electron-builder --publish always",
|
||||
"postinstall": "npm run build && electron-builder install-app-deps"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
@@ -73,24 +76,23 @@
|
||||
"electron-devtools-installer": "^3.1.1",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-adapter-react-16": "^1.15.5",
|
||||
"redux-logger": "^3.0.6",
|
||||
"wait-on": "^5.2.0"
|
||||
},
|
||||
"build": {
|
||||
"extends": null,
|
||||
"appId": "com.imex.rps",
|
||||
"copyright": "Copyright © Snapt Software Inc.",
|
||||
"files": [
|
||||
"build/**",
|
||||
"electron/**",
|
||||
"src/ipc.types.js",
|
||||
"src/assets/**"
|
||||
],
|
||||
"publish": [
|
||||
{
|
||||
"provider": "generic",
|
||||
"url": "https://update.rps.bodyshop.app"
|
||||
}
|
||||
],
|
||||
"publish": {
|
||||
"provider": "s3",
|
||||
"bucket": "rps-updater",
|
||||
"region": "ca-central-1"
|
||||
},
|
||||
"win": {
|
||||
"target": "nsis",
|
||||
"icon": "src/icons/win/icon.ico"
|
||||
|
||||
Reference in New Issue
Block a user