aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 58c3f3e749b4346f15bba360d02a796e07255dbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
  "name": "ao-coverage",
  "version": "0.5.4",
  "description": "Simple code coverage storage and server",
  "repository": {
    "type": "git",
    "url": "https://git.submelon.dev/kjhoerr/ao-coverage.git"
  },
  "main": "build/index.js",
  "scripts": {
    "start:dev": "tsc-watch --onSuccess \"yarn node ./build/index.js\"",
    "start": "tsc && yarn node ./build/index.js",
    "start:prod": "tsc && NODE_ENV=production yarn node ./build/index.js",
    "format": "prettier --write 'src/**/*.ts'",
    "lint": "eslint 'src/**/*.ts'",
    "lint:fix": "eslint --fix 'src/**/*.ts'",
    "test": "jest",
    "test:coverage": "jest --coverage",
    "tsc": "tsc",
    "doc": "typedoc src"
  },
  "author": "Kevin J Hoerr <kjhoerr@submelon.tech>",
  "license": "Parity-7.0.0",
  "dependencies": {
    "badgen": "^3.2.2",
    "bson": "^4.5.2",
    "dotenv": "^10.0.0",
    "express": "^4.17.1",
    "express-winston": "^4.2.0",
    "handlebars": "^4.7.7",
    "jsdom": "^17.0.0",
    "logform": "^2.3.0",
    "mongodb": "^4.1.2",
    "uuid": "^8.3.2",
    "winston": "^3.3.3",
    "winston-transport": "^4.4.0",
    "xml2js": "^0.4.23"
  },
  "devDependencies": {
    "@microsoft/tsdoc": "^0.13.2",
    "@types/express": "^4.17.13",
    "@types/jest": "^27.0.1",
    "@types/jsdom": "^16.2.13",
    "@types/node": "^16.10.1",
    "@types/supertest": "^2.0.11",
    "@types/triple-beam": "^1.3.2",
    "@types/uuid": "^8.3.1",
    "@types/xml2js": "^0.4.9",
    "@typescript-eslint/eslint-plugin": "^4.31.1",
    "@typescript-eslint/parser": "^4.31.1",
    "eslint": "^7.32.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-tsdoc": "^0.2.14",
    "jest": "^27.2.0",
    "prettier": "^2.4.1",
    "supertest": "^6.1.6",
    "triple-beam": "^1.3.0",
    "ts-jest": "^27.0.5",
    "tsc-watch": "^4.5.0",
    "typedoc": "^0.22.3",
    "typescript": "^4.4.3"
  },
  "jest": {
    "preset": "ts-jest",
    "testEnvironment": "node",
    "collectCoverageFrom": [
      "src/**/*.ts",
      "!src/**/*.test.ts",
      "!src/**/__tests__/**/*.ts",
      "!src/index.ts",
      "!src/metadata.ts"
    ],
    "roots": [
      "src/"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 85,
        "functions": 85,
        "lines": 85,
        "statements": 85
      }
    },
    "coverageReporters": [
      "cobertura",
      "text"
    ]
  }
}