|
1 | 1 | { |
2 | 2 | "name": "hawk.api", |
3 | | - "version": "1.0.23", |
| 3 | + "version": "1.1.1", |
4 | 4 | "main": "index.ts", |
5 | 5 | "license": "UNLICENSED", |
6 | 6 | "scripts": { |
|
14 | 14 | "migrations:create": "docker-compose exec api yarn migrate-mongo create", |
15 | 15 | "migrations:up": "docker-compose exec api yarn migrate-mongo up", |
16 | 16 | "migrations:down": "docker-compose exec api yarn migrate-mongo down", |
17 | | - "test": "jest --coverage" |
| 17 | + "test": "jest --coverage", |
| 18 | + "test:integration": "docker compose -f docker-compose.test.yml up --build --exit-code-from tests tests", |
| 19 | + "test:integration:down": "docker compose -f docker-compose.test.yml down --volumes" |
18 | 20 | }, |
19 | 21 | "devDependencies": { |
| 22 | + "@shelf/jest-mongodb": "^1.2.2", |
20 | 23 | "@types/jest": "^26.0.8", |
21 | 24 | "eslint": "^6.7.2", |
22 | 25 | "eslint-config-codex": "1.2.4", |
23 | 26 | "eslint-plugin-import": "^2.19.1", |
24 | 27 | "jest": "^26.2.2", |
| 28 | + "mongodb-memory-server": "^6.6.1", |
25 | 29 | "nodemon": "^2.0.2", |
26 | 30 | "ts-jest": "^26.1.4", |
27 | 31 | "ts-node": "^10.9.1", |
|
33 | 37 | "@graphql-tools/schema": "^8.5.1", |
34 | 38 | "@graphql-tools/utils": "^8.9.0", |
35 | 39 | "@hawk.so/nodejs": "^3.1.1", |
36 | | - "@hawk.so/types": "^0.1.18", |
| 40 | + "@hawk.so/types": "^0.1.21", |
37 | 41 | "@types/amqp-connection-manager": "^2.0.4", |
38 | 42 | "@types/bson": "^4.0.5", |
39 | 43 | "@types/debug": "^4.1.5", |
|
53 | 57 | "axios": "^0.27.2", |
54 | 58 | "body-parser": "^1.19.0", |
55 | 59 | "bson": "^4.6.5", |
| 60 | + "cloudpayments": "^6.0.1", |
| 61 | + "codex-accounting-sdk": "https://github.com/codex-team/codex-accounting-sdk.git", |
56 | 62 | "dataloader": "^2.0.0", |
57 | 63 | "dotenv": "^16.0.1", |
58 | 64 | "escape-html": "^1.0.3", |
|
0 commit comments