-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
190 lines (190 loc) · 7.5 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "zero-protocol-labs",
"version": "0.0.1",
"license": "MIT",
"private": true,
"scripts": {
"nx": "nx",
"clean": "rm -rf dist tmp",
"start": "concurrently --names 'FRONTEND,BACKEND,TOKENIZATION' -c 'yellow,cyan,green' 'yarn serve:frontend' 'yarn serve:backend' 'yarn serve:tokenization'",
"build:next-ui": "yarn swagger:schema:generate && yarn build:api-client && yarn nx run frontend-next:build",
"start-with-next-ui": "concurrently --names 'FRONTEND-NEXT,BACKEND,TOKENIZATION' -c 'yellow,cyan' 'yarn serve:frontend-next' 'yarn serve:backend' 'yarn serve:tokenization'",
"serve:backend": "nx serve backend",
"serve:tokenization": "PORT=$(grep TOKENIZATION_PORT .env | cut -d \"=\" -f2 | tr -d '\"') TOKENIZATION_DATABASE_URL=$(grep TOKENIZATION_DATABASE_URL .env | cut -d \"=\" -f2 | tr -d '\"') REDIS_URL=$(grep REDIS_URL .env | cut -d \"=\" -f2 | tr -d '\"') nx serve tokenization",
"serve:frontend-next": "nx serve frontend-next --port=3000",
"serve:frontend": "chmod +x ./dev-env.sh && ./dev-env.sh && nx serve frontend --port=3000",
"start:docker": "yarn build:docker && docker-compose --env-file .env -f docker-compose.yaml down && docker-compose --env-file .env -f docker-compose.yaml up -d",
"start:no-frontend": "concurrently --names 'BACKEND,TOKENIZATION' -c 'yellow,cyan' 'yarn serve:backend' 'yarn serve:tokenization'",
"build": "yarn swagger:schema:generate && yarn build:api-client && cp apps/frontend/src/index.html.template apps/frontend/src/index.html && nx run-many --target=build --projects=backend,frontend,tokenization --parallel",
"build:prod": "yarn swagger:schema:generate && yarn build:api-client && cp apps/frontend/src/index.html.template apps/frontend/src/index.html && nx run-many --target=build --projects=backend,frontend,tokenization --parallel --prod",
"build:docker": "yarn build:prod && nx run-many --target=docker-image-build --projects=backend,frontend,tokenization",
"test": "nx test",
"lint": "nx workspace-lint && nx lint",
"e2e": "nx e2e",
"affected:apps": "nx affected:apps",
"affected:libs": "nx affected:libs",
"affected:build": "nx affected:build",
"affected:e2e": "nx affected:e2e",
"affected:test": "nx affected:test",
"affected:lint": "nx affected:lint",
"affected:dep-graph": "nx affected:dep-graph",
"affected": "nx affected",
"format": "nx format:write",
"format:write": "nx format:write",
"format:check": "nx format:check",
"update": "nx migrate latest",
"workspace-generator": "nx workspace-generator",
"dep-graph": "nx dep-graph",
"help": "nx help",
"db:migrate:generate": "prisma generate",
"db:migrate:autogenerate": "prisma migrate dev --name ",
"db:migrate:reset": "prisma migrate reset",
"db:migrate:ci": "prisma migrate reset --skip-generate --skip-seed --force",
"db:migrate:deploy": "prisma migrate deploy",
"swagger:schema:generate": "cd apps/backend && REDIS_URL=redis://:@localhost:6379 DATABASE_URL=postgresql://localhost:5432 TS_NODE_PROJECT=tsconfig.app.json ts-node src/generateSchema.ts && cd ../..",
"build:api-client": "cd libs/api-client && yarn build",
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
"migrate:tokenization": "yarn typeorm migration:run --dataSource apps/tokenization/ormconfig.ts",
"migrate:all": "yarn migrate:tokenization && yarn db:migrate:deploy",
"seed:all:dev": "./seed-dev.sh",
"fix-redemptions": "ts-node fix_redemption_storing.ts"
},
"dependencies": {
"@emotion/css": "11.7.1",
"@emotion/react": "11.7.1",
"@emotion/server": "11.4.0",
"@emotion/styled": "11.6.0",
"@energyweb/origin-backend-utils": "1.8.3",
"@energyweb/utils-general": "11.2.1",
"@ethersproject/bignumber": "5.7.0",
"@ethersproject/constants": "5.7.0",
"@mui/icons-material": "5.2.5",
"@mui/lab": "5.0.0-alpha.62",
"@mui/material": "5.2.6",
"@mui/styles": "5.2.3",
"@mui/system": "5.10.5",
"@nestjs-modules/mailer": "1.8.1",
"@nestjs/bull": "0.6.2",
"@nestjs/common": "9.2.1",
"@nestjs/config": "2.2.0",
"@nestjs/core": "9.2.1",
"@nestjs/cqrs": "9.0.1",
"@nestjs/passport": "9.0.0",
"@nestjs/platform-express": "9.2.1",
"@nestjs/schedule": "2.1.0",
"@nestjs/swagger": "6.1.4",
"@nestjs/typeorm": "9.0.1",
"@prisma/client": "4.9.0",
"@t00nday/nestjs-pdf": "3.0.5",
"@zero-labs/tokenization": "1.6.1",
"@zero-labs/tokenization-api": "2.0.12",
"assert": "2.0.0",
"axios": "0.27.2",
"buffer": "6.0.3",
"bull": "4.10.2",
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"core-js": "3.27.2",
"crypto-browserify": "3.12.0",
"d3": "7.6.1",
"d3-sankey": "0.12.3",
"dayjs": "1.11.5",
"ethers": "5.7.2",
"formik": "2.2.9",
"history": "5.3.0",
"htmling": "0.0.8",
"joi": "17.6.0",
"lodash": "4.17.21",
"luxon": "3.1.0",
"next": "12.2.5",
"os-browserify": "0.3.0",
"passport": "0.6.0",
"passport-headerapikey": "1.2.2",
"polly-js": "1.8.3",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-dropzone": "11.4.2",
"react-helmet-async": "1.1.2",
"react-query": "3.34.7",
"react-router": "6.0.0",
"react-router-dom": "6.0.0",
"reflect-metadata": "0.1.13",
"regenerator-runtime": "0.13.9",
"rxjs": "7.8.0",
"stream-browserify": "3.0.0",
"swagger-ui-express": "4.5.0",
"tslib": "2.4.1",
"typeorm": "0.3.11",
"yup": "0.32.11"
},
"devDependencies": {
"@emotion/babel-plugin": "11.3.0",
"@nestjs/schematics": "9.0.4",
"@nestjs/testing": "9.2.1",
"@nrwl/cli": "13.4.2",
"@nrwl/cypress": "13.4.2",
"@nrwl/eslint-plugin-nx": "13.4.2",
"@nrwl/jest": "13.4.2",
"@nrwl/js": "13.4.2",
"@nrwl/linter": "13.4.2",
"@nrwl/nest": "13.4.2",
"@nrwl/next": "13.4.2",
"@nrwl/node": "13.4.2",
"@nrwl/react": "13.4.2",
"@nrwl/tao": "13.4.2",
"@nrwl/web": "13.4.2",
"@nrwl/workspace": "13.4.2",
"@svgr/rollup": "5.5.0",
"@testing-library/react": "12.1.2",
"@testing-library/react-hooks": "7.0.2",
"@types/bull": "4.10.0",
"@types/cron": "2.0.0",
"@types/d3": "7.4.0",
"@types/d3-sankey": "0.11.2",
"@types/jest": "29.2.1",
"@types/lodash": "4.14.187",
"@types/luxon": "3.2.0",
"@types/multer": "1.4.7",
"@types/node": "18.11.9",
"@types/passport": "1.0.11",
"@types/passport-http": "0.3.9",
"@types/passport-strategy": "0.2.35",
"@types/react": "17.0.30",
"@types/react-dom": "17.0.9",
"@types/react-helmet-async": "1.0.3",
"@typescript-eslint/eslint-plugin": "5.3.1",
"@typescript-eslint/parser": "5.3.1",
"babel-jest": "27.5.1",
"barrelsby": "2.3.0",
"concurrently": "7.6.0",
"csv-parse": "5.3.3",
"cypress": "9.1.1",
"dotenv": "16.0.3",
"eslint": "8.26.0",
"eslint-config-next": "12.0.7",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-cypress": "2.10.3",
"eslint-plugin-import": "2.25.2",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-react": "7.26.1",
"eslint-plugin-react-hooks": "4.3.0",
"husky": "8.0.1",
"jest": "29.2.2",
"nock": "13.1.3",
"orval": "6.5.1",
"prettier": "2.8.3",
"prisma": "4.9.0",
"react-test-renderer": "17.0.2",
"ts-jest": "28.0.8",
"ts-node": "10.9.1",
"typescript": "4.5.3"
},
"prisma": {
"schema": "apps/backend/prisma/schema.prisma"
},
"resolutions": {
"@types/react": "17.0.30",
"@types/react-dom": "17.0.9",
"@mui/system": "5.10.5"
}
}