-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 2.03 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
{
"name": "fatsy",
"description": "Fastify Server Template done in TypeScript",
"author": {
"name": "Skitsanos",
"url": "https://github.com/skitsanos"
},
"version": "1.3.0",
"license": "MIT",
"scripts": {
"start": "node -r @swc-node/register src/index.ts",
"start:watch": "node --watch -r @swc-node/register src/index.ts",
"dev": "node --loader esbuild-register/loader -r esbuild-register src/index.ts",
"dev:watch": "node --watch --loader esbuild-register/loader -r esbuild-register src/index.ts",
"copy:config": "cpy config/*.yaml dist/",
"copy:templates": "cpy src/templates/**/* dist/src/templates/",
"copy:tsconfig": "cpy tsconfig.json --rename=jsconfig.json dist/",
"copy:package": "cpy package.json dist/",
"build:sources": "esbuild `find src \\( -name '*.ts' \\)` --platform=node --format=cjs --tsconfig=tsconfig.json --outdir=dist/src",
"build": "yarn run build:sources && yarn run copy:config && yarn run copy:templates && yarn run copy:tsconfig && yarn run copy:package",
"prod:start": "node src/index.js",
"test": "hurl -k --test --variables-file ./tests/.vars tests/*.hurl",
"test:run": "nyc --all npm run dev"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.325.0",
"@aws-sdk/s3-request-presigner": "^3.325.0",
"@fastify/cookie": "^11.0.0",
"@fastify/jwt": "^9.0.0",
"@fastify/static": "^8.0.0",
"@fastify/view": "^10.0.0",
"@fastify/websocket": "^11.0.0",
"@skitsanos/app-config": "skitsanos/app-config",
"fastify": "^5.0.0",
"fastify-file-upload": "^4.0.0",
"fs-extra": "^11.1.1",
"handlebars": "^4.7.7",
"node-forge": "^1.3.1",
"yaml": "^2.2.2"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@swc-node/register": "^1.6.5",
"@swc/core": "^1.3.56",
"@types/fs-extra": "^11.0.1",
"@types/node": "^20.1.0",
"@types/node-forge": "^1.3.2",
"cpy-cli": "^5.0.0",
"esbuild": "^0.24.0",
"esbuild-register": "^3.4.2",
"nyc": "^17.0.0",
"typescript": "^5.0.4"
}
}