-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
108 lines (108 loc) · 3.76 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
{
"name": "badger-api",
"version": "2.0.0",
"description": "Badger Serverless API",
"repository": "[email protected]:BadgerFinance/badger-api.git",
"author": "Badger Finance",
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"clean": "rm -rf ./build",
"codegen:graphql": "graphql-codegen -r dotenv/config -c codegen.yml",
"codegen:contracts": "typechain --target ethers-v5 --out-dir src/contracts src/abi/*.abi",
"deploy": "sls deploy",
"deploy:prod": "sls deploy --stage prod",
"dev": "sls offline start --useChildProcesses",
"dev:sls": "yarn dev",
"dev:sls:api": "yarn dev --disableScheduledEvents",
"dev:node:api": "ts-node -r dotenv/config src/index.ts",
"format": "pretty-quick",
"lint": "eslint \"src/**/*.ts\" --fix",
"test": "node --expose-gc --no-compilation-cache ./node_modules/.bin/jest --detectOpenHandles --runInBand --logHeapUsage",
"test:upd": "yarn test -u",
"test:path": "yarn test --no-cache --testPathPattern",
"test:clean": "jest --clearCache",
"ddb:migrate:local": "sls dynamodb migrate",
"ddb:seed:local": "sls dynamodb seed",
"ddb:seed:gen": "curl --url localhost:3000/v3/dev/ddb/seeds",
"prepare": "husky install"
},
"dependencies": {
"@aws/dynamodb-data-mapper": "^0.7.3",
"@aws/dynamodb-data-mapper-annotations": "^0.7.3",
"@badger-dao/sdk": "^1.19.1",
"@tsed/common": "6.95.9",
"@tsed/core": "6.95.9",
"@tsed/di": "6.95.9",
"@tsed/exceptions": "6.95.9",
"@tsed/json-mapper": "6.95.9",
"@tsed/platform-aws": "6.95.9",
"@tsed/platform-express": "6.95.9",
"@tsed/schema": "6.95.9",
"@tsed/swagger": "6.95.9",
"@types/cors": "^2.8.12",
"aws-sdk": "^2.1045.0",
"body-parser": "^1.19.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"globby": "^12.0.2",
"graphql": "^16.1.0",
"graphql-request": "^3.7.0",
"graphql-tag": "^2.12.6",
"method-override": "^3.0.0",
"tslib": "^2.2.0"
},
"devDependencies": {
"@badger-dao/sdk-mocks": "^1.18.13",
"@graphql-codegen/cli": "^2.3.0",
"@graphql-codegen/typescript": "^2.7.3",
"@graphql-codegen/typescript-graphql-request": "^4.5.3",
"@graphql-codegen/typescript-operations": "^2.5.3",
"@tsed/platform-serverless": "6.95.9",
"@tsed/platform-serverless-testing": "6.95.9",
"@typechain/ethers-v5": "10.1.0",
"@types/cookie-parser": "^1.4.2",
"@types/express": "^4.17.11",
"@types/jest": "^28.1.7",
"@types/jsonfile": "^6.0.0",
"@types/method-override": "^0.0.31",
"@types/multer": "^1.4.5",
"@types/node": "^15.6.1",
"@types/validator": "^13.7.0",
"@types/web3": "^1.2.2",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"clean-modules": "^2.0.6",
"eslint": "8.22.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "26.8.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"express": "4",
"find-my-way": "^7.0.1",
"husky": "^7.0.0",
"jest": "^28.1.3",
"jest-create-mock-instance": "2.0.0",
"jest-mock-extended": "2.0.5",
"jsonfile": "^6.1.0",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.2",
"serverless": "^2.69.1",
"serverless-domain-manager": "^6.1.0",
"serverless-dynamodb-local": "^0.2.39",
"serverless-offline": "^8.2.0",
"serverless-plugin-typescript": "^2.1.2",
"ts-jest": "^28.0.8",
"ts-node": "^10.0.0",
"typechain": "^8.1.0",
"typescript": "^4.7.4"
},
"resolutions": {
"@types/cacheable-request": "^6.0.2",
"@types/responselike": "^1.0.0"
}
}