-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathpackage.json
More file actions
170 lines (170 loc) · 7.7 KB
/
Copy pathpackage.json
File metadata and controls
170 lines (170 loc) · 7.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "@bitwarden/directory-connector",
"productName": "Bitwarden Directory Connector",
"description": "Sync your user directory to your Bitwarden organization.",
"version": "2026.6.1",
"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"
},
"type": "module",
"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:mac": "npm run symlink:lin",
"build:native": "cd native && npm install && npm run build",
"build:native:release": "cd native && npm install && npm run build:release",
"rebuild": "npm run build:native:release",
"lint": "eslint . && prettier --check .",
"lint:fix": "eslint . --fix && prettier --write .",
"build": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\"",
"build:main": "webpack --config webpack.main.mjs",
"build:renderer": "webpack --config webpack.renderer.mjs",
"build:renderer:watch": "webpack --config webpack.renderer.mjs --watch",
"build:dist": "npm run rebuild && npm run build",
"copy:native:build-cli": "node -e \"const{readdirSync,copyFileSync,mkdirSync}=require('fs');const{join}=require('path');const src='node_modules/dc-native';const dst='build-cli';mkdirSync(dst,{recursive:true});readdirSync(src).filter(f=>f.endsWith('.node')).forEach(f=>copyFileSync(join(src,f),join(dst,f)))\"",
"build:cli": "webpack --config webpack.cli.mjs && npm run copy:native:build-cli",
"build:cli:watch": "webpack --config webpack.cli.mjs --watch",
"build:cli:prod": "cross-env NODE_ENV=production webpack --config webpack.cli.mjs",
"build:cli:prod:watch": "cross-env NODE_ENV=production webpack --config webpack.cli.mjs --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 --glob ./dist/*",
"clean:dist:cli": "rimraf --glob ./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:mac:arm64": "npm run clean:dist && electron-builder --mac --arm64 -p never",
"pack:win": "npm run clean:dist && electron-builder --win --x64 --ia32 -p never",
"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:arm64 | npm run pack:cli:lin",
"pack:cli:win": "node scripts/pack-sea.mjs windows",
"pack:cli:mac:arm64": "node scripts/pack-sea.mjs macos-arm64",
"pack:cli:lin": "node scripts/pack-sea.mjs linux",
"dist:lin": "npm run build:dist && npm run pack:lin",
"dist:mac": "npm run build:dist && npm run pack:mac",
"dist:mac:arm64": "npm run build:dist && npm run pack:mac:arm64",
"dist:win": "npm run build:dist && npm run pack:win",
"dist:win:ci": "npm run rebuild && 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:arm64": "npm run build:cli:prod && npm run clean:dist:cli && npm run pack:cli:mac:arm64",
"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",
"prettier": "prettier --write .",
"prepare": "husky",
"test": "jest --testPathIgnorePatterns=.integration.spec.ts",
"test:watch": "jest --watch --testPathIgnorePatterns=.integration.spec.ts",
"test:watch:all": "jest --watchAll --testPathIgnorePatterns=.integration.spec.ts",
"test:integration": "node --experimental-vm-modules node_modules/.bin/jest .integration.spec.ts",
"test:integration:watch": "node --experimental-vm-modules node_modules/.bin/jest .integration.spec.ts --watch",
"test:integration:setup": "sh ./utils/openldap/mkcert.sh && docker compose up -d --wait",
"test:types": "npx tsc --noEmit"
},
"devDependencies": {
"@angular-eslint/eslint-plugin-template": "21.4.0",
"@angular-eslint/template-parser": "21.4.0",
"@angular/build": "21.2.2",
"@angular/compiler-cli": "21.2.17",
"@electron/notarize": "3.1.1",
"@microsoft/microsoft-graph-types": "2.43.1",
"@ngtools/webpack": "21.2.2",
"@types/inquirer": "9.0.9",
"@types/jest": "30.0.0",
"@types/node": "25.9.1",
"@types/node-forge": "1.3.14",
"@types/proper-lockfile": "4.1.4",
"@types/semver": "7.7.1",
"@typescript-eslint/eslint-plugin": "8.60.1",
"@typescript-eslint/parser": "8.60.1",
"babel-loader": "10.1.1",
"concurrently": "10.0.3",
"copy-webpack-plugin": "14.0.0",
"cross-env": "10.1.0",
"css-loader": "7.1.4",
"dotenv": "17.4.2",
"electron": "42.3.0",
"electron-builder": "26.15.5",
"electron-log": "5.4.3",
"electron-store": "11.0.2",
"electron-updater": "6.8.3",
"eslint": "9.39.4",
"eslint-config-prettier": "10.1.8",
"eslint-import-resolver-typescript": "4.4.4",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-rxjs-angular-x": "0.1.0",
"eslint-plugin-rxjs-x": "0.9.1",
"html-loader": "5.1.0",
"html-webpack-plugin": "5.6.6",
"husky": "9.1.7",
"jest": "30.4.2",
"jest-environment-jsdom": "30.4.1",
"jest-junit": "17.0.0",
"jest-mock-extended": "4.0.0",
"jest-preset-angular": "16.2.0",
"lint-staged": "17.0.5",
"mini-css-extract-plugin": "2.10.0",
"node-forge": "1.4.0",
"node-loader": "2.1.0",
"prettier": "3.8.1",
"rimraf": "6.1.3",
"rxjs": "7.8.2",
"sass": "1.100.0",
"sass-loader": "17.0.0",
"ts-jest": "29.4.6",
"ts-loader": "9.6.0",
"tsconfig-paths-webpack-plugin": "4.2.0",
"type-fest": "5.8.0",
"typescript": "5.9.3",
"webpack": "5.107.2",
"webpack-cli": "7.0.2",
"webpack-merge": "6.0.1",
"webpack-node-externals": "3.0.0",
"zone.js": "0.16.1"
},
"dependencies": {
"@angular/animations": "21.2.17",
"@angular/cdk": "21.2.2",
"@angular/common": "21.2.17",
"@angular/compiler": "21.2.17",
"@angular/core": "21.2.17",
"@angular/forms": "21.2.17",
"@angular/platform-browser": "21.2.17",
"@angular/platform-browser-dynamic": "21.2.17",
"@angular/router": "21.2.17",
"@microsoft/microsoft-graph-client": "3.0.7",
"bootstrap": "5.3.8",
"browser-hrtime": "1.1.8",
"chalk": "5.6.2",
"commander": "15.0.0",
"dc-native": "file:./native",
"form-data": "4.0.6",
"googleapis": "171.4.0",
"https-proxy-agent": "9.1.0",
"inquirer": "14.0.2",
"ldapts": "8.1.7",
"lowdb": "7.0.1",
"ngx-toastr": "20.0.5",
"proper-lockfile": "4.1.2",
"rxjs": "7.8.2",
"zone.js": "0.16.1"
},
"engines": {
"node": "~25",
"npm": "~11"
}
}