-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
100 lines (100 loc) · 2.21 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
92
93
94
95
96
97
98
99
100
{
"name": "@sooluh/kodepos",
"version": "4.2.0",
"description": "Indonesian postal code search API by place name, village or city",
"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 . \"!data/kodepos.json\" --write",
"commit": "git-cz"
},
"engines": {
"node": ">=20"
},
"keywords": [
"carikodepos",
"cari",
"kodepos",
"postalcode",
"post",
"postal",
"code",
"kode-pos"
],
"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",
"exec": "ts-node ./bin/app.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sooluh/kodepos.git"
},
"author": {
"name": "Abu Masyail",
"email": "suluhs@aol.com",
"url": "https://suluh.my.id"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/sooluh/kodepos/issues"
},
"homepage": "https://github.com/sooluh/kodepos",
"dependencies": {
"@fastify/compress": "^6.4.0",
"@fastify/cors": "^8.3.0",
"@fastify/etag": "^4.2.0",
"@fastify/rate-limit": "^8.0.3",
"fastify": "^4.22.2",
"fuse.js": "^7.0.0"
},
"devDependencies": {
"@types/node": "^20.5.9",
"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.3",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
}