package.json 5.38 KB
Newer Older
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
1
2
{
    "name": "@composer-js/service-core",
Jean-Philippe Steinmetz's avatar
v1.13.5    
Jean-Philippe Steinmetz committed
3
    "version": "1.13.5",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
    "description": "Provides all core functionality for ComposerJS based backend services.",
    "author": "AcceleratXR, Inc. <info@acceleratxr.com>",
    "repository": "https://gitlab.com/AcceleratXR/composerjs/composer-service-core.git",
    "license": "MIT",
    "main": "dist/lib/service_core.js",
    "typings": "dist/types/service_core.d.ts",
    "files": [
        "dist"
    ],
    "engines": {
        "node": ">=10.0.0"
    },
    "scripts": {
        "lint": "tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
        "prebuild": "rimraf dist",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
19
        "build": "tsc",
20
        "docs": "typedoc --out docs/reference --target es6 --theme markdown --mode file src",
21
        "test": "node_modules/.bin/jest -i --detectOpenHandles",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
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
        "test:watch": "node_modules/.bin/jest --detectOpenHandles --watch",
        "test:prod": "npm run lint && npm run test -- --coverage --no-cache",
        "deploy-docs": "ts-node tools/gh-pages-publish",
        "report-coverage": "cat ./coverage/lcov.info | coveralls",
        "commit": "git-cz",
        "semantic-release": "semantic-release",
        "semantic-release-prepare": "ts-node tools/semantic-release-prepare",
        "precommit": "lint-staged",
        "postversion": "git push && git push --tags"
    },
    "lint-staged": {
        "{src,test}/**/*.ts": [
            "prettier --write",
            "git add"
        ]
    },
    "config": {
        "commitizen": {
            "path": "node_modules/cz-conventional-changelog"
        },
        "mongodbMemoryServer": {
            "version": "4.2.2"
        }
    },
    "jest": {
        "globals": {
            "ts-jest": {
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
49
                "tsconfig": "tsconfig.test.json",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
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
91
92
93
94
95
96
                "diagnostics": {
                    "ignoreCodes": [
                        2321
                    ]
                }
            }
        },
        "transform": {
            ".(ts|tsx)": "ts-jest"
        },
        "testEnvironment": "node",
        "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
        "moduleFileExtensions": [
            "ts",
            "tsx",
            "js",
            "json"
        ],
        "coveragePathIgnorePatterns": [
            "/node_modules/",
            "/test/"
        ],
        "coverageThreshold": {
            "global": {
                "branches": 0,
                "functions": 0,
                "lines": 0,
                "statements": 0
            }
        },
        "collectCoverageFrom": [
            "src/*.{js,ts}"
        ]
    },
    "prettier": {
        "printWidth": 120,
        "semi": true,
        "singleQuote": false,
        "tabWidth": 4,
        "trailingComma": "es5"
    },
    "commitlint": {
        "extends": [
            "@commitlint/config-conventional"
        ]
    },
    "devDependencies": {
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
97
98
        "@commitlint/cli": "^11.0.0",
        "@commitlint/config-conventional": "^11.0.0",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
99
        "@types/cookie-parser": "^1.4.2",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
100
101
102
103
        "@types/cors": "^2.8.8",
        "@types/express": "^4.17.9",
        "@types/express-session": "^1.17.3",
        "@types/jest": "^26.0.15",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
104
        "@types/jsonwebtoken": "^8.5.0",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
105
106
        "@types/node": "^14.14.10",
        "@types/passport": "^1.0.4",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
107
108
109
        "@types/passport-http": "^0.3.8",
        "@types/passport-strategy": "^0.2.35",
        "@types/rimraf": "^3.0.0",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
110
        "@types/serve-favicon": "^2.5.1",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
111
        "@types/sqlite3": "^3.1.6",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
112
        "@types/supertest": "^2.0.10",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
113
        "colors": "^1.4.0",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
114
        "commitizen": "^4.2.2",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
115
        "coveralls": "^3.1.0",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
116
        "cross-env": "^7.0.2",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
117
118
119
120
121
122
123
        "cz-conventional-changelog": "^3.3.0",
        "ioredis-mock": "^5.2.0",
        "jest": "^26.6.3",
        "jest-config": "^26.6.3",
        "jest-haste-map": "^26.6.2",
        "jest-resolve": "^26.6.2",
        "lint-staged": "^10.5.2",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
124
        "lodash.camelcase": "^4.3.0",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
125
126
127
128
129
130
131
        "logform": "^2.2.0",
        "mongodb": "^3.6.3",
        "mongodb-memory-server": "^6.9.2",
        "nconf": "^0.11.0",
        "nock": "^13.0.5",
        "pg": "^8.5.1",
        "prettier": "^2.2.0",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
132
        "prompt": "^1.0.0",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
133
        "replace-in-file": "^6.1.0",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
134
        "rimraf": "^3.0.2",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
135
136
137
        "semantic-release": "^17.3.0",
        "sqlite3": "^5.0.0",
        "supertest": "^6.0.1",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
138
        "superwstest": "^1.3.0",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
139
140
141
        "ts-jest": "^26.4.4",
        "ts-node": "^9.0.0",
        "tslint": "^6.1.3",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
142
143
        "tslint-config-prettier": "^1.18.0",
        "tslint-config-standard": "^9.0.0",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
144
145
146
        "typedoc": "^0.19.2",
        "typedoc-plugin-markdown": "^3.0.11",
        "typescript": "^4.1.2"
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
147
148
    },
    "dependencies": {
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
149
150
151
152
153
154
        "@composer-js/core": "^1.4.5",
        "@types/ioredis": "^4.17.8",
        "@types/js-yaml": "^3.12.5",
        "@types/mongodb": "^3.5.34",
        "@types/node-schedule": "^1.3.1",
        "@types/uuid": "^8.3.0",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
155
        "@types/winston": "^2.4.4",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
156
        "@types/ws": "^7.4.0",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
157
158
159
        "cookie-parser": "^1.4.5",
        "cors": "^2.8.5",
        "express": "^4.17.1",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
160
161
        "ioredis": "^4.19.2",
        "js-yaml": "^3.14.0",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
162
        "jsonwebtoken": "^8.5.1",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
163
        "mkdirp": "^1.0.4",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
164
165
        "node-schedule": "^1.3.2",
        "passport": "^0.4.1",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
166
        "prom-client": "^12.0.0",
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
167
        "reflect-metadata": "^0.1.13",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
168
169
170
        "swagger-ui-express": "^4.1.5",
        "typeorm": "^0.2.29",
        "uuid": "^8.3.1",
Jean-Philippe Steinmetz's avatar
   
Jean-Philippe Steinmetz committed
171
172
        "winston": "^3.3.3",
        "ws": "^7.4.2"
Jean-Philippe Steinmetz's avatar
Jean-Philippe Steinmetz committed
173
174
    }
}