-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 1.25 KB
/
package.json
File metadata and controls
42 lines (42 loc) · 1.25 KB
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
{
"name": "cbld-api",
"version": "1.0.0",
"description": "API service for co:builders",
"main": "dist/server.js",
"directories": {
"test": "test"
},
"scripts": {
"clean": "rm -rf dist",
"test": "pnpm run build && tsc -p test/tsconfig.json && c8 node --test -r ts-node/register \"test/**/*.ts\"",
"copy": "mkdir -p dist/api-specs && cp -r src/api-specs/* dist/api-specs/",
"build": "pnpm run copy && tsc",
"build:dev": "pnpm run copy && tsc --incremental",
"start": "node dist/server.js || exit 1",
"watch": "tsc -w",
"dev": "nodemon -e yaml,ts,json -w src --exec 'pnpm run build:dev && pnpm run start'",
"routes": "fastify print-routes -P dist/app.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@fastify/autoload": "^5.0.0",
"@fastify/sensible": "^5.0.0",
"@fastify/swagger": "^8.14.0",
"@scalar/fastify-api-reference": "^1.20.27",
"dotenv": "^16.4.5",
"fastify": "^4.26.1",
"fastify-cli": "^6.1.1",
"fastify-plugin": "^4.0.0"
},
"devDependencies": {
"@types/node": "^20.4.4",
"c8": "^9.0.0",
"concurrently": "^8.2.2",
"fastify-tsconfig": "^2.0.0",
"nodemon": "^3.1.0",
"ts-node": "^10.4.0",
"typescript": "^5.2.2"
}
}