-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
91 lines (91 loc) · 2.09 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
87
88
89
90
91
{
"name": "@fitrahive/dua-dhikr",
"version": "0.1.3",
"description": "Authentic Sunnah Dua & Dhikr RESTful API",
"main": "dist/bin/app.js",
"scripts": {
"build": "npx tsc -p tsconfig.json",
"postbuild": "copyfiles data/* dist/",
"start": "node ./dist/bin/app.js",
"dev": "nodemon",
"postinstall": "npm run build",
"format": "prettier --write .",
"commit": "git-cz"
},
"engines": {
"node": ">=20"
},
"prettier": {
"trailingComma": "es5",
"semi": false,
"singleQuote": true,
"useTabs": false,
"quoteProps": "consistent",
"bracketSpacing": true,
"arrowParens": "always",
"printWidth": 100
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "npm run format && git add --all",
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
}
},
"nodemonConfig": {
"restartable": "rs",
"ignore": [
".git",
"node_modules/**/node_modules"
],
"verbose": true,
"watch": [
"app",
"bin",
"start"
],
"env": {
"NODE_ENV": "development"
},
"ext": "ts,json",
"exec": "ts-node ./bin/app.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fitrahive/dua-dhikr.git"
},
"author": {
"name": "Abu Masyail",
"email": "[email protected]",
"url": "https://suluh.my.id"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/fitrahive/dua-dhikr/issues"
},
"homepage": "https://github.com/fitrahive/dua-dhikr",
"dependencies": {
"@fastify/accepts": "^4.3.0",
"@fastify/compress": "^6.4.0",
"@fastify/cors": "^8.3.0",
"@fastify/etag": "^4.2.0",
"@fastify/rate-limit": "^8.0.3",
"fastify": "^4.21.0",
"node-cache": "^5.1.2"
},
"devDependencies": {
"@types/node": "^20.4.8",
"commitizen": "^4.3.0",
"copyfiles": "^2.4.1",
"cz-conventional-changelog": "^3.3.0",
"husky": "^8.0.3",
"nodemon": "^3.0.1",
"prettier": "^3.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
}
}