Skip to content

Instantly share code, notes, and snippets.

@nextdev1111
Created October 10, 2022 13:03
Show Gist options
  • Save nextdev1111/f3072c1b18f84dbe1d1f78c2598d3180 to your computer and use it in GitHub Desktop.
Save nextdev1111/f3072c1b18f84dbe1d1f78c2598d3180 to your computer and use it in GitHub Desktop.
Basic setup for project.
{
"name": [YOUR-PROJECT-NAME-HERE],
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "nodemon src/index.ts",
"build": "tsc -p ."
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@graphql-tools/schema": "^9.0.4",
"@prisma/client": "^4.4.0",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-graphql": "^0.12.0",
"graphql": "^16.6.0"
},
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.14",
"@types/node": "^18.8.3",
"prisma": "^4.4.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment