package.json 4.25 KB
Newer Older
Diego Molteni's avatar
Diego Molteni committed
1
2
3
4
5
6
7
8
9
{
  "name": "seismic-store-service",
  "version": "2.0.0",
  "description": "seismic store service",
  "author": "Diego Molteni <dmolteni3@slb.com>",
  "private": true,
  "scripts": {
    "clean": "rm -rf dist coverage test-results.xml .nyc_output",
    "clean:npm": "npx rimraf ./node_modules",
Daniel Perez's avatar
Daniel Perez committed
10
    "build": "tsc",
Daniel Perez's avatar
Daniel Perez committed
11
    "lint": "tslint -c tslint.json -p tsconfig.json 'src/**/*.ts'",
Diego Molteni's avatar
Diego Molteni committed
12
13
14
15
16
    "start": "node -r dotenv/config ./dist/server/server-start.js",
    "start:redis": "nohup redis-server > /tmp/redis.log 2>&1 &",
    "setup:dev": "(nohup redis-server > /tmp/redis.log 2>&1 &) && (npm i)",
    "test": "env UTEST=true mocha -r ts-node/register tests/utest/test.ts",
    "test-coverage": "env UTEST=true nyc mocha -r ts-node/register --reporter mocha-junit-reporter tests/utest/test.ts",
17
    "test-automation": "npm run clean && npm install && npm run build && npm run test-coverage",
Daniel Perez's avatar
Daniel Perez committed
18
19
    "test-lcov-automation": "npm run clean && npm install && npm run build && npm run test-lcov-coverage",
    "test-lcov-coverage": "env UTEST=true nyc mocha -r ts-node/register -r source-map-support/register --recursive -R mocha-bamboo-reporter tests/utest/test.ts",
20
    "test-e2e-parallel": "node ./tests/e2e/parallel/run_e2e_tests_parallel.js",
Daniel Perez's avatar
Daniel Perez committed
21
    "copy-static-files": "copyfiles --error --up 1 ./docs/api/openapi.osdu.yaml ./dist/docs",
22
    "postbuild": "npm run copy-static-files"
Diego Molteni's avatar
Diego Molteni committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  },
  "nyc": {
    "include": [
      "src/**/*.ts"
    ],
    "exclude": [
      "src/tests/**/*.ts",
      "src/config/*.ts",
      "src/metrics/*.ts"
    ],
    "extension": [
      ".ts"
    ],
    "reporter": [
      "text-summary",
      "html",
Daniel Perez's avatar
Daniel Perez committed
39
40
41
      "cobertura",
      "clover",
      "lcovonly"
Diego Molteni's avatar
Diego Molteni committed
42
43
44
45
46
47
48
49
50
51
52
53
54
    ],
    "sourceMap": true,
    "instrument": true
  },
  "engines": {
    "node": ">= 6",
    "npm": ">= 3"
  },
  "dependencies": {
    "@azure/cosmos": "^3.7.2",
    "@azure/identity": "^1.0.3",
    "@azure/keyvault-secrets": "^4.0.4",
    "@azure/storage-blob": "^12.1.2",
55
    "@cloudant/cloudant": "^4.2.4",
Diego Molteni's avatar
Diego Molteni committed
56
57
58
    "@google-cloud/datastore": "6.3.1",
    "@google-cloud/logging": "^9.0.0",
    "@google-cloud/logging-winston": "4.0.2",
59
    "@google-cloud/pubsub": "^2.10.0",
60
    "@google-cloud/secret-manager": "^3.7.1",
Diego Molteni's avatar
Diego Molteni committed
61
62
63
64
    "@google-cloud/storage": "5.7.0",
    "@google-cloud/trace-agent": "^5.1.1",
    "@opencensus/core": "0.0.22",
    "@opencensus/exporter-stackdriver": "0.0.22",
Diego Molteni's avatar
Diego Molteni committed
65
66
    "applicationinsights": "^1.8.2",
    "applicationinsights-native-metrics": "0.0.5",
67
    "aws-sdk": "^2.739.0",
Diego Molteni's avatar
Diego Molteni committed
68
    "bull": "^3.20.0",
69
    "copyfiles": "^2.4.1",
Diego Molteni's avatar
Diego Molteni committed
70
71
72
73
74
    "cors": "^2.8.5",
    "dotenv": "^8.2.0",
    "express": "4.17.1",
    "extend": "^3.0.2",
    "jsonwebtoken": "8.5.1",
Diego Molteni's avatar
Diego Molteni committed
75
    "jwtproxy": "^1.6.8",
76
    "keycloak-admin": "1.13.0",
Diego Molteni's avatar
Diego Molteni committed
77
    "lodash": "^4.17.21",
78
    "log4js": "^6.3.0",
Diego Molteni's avatar
Diego Molteni committed
79
80
    "minimist": "^1.2.5",
    "mkdirp": "^1.0.4",
Diego Molteni's avatar
Diego Molteni committed
81
    "node-pre-gyp": "^0.17.0",
82
    "redis": "^3.1.2",
Diego Molteni's avatar
Diego Molteni committed
83
84
    "redlock": "^4.1.0",
    "redlock-async": "^3.1.2-fix.2",
85
    "replace-in-file": "^6.2.0",
Diego Molteni's avatar
Diego Molteni committed
86
87
    "request": "2.88.2",
    "request-promise": "4.2.6",
Daniel Perez's avatar
Daniel Perez committed
88
    "swagger-ui-express": "^4.1.6",
Diego Molteni's avatar
Diego Molteni committed
89
    "typescript": "4.2.3",
Diego Molteni's avatar
Diego Molteni committed
90
    "uuid": "^8.3.2",
Diego Molteni's avatar
Diego Molteni committed
91
92
93
    "winston": "3.3.3",
    "xss-filters": "1.2.7",
    "yamljs": "0.3.0",
Diego Molteni's avatar
Diego Molteni committed
94
    "yargs": "^16.2.0",
Diego Molteni's avatar
Diego Molteni committed
95
96
97
    "yargs-parser": "^18.1.3"
  },
  "devDependencies": {
Diego Molteni's avatar
Diego Molteni committed
98
    "@types/bull": "^3.14.4",
Diego Molteni's avatar
Diego Molteni committed
99
100
101
102
    "@types/chai": "4.2.9",
    "@types/cors": "^2.8.6",
    "@types/express": "4.17.2",
    "@types/jsonwebtoken": "8.3.7",
103
    "@types/mocha": "^8.2.2",
Diego Molteni's avatar
Diego Molteni committed
104
105
106
107
108
109
    "@types/node": "13.7.1",
    "@types/redis": "^2.8.16",
    "@types/redis-mock": "^0.17.0",
    "@types/request": "2.48.4",
    "@types/request-promise": "4.1.45",
    "@types/sinon": "^7.5.1",
Diego Molteni's avatar
Diego Molteni committed
110
    "@types/swagger-ui-express": "^4.1.2",
Diego Molteni's avatar
Diego Molteni committed
111
    "@types/uuid": "^8.3.0",
Diego Molteni's avatar
Diego Molteni committed
112
113
114
115
116
117
118
119
120
121
    "@types/xss-filters": "0.0.27",
    "@types/yamljs": "0.2.30",
    "async": "^3.2.0",
    "chai": "4.2.0",
    "fs-jetpack": "2.2.3",
    "handlebars": "^4.7.3",
    "inline-css": "2.6.2",
    "istanbul": "0.4.5",
    "js-yaml": "^3.13.1",
    "lodash.merge": "^4.6.2",
122
    "mocha": "^8.4.0",
Daniel Perez's avatar
Daniel Perez committed
123
    "mocha-bamboo-reporter": "^1.1.2",
Diego Molteni's avatar
Diego Molteni committed
124
125
126
127
128
129
    "mocha-junit-reporter": "1.23.3",
    "newman": "^4.6.1",
    "nyc": "^15.0.0",
    "path": "^0.12.7",
    "redis-mock": "^0.49.0",
    "sinon": "8.1.1",
Daniel Perez's avatar
Daniel Perez committed
130
    "source-map-support": "^0.5.19",
131
    "ts-node": "^9.1.1",
Diego Molteni's avatar
Diego Molteni committed
132
133
134
135
    "tslint": "6.0.0",
    "tslint-no-unused-expression-chai": "0.1.4"
  }
}