package.json 3.84 KB
Newer Older
mdylag's avatar
mdylag committed
1
{
olgamelnichuk's avatar
olgamelnichuk committed
2
  "name": "lib",
3 4
  "description": "BioStudies Submission Tool (UI)",
  "version": "0.0.0",
mdylag's avatar
mdylag committed
5
  "private": true,
Nestor Diaz's avatar
Nestor Diaz committed
6
  "main": "server/app.ts",
7
  "scripts": {
8 9 10
    "build": "sh ./tasks/build.sh",
    "e2e": "ng e2e",
    "lint": "ng lint",
11
    "ng": "ng",
12
    "ng:start": "ng serve --progress --aot",
Nestor Diaz's avatar
Nestor Diaz committed
13
    "node:compile": "tsc --project ./server/tsconfig.server.json",
14
    "node:beta": "cross-env NODE_ENV=beta node .",
Nestor Diaz's avatar
Nestor Diaz committed
15
    "node:dev": "cross-env NODE_ENV=development tsnd --project ./server/tsconfig.server.json --no-deps --transpile-only .",
16
    "node:prod": "cross-env NODE_ENV=production node .",
Nestor Diaz's avatar
Nestor Diaz committed
17
    "start:dev": "run-p node:dev ng:start",
18
    "pretest": "npm run lint",
Nestor Diaz's avatar
Nestor Diaz committed
19
    "postinstall": "ngcc",
20 21 22 23 24 25 26
    "test": "jest --ci"
  },
  "jest": {
    "preset": "jest-preset-angular",
    "clearMocks": true,
    "collectCoverage": true,
    "setupFilesAfterEnv": [
Nestor Diaz's avatar
Nestor Diaz committed
27
      "<rootDir>/src/tests/setupJestAfterEnv.ts"
28 29 30
    ],
    "coverageThreshold": {
      "global": {
31 32
        "statements": 14.72,
        "branches": 10.26,
33
        "functions": 13.11,
Nestor Diaz's avatar
Nestor Diaz committed
34
        "lines": 13.38
35 36 37 38 39 40 41 42 43 44 45 46 47 48
      }
    },
    "collectCoverageFrom": [
      "**/*.ts",
      "!**/*.extensions.ts",
      "!**/*.config.ts",
      "!**/*.module.ts",
      "!**/*.d.ts",
      "!**/*Mocks.ts",
      "!**/polyfills.ts",
      "!**/main.ts",
      "!**/index.ts"
    ],
    "coveragePathIgnorePatterns": [
49
      "server"
50
    ]
51 52
  },
  "dependencies": {
Nestor Diaz's avatar
Nestor Diaz committed
53 54 55 56 57 58 59 60
    "@angular/animations": "10.0.12",
    "@angular/common": "10.0.12",
    "@angular/compiler": "10.0.12",
    "@angular/core": "10.0.12",
    "@angular/forms": "10.0.12",
    "@angular/platform-browser": "10.0.12",
    "@angular/platform-browser-dynamic": "10.0.12",
    "@angular/router": "10.0.12",
Nestor Diaz's avatar
Nestor Diaz committed
61 62 63 64
    "@biostudies/ckeditor5-build-balloon": "19.0.0",
    "@ckeditor/ckeditor5-angular": "1.2.3",
    "@ckeditor/ckeditor5-clipboard": "19.0.1",
    "@fortawesome/fontawesome-free": "5.14.0",
65
    "@ng-select/ng-select": "^5.0.8",
Nestor Diaz's avatar
Nestor Diaz committed
66 67 68
    "@rxweb/reactive-form-validators": "2.0.0",
    "ag-grid-angular": "23.2.1",
    "ag-grid-community": "23.2.1",
Nestor Diaz's avatar
Nestor Diaz committed
69
    "bootstrap": "^4.5.2",
Nestor Diaz's avatar
Nestor Diaz committed
70
    "fp-ts": "1.19.5",
Nestor Diaz's avatar
Nestor Diaz committed
71 72
    "helmet": "3.21.1",
    "http-status-codes": "1.3.2",
Nestor Diaz's avatar
Nestor Diaz committed
73 74
    "lodash.debounce": "4.0.8",
    "lodash.isempty": "4.4.0",
Nestor Diaz's avatar
Nestor Diaz committed
75
    "ng-recaptcha": "5.0.0",
Nestor Diaz's avatar
Nestor Diaz committed
76
    "ngx-bootstrap": "6.1.0",
Nestor Diaz's avatar
Nestor Diaz committed
77
    "ngx-cookie-service": "10.0.1",
Nestor Diaz's avatar
Nestor Diaz committed
78
    "ngx-markdown": "9.1.1",
Nestor Diaz's avatar
Nestor Diaz committed
79
    "ngx-sortablejs": "3.1.4",
80
    "ngx-toastr": "^13.1.0",
Nestor Diaz's avatar
Nestor Diaz committed
81 82 83
    "pluralize": "8.0.0",
    "rxjs": "6.6.2",
    "sortablejs": "1.10.2",
Nestor Diaz's avatar
Nestor Diaz committed
84 85
    "tslib": "2.0.0",
    "zone.js": "0.10.3"
86
  },
mdylag's avatar
mdylag committed
87
  "devDependencies": {
Nestor Diaz's avatar
Nestor Diaz committed
88 89 90
    "@angular-devkit/build-angular": "0.1000.7",
    "@angular/cli": "10.0.7",
    "@angular/compiler-cli": "10.0.12",
Nestor Diaz's avatar
Nestor Diaz committed
91 92
    "@testing-library/angular": "10.0.2",
    "@testing-library/jest-dom": "5.11.4",
Nestor Diaz's avatar
Nestor Diaz committed
93 94
    "@types/amqplib": "0.5.13",
    "@types/compression": "1.7.0",
Nestor Diaz's avatar
Nestor Diaz committed
95
    "@types/config": "0.0.36",
Nestor Diaz's avatar
Nestor Diaz committed
96 97 98
    "@types/express": "4.17.6",
    "@types/express-http-proxy": "1.6.1",
    "@types/express-winston": "4.0.0",
Nestor Diaz's avatar
Nestor Diaz committed
99
    "@types/helmet": "0.0.47",
Nestor Diaz's avatar
Nestor Diaz committed
100 101 102
    "@types/jest": "26.0.10",
    "@types/jsdom": "16.2.3",
    "@types/node": "14.6.0",
Nestor Diaz's avatar
Nestor Diaz committed
103
    "@types/pluralize": "0.0.29",
Nestor Diaz's avatar
Nestor Diaz committed
104 105 106 107
    "@types/request": "2.48.5",
    "@types/sortablejs": "1.10.4",
    "amqplib": "0.5.6",
    "body-parser": "1.19.0",
Nestor Diaz's avatar
Nestor Diaz committed
108
    "codelyzer": "6.0.0",
Nestor Diaz's avatar
Nestor Diaz committed
109 110 111 112 113 114 115 116 117 118 119
    "compression": "1.7.4",
    "config": "3.1.0",
    "cross-env": "5.2.1",
    "del": "4.1.1",
    "dotenv": "8.0.0",
    "express": "4.17.1",
    "express-http-proxy": "1.5.1",
    "express-winston": "4.0.3",
    "forever": "2.0.0",
    "gulp": "4.0.0",
    "gulp-zip": "3.2.0",
Nestor Diaz's avatar
Nestor Diaz committed
120 121
    "jest": "26.4.2",
    "jest-preset-angular": "8.3.1",
Nestor Diaz's avatar
Nestor Diaz committed
122 123
    "nodemon": "1.19.1",
    "npm-run-all": "4.1.5",
Nestor Diaz's avatar
Nestor Diaz committed
124 125
    "prettier": "^2.1.1",
    "protractor": "7.0.0",
Nestor Diaz's avatar
Nestor Diaz committed
126 127
    "ts-node": "2.0.0",
    "ts-node-dev": "1.0.0-pre.50",
Nestor Diaz's avatar
Nestor Diaz committed
128 129 130 131
    "tslint": "6.1.0",
    "tslint-config-prettier": "1.18.0",
    "tslint-plugin-prettier": "2.3.0",
    "typescript": "3.9.7",
Nestor Diaz's avatar
Nestor Diaz committed
132
    "winston": "3.3.3"
mdylag's avatar
mdylag committed
133 134
  }
}