mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
a4fba0e1c5
* Switch to jest * Fix jslib-angular package name * Make angular test project * Split up tests by jslib project * Remove obsolete node test script * Use legacy deps with jest-preset-angular * Move web tests to common * Remove build from pipeline This was only being used because we were not using ts runners. We are now, so build is unnecessary
71 lines
1.9 KiB
JSON
71 lines
1.9 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/**/*",
|
|
"lint": "eslint . && prettier --check .",
|
|
"lint:fix": "eslint . --fix",
|
|
"prettier": "prettier --write .",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:watch:all": "jest --watchAll",
|
|
"prepare": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"@fluffy-spoon/substitute": "^1.202.0",
|
|
"@types/jest": "^27.4.1",
|
|
"@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",
|
|
"jest": "^27.5.1",
|
|
"jest-preset-angular": "^11.1.1",
|
|
"jsdom": "^16.5.3",
|
|
"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"
|
|
}
|
|
}
|