65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
|
{
|
||
|
"name": "fastify-typescript-starter",
|
||
|
"version": "1.5.0",
|
||
|
"description": "Node.js boilerplate using fastify & TypeScript",
|
||
|
"type": "module",
|
||
|
"scripts": {
|
||
|
"lint": "eslint .",
|
||
|
"lint:fix": "eslint . --fix",
|
||
|
"check:types": "tsc --noEmit",
|
||
|
"build": "esbuild `find src \\( -name '*.ts' \\)` --platform=node --outdir=build --resolve-extensions=.js",
|
||
|
"build:docker:prod": "docker build . -t my-fastify-app --build-arg APP_ENV=production",
|
||
|
"start": "node build",
|
||
|
"dev": "tsx watch src .env | pino-pretty --colorize",
|
||
|
"pretest": "npm run build",
|
||
|
"test": "vitest",
|
||
|
"test:watch": "vitest -w"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/yonathan06/fastify-typescript-starter.git"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=16.0.0"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"nodejs",
|
||
|
"fastify",
|
||
|
"typescript"
|
||
|
],
|
||
|
"author": "Yonatan Bendahan",
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/yonathan06/fastify-typescript-starter/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/yonathan06/fastify-typescript-starter#readme",
|
||
|
"dependencies": {
|
||
|
"@fastify/static": "^6.12.0",
|
||
|
"@fastify/view": "^8.2.0",
|
||
|
"@sinclair/typebox": "^0.23.5",
|
||
|
"ajv": "^8.12.0",
|
||
|
"axios": "^1.6.2",
|
||
|
"dotenv": "^16.3.1",
|
||
|
"ejs": "^3.1.9",
|
||
|
"env-schema": "^5.2.1",
|
||
|
"fastify": "^4.24.3",
|
||
|
"fastify-plugin": "^3.0.1",
|
||
|
"ts-json-validator": "^0.7.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/ejs": "^3.1.5",
|
||
|
"@types/node": "^18.18.9",
|
||
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||
|
"@typescript-eslint/parser": "^5.62.0",
|
||
|
"esbuild": "^0.14.54",
|
||
|
"eslint": "^8.54.0",
|
||
|
"eslint-config-prettier": "^8.10.0",
|
||
|
"eslint-plugin-prettier": "^4.2.1",
|
||
|
"pino-pretty": "^8.1.0",
|
||
|
"prettier": "^2.8.8",
|
||
|
"tsx": "^3.14.0",
|
||
|
"typescript": "^4.9.5",
|
||
|
"vitest": "^0.25.8"
|
||
|
}
|
||
|
}
|