2018-01-04 03:20:58 +01:00
|
|
|
{
|
2018-01-05 05:51:02 +01:00
|
|
|
"name": "@bitwarden/jslib",
|
2018-04-04 14:22:55 +02:00
|
|
|
"version": "0.0.0",
|
2018-02-27 20:19:31 +01:00
|
|
|
"description": "Common code used across Bitwarden JavaScript projects.",
|
2018-01-06 16:23:16 +01:00
|
|
|
"keywords": [
|
|
|
|
"bitwarden"
|
|
|
|
],
|
2020-02-19 04:33:47 +01:00
|
|
|
"author": "Bitwarden Inc.",
|
2018-01-06 19:58:24 +01:00
|
|
|
"homepage": "https://bitwarden.com",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/bitwarden/jslib"
|
|
|
|
},
|
|
|
|
"license": "GPL-3.0",
|
2018-01-06 15:19:39 +01:00
|
|
|
"scripts": {
|
2018-04-18 19:45:31 +02:00
|
|
|
"clean": "rimraf dist/**/*",
|
2021-06-03 18:58:57 +02:00
|
|
|
"build": "npm run clean && ttsc",
|
|
|
|
"build:watch": "npm run clean && ttsc -watch",
|
|
|
|
"lint": "tslint '*/src/**/*.ts' 'spec/**/*.ts' && prettier --check .",
|
|
|
|
"lint:fix": "tslint '*/src/**/*.ts' 'spec/**/*.ts' --fix",
|
2021-12-16 12:45:01 +01:00
|
|
|
"prettier": "prettier --write .",
|
2018-04-18 18:59:48 +02:00
|
|
|
"test": "karma start ./spec/support/karma.conf.js --single-run",
|
|
|
|
"test:watch": "karma start ./spec/support/karma.conf.js",
|
|
|
|
"test:node": "npm run build && jasmine",
|
2021-12-16 12:45:01 +01:00
|
|
|
"test:node:watch": "concurrently -k -n TSC,Node -c yellow,cyan \"npm run build:watch\" \"nodemon -w ./dist --delay 500ms --exec jasmine\"",
|
|
|
|
"prepare": "husky install"
|
2018-01-06 15:19:39 +01:00
|
|
|
},
|
2018-01-04 03:20:58 +01:00
|
|
|
"devDependencies": {
|
2021-04-22 21:17:14 +02:00
|
|
|
"@fluffy-spoon/substitute": "^1.202.0",
|
2021-06-03 18:58:57 +02:00
|
|
|
"@types/jasmine": "^3.7.6",
|
2021-12-13 11:43:10 +01:00
|
|
|
"@types/node": "^16.11.12",
|
2021-12-16 12:45:01 +01:00
|
|
|
"commander": "7.2.0",
|
2021-05-12 18:55:00 +02:00
|
|
|
"concurrently": "^6.1.0",
|
2021-12-10 12:50:24 +01:00
|
|
|
"form-data": "4.0.0",
|
2021-12-16 12:45:01 +01:00
|
|
|
"husky": "^7.0.4",
|
2021-04-22 21:17:14 +02:00
|
|
|
"jasmine": "^3.7.0",
|
|
|
|
"jasmine-core": "^3.7.1",
|
2018-05-15 15:02:57 +02:00
|
|
|
"jasmine-ts-console-reporter": "^3.1.1",
|
2021-04-22 21:17:14 +02:00
|
|
|
"jsdom": "^16.5.3",
|
|
|
|
"karma": "^6.3.2",
|
|
|
|
"karma-chrome-launcher": "^3.1.0",
|
2019-03-27 19:41:06 +01:00
|
|
|
"karma-cli": "^2.0.0",
|
|
|
|
"karma-detect-browsers": "^2.3.3",
|
2021-04-22 21:17:14 +02:00
|
|
|
"karma-firefox-launcher": "^2.1.0",
|
|
|
|
"karma-jasmine": "^4.0.1",
|
|
|
|
"karma-jasmine-html-reporter": "^1.5.4",
|
2018-05-07 17:43:14 +02:00
|
|
|
"karma-safari-launcher": "^1.0.0",
|
2021-04-22 21:17:14 +02:00
|
|
|
"karma-webpack": "^4.0.2",
|
2021-12-16 12:45:01 +01:00
|
|
|
"lint-staged": "^12.1.2",
|
2021-04-22 21:17:14 +02:00
|
|
|
"nodemon": "^2.0.7",
|
2021-12-16 12:45:01 +01:00
|
|
|
"prettier": "2.5.1",
|
2021-04-22 21:17:14 +02:00
|
|
|
"rimraf": "^3.0.2",
|
2021-12-10 12:50:24 +01:00
|
|
|
"rxjs": "^7.4.0",
|
2021-04-22 21:17:14 +02:00
|
|
|
"ts-loader": "^8.1.0",
|
2020-08-12 21:42:42 +02:00
|
|
|
"tslint": "^6.1.3",
|
2021-06-03 18:58:57 +02:00
|
|
|
"ttypescript": "^1.5.12",
|
|
|
|
"typemoq": "^2.1.0",
|
2021-12-10 12:50:24 +01:00
|
|
|
"typescript": "4.3.5",
|
2021-06-03 18:58:57 +02:00
|
|
|
"typescript-transform-paths": "^2.2.3",
|
2021-04-22 21:17:14 +02:00
|
|
|
"webpack": "^4.46.0"
|
2018-04-17 22:15:19 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-06-03 18:58:57 +02:00
|
|
|
"@bitwarden/jslib-angular": "file:angular",
|
|
|
|
"@bitwarden/jslib-common": "file:common",
|
|
|
|
"@bitwarden/jslib-electron": "file:electron",
|
|
|
|
"@bitwarden/jslib-node": "file:node"
|
2021-05-12 18:55:00 +02:00
|
|
|
},
|
|
|
|
"engines": {
|
2021-12-13 11:43:10 +01:00
|
|
|
"node": "~16",
|
|
|
|
"npm": "~8"
|
2021-12-16 12:45:01 +01:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,ts,css,scss,md}": "prettier --write"
|
2018-01-04 03:20:58 +01:00
|
|
|
}
|
|
|
|
}
|