-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
97 lines (97 loc) · 3.55 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
{
"name": "payment-service",
"version": "0.1.0",
"main": "index.js",
"packageManager": "[email protected]",
"type": "commonjs",
"scripts": {
"clean": "rimraf [ lib .nyc_output coverage ]",
"format:check": "prettier --check \"src/**/*.ts\"",
"format:fix": "prettier --write \"src/**/*.ts\"",
"lint:check": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"typecheck": "tsc --noEmit",
"test": "nyc mocha --spec='src/**/*.test.ts' --spec='tests/**/*.test.ts'",
"test:local": "yarn db:up && yarn test \"$@\" ; yarn db:down",
"test:unit": "nyc mocha --spec='src/**/*.test.ts'",
"test:integration": "nyc mocha --spec='tests/**/*.test.ts'",
"test:integration:local": "yarn db:up && yarn test:integration \"$@\" ; yarn db:down",
"test:docker": " docker compose down -v && docker compose up test-runner --exit-code-from test-runner --build",
"ci": "yarn build && yarn test:docker",
"build": "yarn clean && tsc --project ./tsconfig.prod.json",
"dev": "yarn clean && tsc --project ./tsconfig.prod.json -w",
"start": "yarn node lib/index.js",
"start:dev": "yarn nodemon lib/index.js",
"start:watch": "yarn nodemon -r dotenv/config -r ./src/index.ts",
"start:docker": "docker compose up payment-service --build",
"db:up": "yarn db:down && docker compose up payment-service-pg -d && yarn db:migrate:latest",
"db:down": "docker compose down -v",
"db:migrate:latest": "yarn knex migrate:latest --cwd ./src/database --knexfile knexfile.ts",
"db:migrate:rollback": "yarn knex migrate:rollback $* --cwd ./src/database --knexfile knexfile.ts",
"db:make:migration": "yarn knex migrate:make $* -x ts --cwd ./src/database --knexfile knexfile.ts"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
"@types/bn.js": "^5.1.0",
"@types/chai": "^4.3.1",
"@types/jsonwebtoken": "^9.0.1",
"@types/jwk-to-pem": "^2.0.1",
"@types/knex": "^0.16.1",
"@types/koa": "^2.13.4",
"@types/koa-router": "^7.4.4",
"@types/koa__cors": "^3.3.0",
"@types/mandrill-api": "^1.0.33",
"@types/mocha": "^9.1.1",
"@types/node": "^18.16.1",
"@types/sinon": "^10.0.11",
"@types/sinon-chai": "^3.2.9",
"@types/validator": "^13.11.7",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"axios-mock-adapter": "^1.21.2",
"chai": "^4.3.6",
"eslint": "^8.15.0",
"eslint-plugin-header": "^3.1.1",
"husky": "^8.0.1",
"lint-staged": "^12.5.0",
"mocha": "^10.0.0",
"nodemon": "^3.0.1",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"sinon": "^14.0.0",
"ts-node": "^10.7.0",
"typescript": "^4.7.4"
},
"dependencies": {
"@ardrive/ardrive-promise-cache": "^1.1.4",
"@aws-sdk/client-secrets-manager": "^3.290.0",
"@aws-sdk/client-ssm": "^3.369.0",
"@koa/cors": "^5.0.0",
"@solana/web3.js": "^1.91.7",
"arweave": "^1.13.4",
"axios": "^1.6.7",
"axios-retry": "^3.4.0",
"bignumber.js": "^9.1.0",
"dotenv": "^16.0.3",
"ethers": "^6.11.1",
"jsonwebtoken": "^9.0.0",
"knex": "^2.5.1",
"koa": "2.13.4",
"koa-jwt": "^4.0.4",
"koa-router": "11.0.1",
"koa2-swagger-ui": "^5.8.0",
"mandrill-api": "^1.0.45",
"p-limit": "^3.1.0",
"pg": "^8.8.0",
"prom-client": "^14.1.0",
"raw-body": "^2.5.2",
"sinon-chai": "^3.7.0",
"sqs-consumer": "^8.2.0",
"stripe": "^14.11.0",
"validator": "^13.11.0",
"winston": "^3.8.2",
"yaml": "^2.2.2"
}
}