Re-add native dependencies to src/package.json (#1233)

This commit is contained in:
Oscar Hinton 2022-01-13 10:46:33 +01:00 committed by GitHub
parent 653ff8f45f
commit b6117d6801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1151 additions and 2 deletions

View File

@ -73,7 +73,7 @@
},
"afterSign": "scripts/after-sign.js",
"asarUnpack": [
"*.node"
"**/*.node"
],
"mac": {
"electronUpdaterCompatibility": ">=0.0.1",

1141
src/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -11,5 +11,9 @@
"type": "git",
"url": "https://github.com/bitwarden/desktop"
},
"dependencies": {}
"dependencies": {
"@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4",
"forcefocus": "^1.1.0",
"keytar": "7.7.0"
}
}

View File

@ -77,6 +77,10 @@ const main = {
],
externals: {
"electron-reload": "commonjs2 electron-reload",
"@nodert-win10-rs4/windows.security.credentials.ui":
"commonjs2 @nodert-win10-rs4/windows.security.credentials.ui",
forcefocus: "commonjs2 forcefocus",
keytar: "commonjs2 keytar",
},
};