-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
68 lines (68 loc) · 1.86 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
{
"name": "zoomment-server",
"version": "1.0.0",
"description": "Open Source Self-Hosted Comment System",
"main": "./index.ts",
"scripts": {
"dev": "nodemon --watch 'src/**' --ext 'ts,json' --exec 'ts-node -r tsconfig-paths/register ./index.ts'",
"start": "npm run build && pm2 start ./dist/ecosystem.config.js",
"start:only": "pm2 start ./dist/ecosystem.config.js",
"restart": "npm run build && pm2 restart ZOOMMENT",
"kill": "pm2 delete ZOOMMENT",
"build": "tsc && tsc-alias",
"lint": "eslint src/**/*.ts --fix",
"prettier": "npx prettier ./ --check",
"prettier:fix": "npm run prettier -- --write"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.js": [
"eslint --fix",
"prettier --write"
]
},
"author": "Tigran Simonyan",
"license": "ISC",
"dependencies": {
"axios": "^1.6.7",
"body-parser": "^1.19.0",
"cheerio": "^1.0.0-rc.12",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"dayjs": "^1.11.10",
"dotenv-safe": "^8.2.0",
"express": "^4.17.1",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.8.0",
"nodemailer": "^6.4.15"
},
"devDependencies": {
"@types/body-parser": "^1.19.5",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/dotenv-safe": "^8.1.6",
"@types/jsonwebtoken": "^9.0.6",
"@types/nodemailer": "^6.4.14",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"nodemon": "^3.1.9",
"pm2": "^5.4.3",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.8",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3"
}
}