-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathpackage.json
95 lines (95 loc) · 3.53 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
{
"name": "server",
"version": "3.6.0",
"license": "GPL-3.0-only",
"scripts": {
"prisma": "prisma",
"codegen": "graphql-codegen",
"docker": "docker-compose",
"docker:up": "./docker/up.sh",
"docker:notify": "yarn docker run pioneer-api notify",
"docker:yarn": "./docker/yarn.sh",
"test": "yarn dev:db && yarn dev:build && jest --runInBand",
"tsc": "tsc",
"ts-node": "ts-node --transpile-only -r tsconfig-paths/register",
"nodemon": "nodemon --transpile-only -r tsconfig-paths/register",
"dev:build": "yarn codegen && yarn prisma db push",
"dev:db": "yarn docker up pioneer-db -d",
"dev:db:reset": "yarn docker down -v && yarn dev:db && yarn prisma db push",
"dev:db:build": "yarn dev:db && yarn dev:build",
"dev:api": "yarn nodemon ./src/common/scripts/startApi.ts",
"dev:notify": "yarn nodemon ./src/notifier/scripts/notify.ts",
"dev:mockEmail": "yarn ts-node ./src/notifier/scripts/mockEmail.ts",
"dev:authtoken": "yarn ts-node ./src/auth/scripts/generateToken.ts",
"dev:emails": "email dev --dir ./src/common/email-templates",
"lint": "yarn lint:prettier --check && yarn lint:eslint --max-warnings=0",
"lint:eslint": "eslint \"./{src,test}/**/*.ts\"",
"lint:fix": "yarn lint:eslint --fix && yarn lint:prettier --write --loglevel warn",
"lint:prettier": "yarn prettier \"./{src,test}/**/*.{ts,graphql}\"",
"start:api": "node ./dist/common/scripts/startApi",
"start:all": "node ./dist/common/scripts/startAll",
"notify": "node ./dist/notifier/scripts/notify --unhandled-rejections=strict",
"build:local": "rm -rf ./dist/* ; prisma generate && yarn codegen && tsc -p ./src/tsconfig.json && tscpaths -p ./src/tsconfig.json -s ./src -o ./dist",
"build": "prisma migrate deploy && yarn build:local"
},
"dependencies": {
"@apollo/server-plugin-landing-page-graphql-playground": "^4.0.0",
"@polkadot/util-crypto": "^11.0.1",
"@prisma/client": "^5.6.0",
"@react-email/components": "^0.0.7",
"@react-email/render": "^0.0.7",
"@sendgrid/mail": "^7.7.0",
"apollo-server": "^3.11.1",
"dotenv": "^16.0.3",
"graphql": "^16.6.0",
"graphql-request": "^5.1.0",
"jsonwebtoken": "^9.0.0",
"lodash": "^4.17.21",
"mailgun.js": "^8.2.1",
"nexus": "^1.3.0",
"nexus-prisma": "^2.0.1",
"node-cron": "^3.0.2",
"npmlog": "^7.0.1",
"react-email": "^1.9.4",
"ts-pattern": "^4.3.0",
"yup": "^0.32.9"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@graphql-codegen/cli": "^3.1.0",
"@graphql-codegen/client-preset": "^2.1.0",
"@jest/types": "^29.4.3",
"@joystream/types": "^2.0.0",
"@polkadot/keyring": "^11.1.3",
"@types/babel__core": "^7",
"@types/babel__preset-env": "^7",
"@types/eslint": "^8.4.10",
"@types/jsonwebtoken": "^9",
"@types/lodash": "^4",
"@types/node": "^18.14.0",
"@types/node-cron": "^3.0.7",
"@types/npmlog": "^4.1.4",
"@types/prettier": "^2",
"@types/react": "^18.2.31",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"babel": "^6.23.0",
"eslint": "^8.33.0",
"eslint-plugin-import": "^2.29.0",
"jest": "^29.4.3",
"nodemon": "^2.0.21",
"prettier": "^2.4.1",
"prisma": "^5.6.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^3.14.2",
"tscpaths": "^0.0.9",
"typescript": "^4.9.5"
},
"resolutions": {
"string-width": "4",
"strip-ansi": "6"
}
}