-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
executable file
·93 lines (93 loc) · 2.13 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
{
"name": "nodejs-server-template",
"version": "0.0.0",
"private": true,
"description": "Not-so-opinionated server template, with all the important stuff",
"keywords": [
"nodejs",
"typescript",
"template",
"nodejs-template",
"iamnapo",
"eslint",
"fastify",
"graphql",
"sentry",
"nodemon",
"ava",
"dotenv",
"zod"
],
"homepage": "https://github.com/iamnapo/nodejs-server-template#readme",
"bugs": {
"url": "https://github.com/iamnapo/nodejs-server-template/issues"
},
"repository": "github:iamnapo/nodejs-server-template",
"license": "MIT",
"author": {
"name": "Napoleon-Christos Oikonomou",
"email": "[email protected]",
"url": "https://iamnapo.me"
},
"type": "module",
"exports": "./distribution/source/server.js",
"scripts": {
"build": "tsc && cpy source '!**/*.ts' distribution",
"dev": "tsc --watch & nodemon distribution/source/server.js",
"lint": "eslint . --cache",
"start": "NODE_ENV=production node distribution/source/server.js",
"test": "npm run lint && npm run build && c8 ava"
},
"nodemonConfig": {
"env": {
"NODE_ENV": "development",
"NODE_OPTIONS": "--trace-warnings"
},
"watch": [
"distribution"
]
},
"prettier": "@iamnapo/prettier-config",
"ava": {
"typescript": {
"rewritePaths": {
"/": "distribution/"
},
"compile": false
},
"workerThreads": false
},
"dependencies": {
"@fastify/compress": "^8.0.1",
"@fastify/cookie": "^11.0.1",
"@fastify/cors": "^10.0.1",
"@fastify/helmet": "^12.0.1",
"@sentry/node": "^8.34.0",
"dotenv": "^16.4.5",
"fastify": "^5.0.0",
"fastify-plugin": "^5.0.1",
"mercurius": "^15.0.0",
"pino-pretty": "^11.2.2",
"zod": "^3.23.8",
"zod-validation-error": "^3.4.0"
},
"devDependencies": {
"@ava/typescript": "^5.0.0",
"@iamnapo/prettier-config": "^1.0.3",
"@iamnapo/tsconfig": "^6.0.0",
"@types/node": "^22.7.5",
"ava": "^6.1.3",
"c8": "^10.1.2",
"cpy-cli": "^5.0.0",
"eslint": "^8.57.1",
"eslint-config-iamnapo": "^37.0.0",
"file-type": "^19.5.0",
"got": "^14.4.3",
"nodemon": "^3.1.7",
"test-listen": "^1.1.0",
"typescript": "^5.6.3"
},
"engines": {
"node": ">=22"
}
}