@bitwarden/cli
Advanced tools
Comparing version 0.0.5 to 0.1.0
{ | ||
"bitwarden": { | ||
"message": "Bitwarden" | ||
}, | ||
"authenticatorAppTitle": { | ||
"message": "Authenticator App" | ||
}, | ||
"yubiKeyTitle": { | ||
"message": "YubiKey OTP Security Key" | ||
}, | ||
"emailTitle": { | ||
"message": "Email" | ||
} | ||
} |
{ | ||
"name": "@bitwarden/cli", | ||
"description": "A secure and free password manager for all of your devices.", | ||
"version": "0.0.5", | ||
"version": "0.1.0", | ||
"keywords": [ | ||
@@ -28,2 +28,10 @@ "bitwarden", | ||
"build:prod:watch": "cross-env NODE_ENV=production webpack --config webpack.config.js --watch", | ||
"package": "npm run package:win | npm run package:mac | npm run package:lin", | ||
"package:win": "pkg . --targets win-x64 --output ./dist/windows/bw.exe", | ||
"package:mac": "pkg . --targets macos-x64 --output ./dist/macos/bw", | ||
"package:lin": "pkg . --targets linux-x64 --output ./dist/linux/bw", | ||
"dist": "npm run build && npm run clean && npm run package", | ||
"dist:win": "npm run build && npm run clean && npm run package:win", | ||
"dist:mac": "npm run build && npm run clean && npm run package:mac", | ||
"dist:lin": "npm run build && npm run clean && npm run package:lin", | ||
"publish:npm": "npm run build:prod && npm publish --access public", | ||
@@ -36,8 +44,16 @@ "lint": "tslint src/**/*.ts spec/**/*.ts || true", | ||
}, | ||
"pkg": { | ||
"assets": "./build/**/*" | ||
}, | ||
"devDependencies": { | ||
"@types/commander": "^2.12.2", | ||
"@types/lowdb": "^1.0.1", | ||
"@types/lunr": "^2.1.5", | ||
"@types/node": "^10.0.8", | ||
"@types/node-forge": "^0.7.1", | ||
"@types/readline-sync": "^1.4.3", | ||
"clean-webpack-plugin": "^0.1.17", | ||
"copy-webpack-plugin": "^4.2.0", | ||
"cross-env": "^5.1.4", | ||
"pkg": "^4.3.1", | ||
"ts-loader": "^3.5.0", | ||
@@ -50,7 +66,9 @@ "tslint": "^5.9.1", | ||
"dependencies": { | ||
"chalk": "2.4.1", | ||
"commander": "2.15.1", | ||
"lowdb": "1.0.0", | ||
"node-fetch": "2.1.2", | ||
"node-forge": "0.7.1", | ||
"node-localstorage": "1.3.1" | ||
"readline-sync": "1.4.9" | ||
} | ||
} |
@@ -1,1 +0,44 @@ | ||
# cli | ||
[](https://ci.appveyor.com/project/bitwarden/cli) | ||
[](https://travis-ci.org/bitwarden/cli) | ||
[](https://gitter.im/bitwarden/Lobby) | ||
# Bitwarden Command-line Interface | ||
<a href="https://bitwarden.com/#download"><img src="https://imgur.com/SLv9paA.png" width="500" height="113"></a> | ||
The Bitwarden CLI is written with TypeScript and Node.js. The CLI can be run on Windows, macOS, and Linux distributions. | ||
# Download/Install | ||
You can install the CLI two different ways: | ||
1. If you already have the Node.js runtime installed on your system, you can simply install the CLI using NPM. NPM makes it way to keep your installation updated as well. | ||
```bash | ||
npm install -g @bitwarden/cli | ||
``` | ||
2. We provide natively packaged versions of the CLI for each operating system which have no requirements on installing the Node.js runtime. You can obtain these from the [downloads section](https://bitwarden.com/#download) on our website. | ||
# Build/Run | ||
**Requirements** | ||
- [Node.js](https://nodejs.org/) | ||
**Run the app** | ||
```bash | ||
npm install | ||
npm run build:watch | ||
``` | ||
You can then run commands from the `./build` folder: | ||
```bash | ||
node ./build/bw.js login | ||
``` | ||
# Contribute | ||
Code contributions are welcome! Please commit any pull requests against the `master` branch. Learn more about how to contribute by reading the [`CONTRIBUTING.md`](CONTRIBUTING.md) file. | ||
Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the [`SECURITY.md`](SECURITY.md) file. |
Sorry, the diff of this file is too big to display
4345062
5
55150
45
6
15
+ Addedchalk@2.4.1
+ Addedlowdb@1.0.0
+ Addedreadline-sync@1.4.9
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.4.1(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedis-promise@2.2.2(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlowdb@1.0.0(transitive)
+ Addedpify@3.0.0(transitive)
+ Addedreadline-sync@1.4.9(transitive)
+ Addedsteno@0.4.4(transitive)
+ Addedsupports-color@5.5.0(transitive)
- Removednode-localstorage@1.3.1
- Removedimurmurhash@0.1.4(transitive)
- Removednode-localstorage@1.3.1(transitive)
- Removedslide@1.1.6(transitive)
- Removedwrite-file-atomic@1.3.4(transitive)