-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.74 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
{
"name": "redirector",
"version": "0.4.13",
"description": "Simple redirector service",
"main": "index.js",
"scripts": {
"test": "mocha --recursive test",
"postversion": "git push && git push --tags",
"version": "auto-changelog -p --commit-url https://github.com/kucingbasah737/redirector/commit/{id} --compare-url https://github.com/kucingbasah737/redirector/compare/{from}...{to} --issue-url https://github.com/kucingbasah737/redirector/issues/{id} && git add CHANGELOG.md",
"start": "NODE_ENV=production node index.js serve",
"dev": "LOG_LEVEL=debug nodemon index.js serve",
"monitor-access": "tail -F logs/access.json | jq '. | {xid: .xid, date: .localDate, url: .url, status: .status, ip: .remoteAddr, userAgent: .userAgent, referrer: .referrer, user: .loginedAs}'",
"monitor-redirect": "tail -F logs/access.json | jq '. | select( .status == \"301\") | {xid: .xid, date: .localDate, url: .url, status: .status, ip: .remoteAddr, userAgent: .userAgent, referrer: .referrer}'",
"download-cf-ips": "bash update-cloudflare-ip-list.sh",
"update": "bash update.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kucingbasah737/redirector.git"
},
"keywords": [
"web",
"webapp",
"redirect",
"redirector",
"redirect-urls",
"url-shortener",
"frontend-web",
"http-server"
],
"author": "Kucing Basah 737",
"license": "MIT",
"bugs": {
"url": "https://github.com/kucingbasah737/redirector/issues"
},
"homepage": "https://github.com/kucingbasah737/redirector#readme",
"nodemonConfig": {
"ignore": [
"logs/",
"tmp/",
"data/"
]
},
"devDependencies": {
"auto-changelog": "^2.4.0",
"db-migrate": "^0.11.14",
"db-migrate-mysql": "^2.3.2",
"eslint": "^8.54.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"nodemon": "^3.0.1",
"should": "^13.2.3"
},
"dependencies": {
"bcrypt": "^5.1.1",
"bootstrap": "^5.3.2",
"connect-redis": "^7.1.0",
"dayjs": "^1.11.10",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-flash": "^0.0.2",
"express-rate-limit": "^7.1.4",
"express-session": "^1.17.3",
"geoip-lite": "^1.4.8",
"hostname-natural-order": "^1.1.0",
"ip-toolkit": "^1.0.10",
"morgan": "^1.10.0",
"morgan-json": "^1.1.0",
"mysql2": "^3.6.5",
"natural-orderby": "^3.0.2",
"nunjucks": "^3.2.4",
"prompt": "^1.3.0",
"redis": "^4.6.11",
"rotating-file-stream": "^3.1.1",
"sd-notify": "^2.8.0",
"simple-git": "^3.21.0",
"uniqid": "^5.4.0",
"url-join": "^4.0.1",
"uuid": "^9.0.1",
"winston": "^3.11.0",
"winston-daily-rotate-file": "^4.7.1",
"yargs": "^17.7.2"
}
}