Set up migration to electron-builder
This commit is contained in:
parent
31f088f805
commit
15229887d3
1 changed files with 72 additions and 2 deletions
74
package.json
74
package.json
|
|
@ -1,15 +1,19 @@
|
|||
{
|
||||
"name": "openflexure-ev",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2-alpha.1",
|
||||
"private": true,
|
||||
"description": "An electron-based user client for the OpenFlexure Microscope Server",
|
||||
"author": "OpenFlexure",
|
||||
"author": "OpenFlexure <contact@openflexure.org> (https://www.openflexure.org)",
|
||||
"homepage": "https://gitlab.com/openflexure/openflexure-microscope-jsclient",
|
||||
"productName": "OpenFlexure eV",
|
||||
"publisher": "Bath Open Instrumentation Group",
|
||||
"displayName": "OpenFlexure eV",
|
||||
"license": "GNU General Public License v3.0 ",
|
||||
"main": "app/app.js",
|
||||
"scripts": {
|
||||
"pack": "build --dir",
|
||||
"dist": "build",
|
||||
"dist:win": "build --win",
|
||||
"build:android": "npm run setup-webpack-config && tns build android --bundle --env.production && npm run remove-webpack-config",
|
||||
"build:ios": "npm run setup-webpack-config && tns build ios --bundle --env.production && npm run remove-webpack-config",
|
||||
"build:web": "vue-cli-service build --mode production.web",
|
||||
|
|
@ -33,6 +37,72 @@
|
|||
"serve:web": "vue-cli-service serve --mode development.web",
|
||||
"setup-webpack-config": "node ./node_modules/vue-cli-plugin-nativescript-vue/lib/scripts/webpack-maintenance pre"
|
||||
},
|
||||
"build": {
|
||||
"appId": "org.openflexure.ev",
|
||||
"files": [
|
||||
"**/*",
|
||||
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
|
||||
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
|
||||
"!**/node_modules/*.d.ts",
|
||||
"!**/node_modules/.bin",
|
||||
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
|
||||
"!.editorconfig",
|
||||
"!**/._*",
|
||||
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
|
||||
"!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}",
|
||||
"!**/{appveyor.yml,.travis.yml,circle.yml}",
|
||||
"!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}",
|
||||
"!**/.env.*",
|
||||
"!**/{.idea,.vscode}${/*}",
|
||||
"!**/app/installers${/*}",
|
||||
"!**/hooks${/*}",
|
||||
"!**/platforms${/*}",
|
||||
"!**/release-builds${/*}",
|
||||
"!**/src${/*}"
|
||||
],
|
||||
"directories": {
|
||||
"output": "release-builds"
|
||||
},
|
||||
"mac": {
|
||||
"icon": "app/icons/mac/icon.icns",
|
||||
"category": "public.app-category.utilities"
|
||||
},
|
||||
"dmg": {
|
||||
"contents": [
|
||||
{
|
||||
"x": 110,
|
||||
"y": 150
|
||||
},
|
||||
{
|
||||
"x": 240,
|
||||
"y": 150,
|
||||
"type": "link",
|
||||
"path": "/Applications"
|
||||
}
|
||||
]
|
||||
},
|
||||
"linux": {
|
||||
"target": [
|
||||
"AppImage",
|
||||
{
|
||||
"target": "deb",
|
||||
"arch": [
|
||||
"x64",
|
||||
"armv7l"
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "app/icons/png/1024x1024.png"
|
||||
},
|
||||
"deb": {
|
||||
"category": "Science"
|
||||
},
|
||||
"win": {
|
||||
"target": "NSIS",
|
||||
"arch": "x64",
|
||||
"icon": "app/icons/win/icon.ico"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"about-window": "^1.12.1",
|
||||
"electron-context-menu": "^0.11.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue