-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.1 KB
/
package.json
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
{
"name": "fake-entity-service",
"version": "0.7.2",
"description": "A fake database entities service for testing",
"author": {
"email": "mike.onofrienko@clockwise.software",
"name": "Mike Onofrienko"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/omvmike/fake-entity-service.git"
},
"scripts": {
"build": "tsc --sourceMap",
"test": "jest --coverage --detectOpenHandles",
"version": "echo $npm_package_version",
"migrate": "npx sequelize-cli db:migrate --env=local",
"seed": "npx sequelize-cli db:seed:all --env=local"
},
"devDependencies": {
"@faker-js/faker": "^7.6.0",
"@types/jest": "27.0.2",
"@types/node": "^18.11.18",
"@types/sequelize": "^4.28.11",
"@types/validator": "^13.7.10",
"jest": "^27.2.5",
"pg": "^8.8.0",
"reflect-metadata": "^0.1.13",
"sequelize": "^6.15.0",
"sequelize-cli": "^6.4.1",
"sequelize-typescript": "^2.1.2",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.10.1",
"typeorm": "^0.3.11",
"typescript": "^4.3.5"
},
"main": "dist/index.js",
"files": [
"src/",
"dist/"
],
"jest": {
"projects": [
{
"displayName": "unit-tests",
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"maxWorkers": 1
},
{
"displayName": "integration-tests",
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.int-spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"testEnvironment": "node",
"collectCoverageFrom": [
"**/*.(t|j)s"
]
}
]
},
"engines": {
"node": ">=14.0.0"
}
}