mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-08 09:43:42 +01:00
21e8db9636
* Create testing framework for CLI - Need to add tsconfig for specs to convert module format and add spec dir to output - Use jasmine-ts to test expected dev cycle would be to have two watchers, one for jslib and one for CLI tests. We could add jslib tests to this jasmine config, but it feels wrong to test a submodule * Run prettier * Add tests to build pipeline * Include required package * Add placeholder test * Run prettier * Add nodemon and fix watch
122 lines
4.1 KiB
JSON
122 lines
4.1 KiB
JSON
{
|
|
"name": "@bitwarden/cli",
|
|
"description": "A secure and free password manager for all of your devices.",
|
|
"version": "1.20.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/cli"
|
|
},
|
|
"license": "GPL-3.0-only",
|
|
"scripts": {
|
|
"sub:init": "git submodule update --init --recursive",
|
|
"sub:update": "git submodule update --remote",
|
|
"sub:pull": "git submodule foreach git pull origin master",
|
|
"clean": "rimraf dist/**/*",
|
|
"symlink:win": "rmdir /S /Q ./jslib && cmd /c mklink /J .\\jslib ..\\jslib",
|
|
"symlink:mac": "npm run symlink:lin",
|
|
"symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
|
|
"build": "webpack",
|
|
"build:debug": "npm run build && node --inspect ./build/bw.js",
|
|
"build:watch": "webpack --watch",
|
|
"build:prod": "cross-env NODE_ENV=production webpack",
|
|
"build:prod:watch": "cross-env NODE_ENV=production webpack --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 --build",
|
|
"package:mac": "pkg . --targets macos-x64 --output ./dist/macos/bw",
|
|
"package:lin": "pkg . --targets linux-x64 --output ./dist/linux/bw",
|
|
"debug": "node --inspect ./build/bw.js",
|
|
"dist": "npm run build:prod && npm run clean && npm run package",
|
|
"dist:win": "npm run build:prod && npm run clean && npm run package:win",
|
|
"dist:mac": "npm run build:prod && npm run clean && npm run package:mac",
|
|
"dist:lin": "npm run build:prod && npm run clean && npm run package:lin",
|
|
"publish:npm": "npm run build:prod && npm publish --access public",
|
|
"lint": "tslint 'src/**/*.ts' 'spec/**/*.ts' && prettier --check .",
|
|
"lint:fix": "tslint 'src/**/*.ts' 'spec/**/*.ts' --fix",
|
|
"prettier": "prettier --write .",
|
|
"prepare": "husky install",
|
|
"test": "jasmine-ts -r tsconfig-paths/register -P spec/tsconfig.json",
|
|
"test:watch": "nodemon -w ./spec -w ./src -w ./jslib --ext \"ts,js,mjs,json\" --exec jasmine-ts -r tsconfig-paths/register -P spec/tsconfig.json"
|
|
},
|
|
"bin": {
|
|
"bw": "build/bw.js"
|
|
},
|
|
"pkg": {
|
|
"assets": "./build/**/*"
|
|
},
|
|
"devDependencies": {
|
|
"@fluffy-spoon/substitute": "^1.208.0",
|
|
"@types/express": "^4.17.13",
|
|
"@types/inquirer": "^7.3.1",
|
|
"@types/jasmine": "^3.7.0",
|
|
"@types/jsdom": "^16.2.10",
|
|
"@types/lowdb": "^1.0.10",
|
|
"@types/lunr": "^2.3.3",
|
|
"@types/multer": "^1.4.7",
|
|
"@types/node": "^16.11.12",
|
|
"@types/node-fetch": "^2.5.10",
|
|
"@types/node-forge": "^0.9.7",
|
|
"@types/papaparse": "^5.2.5",
|
|
"@types/tldjs": "^2.3.0",
|
|
"@types/zxcvbn": "^4.4.1",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"copy-webpack-plugin": "^10.2.0",
|
|
"cross-env": "^7.0.3",
|
|
"husky": "^7.0.4",
|
|
"jasmine": "^3.7.0",
|
|
"jasmine-core": "^3.7.1",
|
|
"jasmine-ts": "^0.4.0",
|
|
"jasmine-ts-console-reporter": "^3.1.1",
|
|
"lint-staged": "^12.1.3",
|
|
"pkg": "^5.5.1",
|
|
"prettier": "^2.5.1",
|
|
"rimraf": "^3.0.2",
|
|
"ts-loader": "^8.2.0",
|
|
"ts-node": "^10.4.0",
|
|
"tsconfig-paths": "^3.12.0",
|
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
"tslint": "^6.1.3",
|
|
"tslint-loader": "^3.5.4",
|
|
"typescript": "4.1.5",
|
|
"webpack": "^5.65.0",
|
|
"webpack-cli": "^4.9.1",
|
|
"webpack-node-externals": "^3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"big-integer": "1.6.48",
|
|
"browser-hrtime": "^1.1.8",
|
|
"chalk": "^4.1.1",
|
|
"commander": "7.2.0",
|
|
"express": "^4.17.1",
|
|
"form-data": "4.0.0",
|
|
"https-proxy-agent": "5.0.0",
|
|
"inquirer": "8.0.0",
|
|
"jsdom": "^16.5.3",
|
|
"lowdb": "1.0.0",
|
|
"lunr": "^2.3.9",
|
|
"multer": "^1.4.3",
|
|
"node-fetch": "^2.6.1",
|
|
"node-forge": "0.10.0",
|
|
"open": "^8.0.8",
|
|
"papaparse": "^5.3.0",
|
|
"rxjs": "6.6.7",
|
|
"tldjs": "^2.3.1",
|
|
"zxcvbn": "^4.4.2"
|
|
},
|
|
"engines": {
|
|
"node": "~16",
|
|
"npm": ">=7 <=8"
|
|
},
|
|
"lint-staged": {
|
|
"*": "prettier --ignore-unknown --write"
|
|
}
|
|
}
|