-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.11 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
{
"name": "bookstore-api",
"version": "1.0.0",
"main": "build/index.js",
"repository": "https://github.com/opticdev/bookstore-api.git",
"author": "Nicholas Lim <[email protected]>",
"license": "MIT",
"scripts": {
"clean": "rm -rf build && rm -f tsconfig.tsbuildinfo",
"build": "yarn run tsc --build --verbose",
"generate-spec": "ts-node --project ./tsconfig.json ./src/generate-openapi.ts",
"start": "node ./build/index.js",
"format": "prettier --write 'src/**/*.(js|jsx|ts|tsx|json|css)'",
"test": "jest",
"verify": "optic capture openapi.yml",
"start:local": "nodemon -w ./src ./src/index.ts"
},
"dependencies": {
"@fastify/swagger": "^8.3.1",
"@sinclair/typebox": "^0.28.2",
"fastify": "^4.15.0",
"js-yaml": "^4.1.0",
"nanoid": "^3.0.0"
},
"devDependencies": {
"@types/js-yaml": "^4",
"@types/node": "^18.0.0",
"@types/supertest": "^2.0.12",
"jest": "^29.6.4",
"nodemon": "^2.0.19",
"prettier": "^2.5.0",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
}
}