38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"name": "backend",
|
|
"version": "1.0.0",
|
|
"main": "src/index.ts",
|
|
"private": "true",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@prisma/client": "^2.7.1",
|
|
"@sendgrid/mail": "^7.2.6",
|
|
"@types/jsonwebtoken": "^8.5.0",
|
|
"apollo-server-express": "^2.18.2",
|
|
"express-jwt": "^6.0.0",
|
|
"graphql": "^15.3.0",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"jwks-rsa": "^1.10.1",
|
|
"nodemon": "^2.0.4"
|
|
},
|
|
"scripts": {
|
|
"dev": "nodemon",
|
|
"start": "ts-node src/index.ts",
|
|
"copy-assets": "cp src/typeDefs/typeDefs.gql dist/typeDefs/typeDefs.gql && cp .env.example dist/.env && vi dist/.env",
|
|
"build": "tsc && yarn copy-assets",
|
|
"codegen": "graphql-codegen --config codegen.yml",
|
|
"lint": "eslint",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/cli": "1.17.10",
|
|
"@graphql-codegen/introspection": "1.18.0",
|
|
"@graphql-codegen/typescript": "1.17.10",
|
|
"@graphql-codegen/typescript-resolvers": "1.17.10",
|
|
"@types/dotenv": "^8.2.0",
|
|
"dotenv": "^8.2.0",
|
|
"ts-node": "^9.0.0",
|
|
"typescript": "^4.0.3"
|
|
}
|
|
}
|