mirror of
https://github.com/bitwarden/desktop.git
synced 2024-12-26 16:58:00 +01:00
try to build
This commit is contained in:
parent
e843578df9
commit
432a808c1e
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@ dist/
|
||||
*.pem
|
||||
build/
|
||||
package-lock.json
|
||||
yarn-error.log
|
||||
|
76
package.json
76
package.json
@ -2,7 +2,20 @@
|
||||
"name": "bitwarden",
|
||||
"productName": "Bitwarden",
|
||||
"description": "A secure and free password manager for all of your devices.",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.0",
|
||||
"keywords": [
|
||||
"bitwarden",
|
||||
"password",
|
||||
"vault",
|
||||
"password manager"
|
||||
],
|
||||
"author": "8bit Solutions LLC <hello@bitwarden.com> (https://bitwarden.com)",
|
||||
"homepage": "https://bitwarden.com",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/bitwarden/desktop.git"
|
||||
},
|
||||
"license": "GPL-3.0",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"lint": "tslint src/**/*.ts || true",
|
||||
@ -10,7 +23,56 @@
|
||||
"build:main": "webpack --config webpack.main.js",
|
||||
"build:renderer": "webpack --config webpack.renderer.js",
|
||||
"build:renderer:watch": "webpack --config webpack.renderer.js --watch",
|
||||
"electron": "npm run build:main && (electron ./build --dev --watch | npm run build:renderer:watch)"
|
||||
"electron": "npm run build:main && (electron ./build --dev --watch | npm run build:renderer:watch)",
|
||||
"pack": "electron-builder --dir",
|
||||
"dist": "electron-builder",
|
||||
"postinstall": "electron-builder install-app-deps"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.bitwarden.desktop",
|
||||
"copyright": "Copyright © 2015-2018 8bit Solutions LLC",
|
||||
"directories": {
|
||||
"buildResources": "resources",
|
||||
"output": "dist",
|
||||
"app": "build"
|
||||
},
|
||||
"nodeGypRebuild": true,
|
||||
"mac": {
|
||||
"category": "public.app-category.productivity"
|
||||
},
|
||||
"dmg": {
|
||||
"background": "./build/background@2x.png",
|
||||
"contents": [
|
||||
{
|
||||
"x": 396,
|
||||
"y": 345,
|
||||
"type": "link",
|
||||
"path": "/Applications"
|
||||
},
|
||||
{
|
||||
"x": 396,
|
||||
"y": 110,
|
||||
"type": "file"
|
||||
}
|
||||
],
|
||||
"window": {
|
||||
"width": 660,
|
||||
"height": 480
|
||||
}
|
||||
},
|
||||
"nsis": {
|
||||
"perMachine": true
|
||||
},
|
||||
"linux": {
|
||||
"target": [
|
||||
"snap",
|
||||
"rpm",
|
||||
"AppImage",
|
||||
"deb"
|
||||
],
|
||||
"category": "Utility",
|
||||
"synopsis": "A secure and free password manager for all of your devices."
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@bitwarden/jslib": "git+https://github.com/bitwarden/jslib.git",
|
||||
@ -19,7 +81,7 @@
|
||||
"copy-webpack-plugin": "^4.2.0",
|
||||
"css-loader": "^0.28.7",
|
||||
"electron": "1.8.2",
|
||||
"electron-builder": "19.56.0",
|
||||
"electron-builder": "^19.56.0",
|
||||
"electron-rebuild": "1.7.3",
|
||||
"electron-reload": "1.2.2",
|
||||
"electron-store": "^1.3.0",
|
||||
@ -51,12 +113,12 @@
|
||||
"@angular/platform-browser-dynamic": "5.2.0",
|
||||
"@angular/router": "5.2.0",
|
||||
"@angular/upgrade": "5.2.0",
|
||||
"core-js": "^2.4.1",
|
||||
"rxjs": "^5.5.6",
|
||||
"zone.js": "^0.8.19",
|
||||
"angular2-toaster": "4.0.2",
|
||||
"angulartics2": "5.0.1",
|
||||
"core-js": "^2.4.1",
|
||||
"desktop-idle": "1.1.1",
|
||||
"keytar": "^4.1.0"
|
||||
"keytar": "^4.1.0",
|
||||
"rxjs": "^5.5.6",
|
||||
"zone.js": "^0.8.19"
|
||||
}
|
||||
}
|
||||
|
10
src/package.json
Normal file
10
src/package.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "bitwarden",
|
||||
"productName": "Bitwarden",
|
||||
"description": "A secure and free password manager for all of your devices.",
|
||||
"version": "0.0.1",
|
||||
"author": "8bit Solutions LLC <hello@bitwarden.com> (https://bitwarden.com)",
|
||||
"homepage": "https://bitwarden.com",
|
||||
"license": "GPL-3.0",
|
||||
"main": "main.js"
|
||||
}
|
@ -55,7 +55,7 @@ const main = {
|
||||
path.resolve(__dirname, 'build/*')
|
||||
]),
|
||||
new CopyWebpackPlugin([
|
||||
'./package.json',
|
||||
'./src/package.json',
|
||||
{ from: './src/images', to: 'images' },
|
||||
{ from: './src/locales', to: 'locales' },
|
||||
]),
|
||||
|
Loading…
Reference in New Issue
Block a user