mirror of
https://github.com/bitwarden/browser
synced 2024-12-26 18:04:07 +01:00
85 lines
2.6 KiB
JSON
85 lines
2.6 KiB
JSON
{
|
|
"name": "@bitwarden/jslib",
|
|
"version": "0.0.0",
|
|
"description": "Common code used across Bitwarden JavaScript projects.",
|
|
"keywords": [
|
|
"bitwarden"
|
|
],
|
|
"author": "Bitwarden Inc.",
|
|
"homepage": "https://bitwarden.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/bitwarden/jslib"
|
|
},
|
|
"license": "GPL-3.0",
|
|
"scripts": {
|
|
"clean": "rimraf dist/**/*",
|
|
"build": "npm run clean && ttsc",
|
|
"build:watch": "npm run clean && ttsc -watch",
|
|
"lint": "eslint . && prettier --check .",
|
|
"lint:fix": "eslint . --fix",
|
|
"prettier": "prettier --write .",
|
|
"test": "karma start ./spec/support/karma.conf.js --single-run",
|
|
"test:watch": "karma start ./spec/support/karma.conf.js",
|
|
"test:node": "jasmine-ts -r tsconfig-paths/register",
|
|
"test:node:watch": "nodemon -w ./angular -w ./common -w ./electron -w ./node -w ./shared -w ./spec --ext \"ts,js,mjs,json\" --exec jasmine-ts -r tsconfig-paths/register",
|
|
"prepare": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"@fluffy-spoon/substitute": "^1.202.0",
|
|
"@types/jasmine": "^3.7.6",
|
|
"@types/node": "^16.11.12",
|
|
"@typescript-eslint/eslint-plugin": "^5.10.1",
|
|
"@typescript-eslint/parser": "^5.10.1",
|
|
"commander": "7.2.0",
|
|
"concurrently": "^6.1.0",
|
|
"eslint": "^8.7.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"form-data": "4.0.0",
|
|
"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",
|
|
"jsdom": "^16.5.3",
|
|
"karma": "^6.3.2",
|
|
"karma-chrome-launcher": "^3.1.0",
|
|
"karma-cli": "^2.0.0",
|
|
"karma-detect-browsers": "^2.3.3",
|
|
"karma-firefox-launcher": "^2.1.0",
|
|
"karma-jasmine": "^4.0.1",
|
|
"karma-jasmine-html-reporter": "^1.5.4",
|
|
"karma-safari-launcher": "^1.0.0",
|
|
"karma-webpack": "^4.0.2",
|
|
"lint-staged": "^12.1.2",
|
|
"nodemon": "^2.0.7",
|
|
"prettier": "2.5.1",
|
|
"rimraf": "^3.0.2",
|
|
"rxjs": "^7.4.0",
|
|
"ts-loader": "^8.1.0",
|
|
"ts-node": "^10.4.0",
|
|
"tsconfig-paths": "^3.12.0",
|
|
"ttypescript": "^1.5.12",
|
|
"typemoq": "^2.1.0",
|
|
"typescript": "4.3.5",
|
|
"typescript-transform-paths": "^2.2.3",
|
|
"webpack": "^4.46.0"
|
|
},
|
|
"dependencies": {
|
|
"@bitwarden/jslib-angular": "file:angular",
|
|
"@bitwarden/jslib-common": "file:common",
|
|
"@bitwarden/jslib-electron": "file:electron",
|
|
"@bitwarden/jslib-node": "file:node"
|
|
},
|
|
"engines": {
|
|
"node": "~16",
|
|
"npm": "~8"
|
|
},
|
|
"lint-staged": {
|
|
"*": "prettier --ignore-unknown --write",
|
|
"*.ts": "eslint --fix"
|
|
}
|
|
}
|