mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-05 23:53:21 +00:00
* Update versions in package.json * Rebuild package-lock.json fix * Update electron-log usage * Change necessary logic to get the newest version of the package working * Wrap up `init()` logic in a way that has parity with Bitwarden Desktop Updates for electron-log fix * Update notarize script to match the latest @electron/notarize version Update notarize step to look more like clients
188 lines
7.6 KiB
JSON
188 lines
7.6 KiB
JSON
{
|
|
"name": "@bitwarden/directory-connector",
|
|
"productName": "Bitwarden Directory Connector",
|
|
"description": "Sync your user directory to your Bitwarden organization.",
|
|
"version": "2024.2.0",
|
|
"keywords": [
|
|
"bitwarden",
|
|
"password",
|
|
"vault",
|
|
"password manager"
|
|
],
|
|
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
|
|
"homepage": "https://bitwarden.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/bitwarden/directory-connector"
|
|
},
|
|
"license": "GPL-3.0",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"sub:init": "git submodule update --init --recursive",
|
|
"sub:update": "git submodule update --remote",
|
|
"sub:pull": "git submodule foreach git pull origin master",
|
|
"sub:commit": "npm run sub:pull && git commit -am \"update submodule\"",
|
|
"preinstall": "npm run sub:init",
|
|
"symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib",
|
|
"symlink:mac": "npm run symlink:lin",
|
|
"symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
|
|
"rebuild": "electron-rebuild",
|
|
"reset": "rimraf ./node_modules/keytar/* && npm install",
|
|
"lint": "eslint . && prettier --check .",
|
|
"lint:fix": "eslint . --fix",
|
|
"build": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\"",
|
|
"build:main": "webpack --config webpack.main.js",
|
|
"build:renderer": "webpack --config webpack.renderer.js",
|
|
"build:renderer:watch": "webpack --config webpack.renderer.js --watch",
|
|
"build:dist": "npm run reset && npm run rebuild && npm run build",
|
|
"build:cli": "webpack --config webpack.cli.js",
|
|
"build:cli:watch": "webpack --config webpack.cli.js --watch",
|
|
"build:cli:prod": "cross-env NODE_ENV=production webpack --config webpack.cli.js",
|
|
"build:cli:prod:watch": "cross-env NODE_ENV=production webpack --config webpack.cli.js --watch",
|
|
"electron": "npm run build:main && concurrently -k -n Main,Rend -c yellow,cyan \"electron --inspect=5858 ./build --watch\" \"npm run build:renderer:watch\"",
|
|
"electron:ignore": "npm run build:main && concurrently -k -n Main,Rend -c yellow,cyan \"electron --inspect=5858 --ignore-certificate-errors ./build --watch\" \"npm run build:renderer:watch\"",
|
|
"clean:dist": "rimraf ./dist/*",
|
|
"clean:dist:cli": "rimraf ./dist-cli/*",
|
|
"pack:lin": "npm run clean:dist && electron-builder --linux --x64 -p never",
|
|
"pack:mac": "npm run clean:dist && electron-builder --mac -p never",
|
|
"pack:win": "npm run clean:dist && electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName=\"8bit Solutions LLC\"",
|
|
"pack:win:ci": "npm run clean:dist && electron-builder --win --x64 --ia32 -p never",
|
|
"pack:cli": "npm run pack:cli:win | npm run pack:cli:mac | npm run pack:cli:lin",
|
|
"pack:cli:win": "pkg ./src-cli --targets win-x64 --output ./dist-cli/windows/bwdc.exe",
|
|
"pack:cli:mac": "pkg ./src-cli --targets macos-x64 --output ./dist-cli/macos/bwdc",
|
|
"pack:cli:lin": "pkg ./src-cli --targets linux-x64 --output ./dist-cli/linux/bwdc",
|
|
"dist:lin": "npm run build:dist && npm run pack:lin",
|
|
"dist:mac": "npm run build:dist && npm run pack:mac",
|
|
"dist:win": "npm run build:dist && npm run pack:win",
|
|
"dist:win:ci": "npm run build && npm run pack:win:ci",
|
|
"dist:cli": "npm run build:cli:prod && npm run clean:dist:cli && npm run pack:cli",
|
|
"dist:cli:win": "npm run build:cli:prod && npm run clean:dist:cli && npm run pack:cli:win",
|
|
"dist:cli:mac": "npm run build:cli:prod && npm run clean:dist:cli && npm run pack:cli:mac",
|
|
"dist:cli:lin": "npm run build:cli:prod && npm run clean:dist:cli && npm run pack:cli:lin",
|
|
"publish:lin": "npm run build:dist && npm run clean:dist && electron-builder --linux --x64 -p always",
|
|
"publish:mac": "npm run build:dist && npm run clean:dist && electron-builder --mac -p always",
|
|
"publish:win": "npm run build:dist && npm run clean:dist && electron-builder --win --x64 --ia32 -p always -c.win.certificateSubjectName=\"8bit Solutions LLC\"",
|
|
"prettier": "prettier --write .",
|
|
"prepare": "husky install",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:watch:all": "jest --watchAll",
|
|
"test:types": "npx tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/build-angular": "15.2.9",
|
|
"@angular-eslint/eslint-plugin-template": "17.2.0",
|
|
"@angular-eslint/template-parser": "17.2.0",
|
|
"@angular/compiler-cli": "15.2.9",
|
|
"@angular/platform-browser-dynamic": "15.2.9",
|
|
"@fluffy-spoon/substitute": "1.208.0",
|
|
"@microsoft/microsoft-graph-types": "2.40.0",
|
|
"@ngtools/webpack": "15.2.9",
|
|
"@types/inquirer": "8.2.6",
|
|
"@types/jest": "29.5.11",
|
|
"@types/ldapjs": "2.2.5",
|
|
"@types/lowdb": "1.0.15",
|
|
"@types/lunr": "2.3.7",
|
|
"@types/node": "18.17.12",
|
|
"@types/node-fetch": "2.6.10",
|
|
"@types/node-forge": "1.3.11",
|
|
"@types/proper-lockfile": "4.1.4",
|
|
"@types/tldjs": "2.3.4",
|
|
"@types/zxcvbn": "4.4.4",
|
|
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
"@typescript-eslint/parser": "5.62.0",
|
|
"clean-webpack-plugin": "4.0.0",
|
|
"commander": "11.1.0",
|
|
"concurrently": "8.2.2",
|
|
"copy-webpack-plugin": "12.0.2",
|
|
"cross-env": "7.0.3",
|
|
"css-loader": "6.9.0",
|
|
"dotenv": "16.4.1",
|
|
"electron": "28.2.0",
|
|
"electron-builder": "24.9.1",
|
|
"electron-log": "5.0.1",
|
|
"@electron/notarize": "2.2.1",
|
|
"@electron/rebuild": "3.6.0",
|
|
"electron-reload": "2.0.0-alpha.1",
|
|
"electron-store": "8.1.0",
|
|
"electron-updater": "6.1.7",
|
|
"eslint": "8.56.0",
|
|
"eslint-config-prettier": "8.10.0",
|
|
"eslint-import-resolver-typescript": "2.7.1",
|
|
"eslint-plugin-import": "2.29.1",
|
|
"eslint-plugin-rxjs": "5.0.3",
|
|
"eslint-plugin-rxjs-angular": "2.0.1",
|
|
"form-data": "4.0.0",
|
|
"html-loader": "5.0.0",
|
|
"html-webpack-plugin": "5.6.0",
|
|
"husky": "8.0.3",
|
|
"jest": "29.7.0",
|
|
"jest-preset-angular": "13.1.1",
|
|
"lint-staged": "15.2.0",
|
|
"mini-css-extract-plugin": "2.7.7",
|
|
"node-forge": "1.3.1",
|
|
"node-loader": "2.0.0",
|
|
"pkg": "5.8.1",
|
|
"prettier": "3.2.2",
|
|
"rimraf": "3.0.2",
|
|
"rxjs": "7.8.1",
|
|
"sass": "1.69.7",
|
|
"sass-loader": "14.0.0",
|
|
"ts-jest": "29.1.1",
|
|
"ts-loader": "9.5.1",
|
|
"tsconfig-paths-webpack-plugin": "4.1.0",
|
|
"typescript": "4.9.5",
|
|
"typescript-transform-paths": "3.4.6",
|
|
"webpack": "5.89.0",
|
|
"webpack-cli": "5.1.4",
|
|
"webpack-merge": "5.10.0",
|
|
"webpack-node-externals": "3.0.0",
|
|
"zone.js": "0.13.1"
|
|
},
|
|
"dependencies": {
|
|
"@angular/animations": "15.2.9",
|
|
"@angular/cdk": "15.2.9",
|
|
"@angular/common": "15.2.9",
|
|
"@angular/compiler": "15.2.9",
|
|
"@angular/core": "15.2.9",
|
|
"@angular/forms": "15.2.9",
|
|
"@angular/platform-browser": "15.2.9",
|
|
"@angular/platform-browser-dynamic": "15.2.9",
|
|
"@angular/router": "15.2.9",
|
|
"@microsoft/microsoft-graph-client": "3.0.7",
|
|
"@microsoft/signalr": "7.0.10",
|
|
"@microsoft/signalr-protocol-msgpack": "7.0.10",
|
|
"big-integer": "1.6.52",
|
|
"bootstrap": "4.6.2",
|
|
"browser-hrtime": "1.1.8",
|
|
"chalk": "4.1.2",
|
|
"commander": "7.2.0",
|
|
"core-js": "3.35.0",
|
|
"form-data": "4.0.0",
|
|
"google-auth-library": "7.14.1",
|
|
"googleapis": "73.0.0",
|
|
"https-proxy-agent": "5.0.1",
|
|
"inquirer": "8.2.6",
|
|
"keytar": "7.9.0",
|
|
"ldapjs": "2.3.3",
|
|
"lowdb": "1.0.0",
|
|
"lunr": "2.3.9",
|
|
"ngx-toastr": "16.2.0",
|
|
"node-fetch": "2.7.0",
|
|
"open": "8.4.2",
|
|
"proper-lockfile": "4.1.2",
|
|
"rxjs": "7.8.1",
|
|
"tldjs": "2.3.1",
|
|
"zone.js": "0.13.1",
|
|
"zxcvbn": "4.4.2"
|
|
},
|
|
"engines": {
|
|
"node": "~18",
|
|
"npm": "~9"
|
|
},
|
|
"lint-staged": {
|
|
"./!(jslib)**": "prettier --ignore-unknown --write",
|
|
"*.ts": "eslint --fix"
|
|
}
|
|
}
|