-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
111 lines (111 loc) · 3.52 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "dex-backend",
"version": "1.5.0",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"postinstall": "npx prisma generate",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"serve": "nest start",
"serve:dev": "nest start --watch",
"serve:debug": "nest start --debug --watch",
"serve:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"lint:check": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"test": "dotenv -e .env.test jest",
"test:watch": "npm run test -- --watch",
"test:cov": "npm run test -- --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "npm run test -- --runInBand --config ./test/e2e/jest-e2e.json",
"db": "docker compose up",
"db:deploy": "docker compose up -d",
"db:remove": "docker compose down -v",
"db:redeploy": "npm run db:remove; npm run db:deploy",
"db:stop": "docker compose stop ",
"db:push-schema": "npx prisma db push",
"db:migrate": "npx prisma migrate deploy",
"postdb:deploy": "sleep 1.5; npm run db:migrate",
"pretest:e2e": "dotenv -e .env.test npm run db:push-schema",
"prisma:test-studio": "dotenv -e .env.test npx prisma studio",
"prisma:studio": "npx prisma studio"
},
"dependencies": {
"@aeternity/aepp-sdk": "^13.3.2",
"@nestjs/cache-manager": "^2.2.2",
"@nestjs/common": "^10.3.3",
"@nestjs/core": "^10.3.3",
"@nestjs/platform-express": "^10.3.3",
"@nestjs/schedule": "^4.0.1",
"@nestjs/swagger": "^7.3.0",
"@prisma/client": "^5.10.2",
"bignumber.js": "^9.1.2",
"dex-contracts-v2": "github:aeternity/dex-contracts-v2",
"limiter": "^2.1.0",
"lodash": "^4.17.21",
"reflect-metadata": "^0.2.1",
"rimraf": "^5.0.5",
"rxjs": "^7.8.1",
"swagger-ui-express": "^5.0.0",
"ws": "^8.16.0"
},
"devDependencies": {
"@nestjs/cli": "^10.3.2",
"@nestjs/schematics": "^10.1.1",
"@nestjs/testing": "^10.3.3",
"@types/express": "^4.17.21",
"@types/jest": "29.5.12",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.17",
"@types/supertest": "^6.0.2",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"dotenv-cli": "^7.3.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^10.0.0",
"jest": "^29.7.0",
"jest-mock-extended": "^3.0.5",
"prettier": "^3.3.2",
"prettier-plugin-embed": "^0.4.15",
"prettier-plugin-sql": "^0.18.0",
"prisma": "^5.10.2",
"source-map-support": "^0.5.21",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"setupFiles": [
"./test/setup.ts"
],
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"^@/test/(.*)$": "<rootDir>/test/$1",
"^@/(.*)$": "<rootDir>/src/$1"
}
}
}