-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.85 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
{
"name": "minimal-express-zod-api-boilerplate",
"version": "1.0.1",
"description": "📝 A minimal Express Zod API boilerplate, ready to clone and build!",
"main": "dist/index.js",
"engines": {
"node": ">=18.0.0"
},
"homepage": "https://github.com/TheNaubit/minimal-express-zod-api-boilerplate",
"bugs": {
"url": "https://github.com/TheNaubit/minimal-express-zod-api-boilerplate/issues",
"email": "code@nauverse.com"
},
"scripts": {
"clean": "rimraf ./dist ./src/client/client.ts ./src/docs/api.yaml",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run clean && npm run lint && tsc && echo \"✅ Build ready in the /dist folder. Run it with npm run start\"",
"start": "NODE_ENV=production node .",
"dev": "NODE_ENV=development tsx watch ./src/index.ts",
"dev:no-reload": "NODE_ENV=development tsx ./src/index.ts",
"lint": "eslint --cache \"src/**/*.{js,ts}\"",
"lint:fix": "eslint --cache --fix \"src/**/*.{js,ts}\"",
"generate:client": "NODE_ENV=development tsx ./src/scripts/clientGenerator.ts",
"generate:docs": "NODE_ENV=development tsx ./src/scripts/docsGenerator.ts",
"docker:build": "docker build -t naucode/minimal-express-zod-api-boilerplate:latest .",
"docker:run": "docker run -e NODE_ENV=production naucode/minimal-express-zod-api-boilerplate",
"docker:build:dev": "docker build --target builder -t naucode/minimal-express-zod-api-boilerplate:dev .",
"docker:run:dev": "docker run -e NODE_ENV=development naucode/minimal-express-zod-api-boilerplate:dev"
},
"_moduleAliases": {
"@": "dist"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": "npm run lint:fix"
},
"keywords": [
"Nodejs",
"typescript",
"express",
"boilerplate",
"template",
"zod"
],
"author": {
"name": "Al - @naucode",
"email": "code@nauverse.com",
"url": "https://nauverse.com"
},
"repository": {
"type": "git",
"url": "https://github.com/TheNaubit/minimal-express-zod-api-boilerplate.git"
},
"license": "MIT",
"dependencies": {
"@total-typescript/ts-reset": "^0.4.2",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-zod-api": "^10.1.2",
"module-alias": "^2.2.2",
"zod": "^3.21.4"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.2",
"@types/express": "^4.17.17",
"@types/module-alias": "^2.0.1",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^2.8.7",
"rimraf": "^4.4.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tsx": "^3.12.7",
"typescript": "^5.0.3"
}
}