-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
154 lines (154 loc) · 5.07 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "governance-api",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"db:m:new": "ts-node -r tsconfig-paths/register --project ./tsconfig.json ./node_modules/typeorm/cli.js -d ./orm-cli-config.ts migration:generate -p ./migrations/${npm_config_name}",
"db:m:revert": "ts-node -r tsconfig-paths/register --project ./tsconfig.json ./node_modules/typeorm/cli.js -d ./orm-cli-config.ts migration:revert",
"db:m:run": "ts-node -r tsconfig-paths/register --project ./tsconfig.json ./node_modules/typeorm/cli.js -d ./orm-cli-config.ts migration:run",
"db": "ts-node -r tsconfig-paths/register --project ./tsconfig.json ./node_modules/typeorm/cli.js -d ./orm-cli-config.ts",
"fmt": "prettier --write '{*,**/*}.{js,ts,jsx,tsx,json}'",
"lint": "eslint --ext .ts . && prettier --check '{*,**/*}.{js,ts,jsx,tsx,json}'",
"lint:fix": "eslint --fix --ext .ts . && yarn fmt",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@cardinal/namespaces": "^4.1.56",
"@civic/profile": "^0.1.2",
"@nestjs/common": "^9.0.0",
"@nestjs/config": "^2.2.0",
"@nestjs/core": "^9.0.0",
"@nestjs/graphql": "^10.0.21",
"@nestjs/jwt": "^9.0.0",
"@nestjs/mercurius": "^10.0.21",
"@nestjs/passport": "^9.0.0",
"@nestjs/platform-express": "^9.0.0",
"@nestjs/platform-fastify": "^9.0.8",
"@nestjs/typeorm": "^9.0.0",
"@solana/spl-governance": "^0.3.1",
"@solana/spl-token-registry": "^0.2.4574",
"@solana/web3.js": "^1.50.1",
"@stablelib/aead": "^1.0.1",
"@stablelib/base64": "^1.0.1",
"@stablelib/binary": "^1.0.1",
"@stablelib/bytes": "^1.0.1",
"@stablelib/chacha": "^1.0.1",
"@stablelib/chacha20poly1305": "^1.0.1",
"@stablelib/constant-time": "^1.0.1",
"@stablelib/ed25519": "^1.0.3",
"@stablelib/hash": "^1.0.1",
"@stablelib/int": "^1.0.1",
"@stablelib/keyagreement": "^1.0.1",
"@stablelib/poly1305": "^1.0.1",
"@stablelib/random": "^1.0.2",
"@stablelib/sha256": "^1.0.1",
"@stablelib/sha512": "^1.0.1",
"@stablelib/utf8": "^1.0.1",
"@stablelib/wipe": "^1.0.1",
"@stablelib/x25519": "^1.0.3",
"@stablelib/xchacha20": "^1.0.1",
"@stablelib/xchacha20poly1305": "^1.0.1",
"@types/graphql-type-json": "^0.3.2",
"@types/ramda": "^0.28.15",
"altair-fastify-plugin": "^4.5.3",
"bignumber.js": "^9.1.0",
"cache-manager": "^4.1.0",
"date-fns": "^2.29.1",
"discord.js": "^14.6.0",
"fp-ts": "^2.12.2",
"graphql": "^16.5.0",
"graphql-relay": "^0.10.0",
"graphql-request": "^4.3.0",
"graphql-type-json": "^0.3.2",
"graphql-upload": "13.0.0",
"io-ts": "^2.2.17",
"io-ts-types": "^0.5.16",
"mercurius": "^9",
"mercurius-upload": "^5.0.0",
"monocle-ts": "^2.3.13",
"multiformats": "^9.9.0",
"newtype-ts": "^0.3.5",
"passport": "^0.6.0",
"passport-jwt": "^4.0.0",
"pg": "^8.7.3",
"ramda": "^0.28.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.2.0",
"tweetnacl": "^1.0.3",
"typeorm": "^0.3.7",
"uint8arrays": "^3.1.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.9",
"@nestjs/cli": "^9.0.0",
"@nestjs/schematics": "^9.0.0",
"@nestjs/testing": "^9.0.0",
"@types/cache-manager": "^4.0.1",
"@types/eslint": "^8.4.5",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/express": "^4.17.13",
"@types/graphql-upload": "^8.0.11",
"@types/jest": "28.1.4",
"@types/node": "^16.0.0",
"@types/passport": "^1.0.10",
"@types/passport-jwt": "^3.0.6",
"@types/prettier": "^2.7.0",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"babel-eslint": "^10.1.0",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "28.1.2",
"prettier": "^2.3.2",
"source-map-support": "^0.5.20",
"supertest": "^6.1.3",
"ts-jest": "28.0.5",
"ts-loader": "^9.2.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^4.3.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --max-warnings=0",
"prettier -w"
],
"*.{json,css,scss,md,yaml, yml}": [
"prettier -w"
]
}
}