summaryrefslogtreecommitdiff
path: root/security/bitwarden-cli/files/packagejsons/apps/cli/package.json
blob: ca7af3ec596e381fa2a76bdde977b893bae3c85b (plain) (blame)
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
{
  "name": "@bitwarden/cli",
  "description": "A secure and free password manager for all of your devices.",
  "version": "2025.7.0",
  "keywords": [
    "bitwarden",
    "password",
    "vault",
    "password manager",
    "cli"
  ],
  "author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
  "homepage": "https://bitwarden.com",
  "repository": {
    "type": "git",
    "url": "https://github.com/bitwarden/clients"
  },
  "license": "SEE LICENSE IN LICENSE.txt",
  "scripts": {
    "clean": "rimraf dist",
    "build:oss": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" webpack",
    "build:oss:debug": "npm run build:oss && node --inspect ./build/bw.js",
    "build:oss:watch": "webpack --watch",
    "build:oss:prod": "cross-env NODE_ENV=production webpack",
    "build:oss:prod:watch": "cross-env NODE_ENV=production webpack --watch",
    "debug": "node --inspect ./build/bw.js",
    "publish:npm": "npm run build:oss:prod && npm publish --access public",
    "build:bit": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" webpack -c ../../bitwarden_license/bit-cli/webpack.config.js",
    "build:bit:debug": "npm run build:bit && node --inspect ./build/bw.js",
    "build:bit:watch": "webpack --watch -c ../../bitwarden_license/bit-cli/webpack.config.js",
    "build:bit:prod": "cross-env NODE_ENV=production npm run build:bit",
    "build:bit:prod:watch": "cross-env NODE_ENV=production npm run build:bit:watch",
    "dist:oss:win": "npm run build:oss:prod && npm run clean && npm run package:oss:win",
    "dist:oss:mac": "npm run build:oss:prod && npm run clean && npm run package:oss:mac",
    "dist:oss:mac-arm64": "npm run build:oss:prod && npm run clean && npm run package:oss:mac-arm64",
    "dist:oss:lin": "npm run build:oss:prod && npm run clean && npm run package:oss:lin",
    "dist:oss:lin-arm64": "npm run build:oss:prod && npm run clean && npm run package:oss:lin-arm64",
    "dist:bit:win": "npm run build:bit:prod && npm run clean && npm run package:bit:win",
    "dist:bit:mac": "npm run build:bit:prod && npm run clean && npm run package:bit:mac",
    "dist:bit:mac-arm64": "npm run build:bit:prod && npm run clean && npm run package:bit:mac-arm64",
    "dist:bit:lin": "npm run build:bit:prod && npm run clean && npm run package:bit:lin",
    "dist:bit:lin-arm64": "npm run build:bit:prod && npm run clean && npm run package:bit:lin-arm64",
    "package:oss:win": "pkg . --targets win-x64 --output ./dist/oss/windows/bw.exe",
    "package:oss:mac": "pkg . --targets macos-x64 --output ./dist/oss/macos/bw",
    "package:oss:mac-arm64": "pkg . --targets macos-arm64 --output ./dist/oss/macos-arm64/bw",
    "package:oss:lin": "pkg . --targets linux-x64 --output ./dist/oss/linux/bw",
    "package:oss:lin-arm64": "pkg . --targets linux-arm64 --output ./dist/oss/linux-arm64/bw",
    "package:bit:win": "pkg . --targets win-x64 --output ./dist/bit/windows/bw.exe",
    "package:bit:mac": "pkg . --targets macos-x64 --output ./dist/bit/macos/bw",
    "package:bit:mac-arm64": "pkg . --targets macos-arm64 --output ./dist/bit/macos-arm64/bw",
    "package:bit:lin": "pkg . --targets linux-x64 --output ./dist/bit/linux/bw",
    "package:bit:lin-arm64": "pkg . --targets linux-arm64 --output ./dist/bit/linux-arm64/bw",
    "test": "jest",
    "test:watch": "jest --watch",
    "test:watch:all": "jest --watchAll"
  },
  "bin": {
    "bw": "build/bw.js"
  },
  "pkg": {
    "assets": [
      "./build/**/*"
    ]
  },
  "dependencies": {
    "@koa/multer": "4.0.0",
    "@koa/router": "13.1.0",
    "big-integer": "1.6.52",
    "browser-hrtime": "1.1.8",
    "chalk": "4.1.2",
    "commander": "11.1.0",
    "core-js": "3.42.0",
    "form-data": "4.0.2",
    "https-proxy-agent": "7.0.6",
    "inquirer": "8.2.6",
    "jsdom": "26.1.0",
    "jszip": "3.10.1",
    "koa": "2.16.1",
    "koa-bodyparser": "4.4.1",
    "koa-json": "2.0.2",
    "lowdb": "1.0.0",
    "lunr": "2.3.9",
    "multer": "1.4.5-lts.2",
    "node-fetch": "2.6.12",
    "node-forge": "1.3.1",
    "open": "10.1.2",
    "papaparse": "5.5.3",
    "proper-lockfile": "4.1.2",
    "rxjs": "7.8.1",
    "semver": "7.7.2",
    "tldts": "7.0.1",
    "zxcvbn": "4.4.2"
  },
  "engines": {
    "node": "~20",
    "npm": "~10"
  }
}