fix: desktop (#1080)

This commit is contained in:
Mo
2022-06-09 18:01:00 -05:00
committed by GitHub
parent 9c65d64200
commit 6801c3dd3b
16 changed files with 296 additions and 1259 deletions

View File

@@ -8,10 +8,15 @@
"type": "git",
"url": "git://github.com/standardnotes/app"
},
"workspaces": {
"packages": [
"app"
]
},
"scripts": {
"build:remove-unpacked": "rimraf dist/{linux-*,mac,win-*}",
"build": "yarn run webpack --config desktop.webpack.prod.js",
"change-version": "node ../../scripts/desktop/change-version.mjs",
"change-version": "node scripts/change-version.mjs",
"clean:build": "rimraf app/dist/",
"clean:tests": "rimraf test/data/tmp/",
"dev": "NODE_ENV=development webpack --config desktop.webpack.dev.js --watch",
@@ -20,15 +25,17 @@
"lint:formatting": "prettier --check .",
"lint": "yarn lint:formatting && yarn lint:eslint",
"tsc": "tsc --noEmit",
"postinstall": "electron-builder install-app-deps",
"release": "node ../../scripts/desktop/build.mjs mainstream",
"release:mac": "node ../../scripts/desktop/build.mjs mac",
"setup": "yarn && yarn --cwd ./app",
"release": "node scripts/build.mjs mainstream",
"release:mac": "node scripts/build.mjs mac",
"start": "electron ./app --enable-logging --icon _icon/icon.png",
"ava": "rimraf test/data/tmp && ava --serial"
},
"installConfig": {
"hoistingLimits": "workspaces"
},
"dependencies": {
"@electron/remote": "^2.0.8",
"@standardnotes/electron-clear-data": "1.1.1",
"@standardnotes/web": "*",
"axios": "^0.27.2",
"compare-versions": "^4.1.3",
@@ -46,7 +53,6 @@
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@commitlint/config-conventional": "^16.2.4",
"@standardnotes/electron-clear-data": "1.1.1",
"@types/lodash": "^4.14.182",
"@types/mime-types": "^2.1.1",
"@types/node": "15",
@@ -82,7 +88,7 @@
"electronVersion": "17.4.2",
"appId": "org.standardnotes.standardnotes",
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"afterSign": "../../scripts/desktop/afterSignHook.js",
"afterSign": "scripts/afterSignHook.js",
"files": [
"compiled/**/*",
"dist/**/*",