forked from husnulhamidiah/reddit-clone-api-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.17 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.17 KB
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
{
"name": "express-starter",
"version": "0.0.1",
"private": true,
"scripts": {
"deploy": "npm run set:prod && ./bin/deploy.sh",
"set:dev": "rm -f .env && ln -s .env.dev .env",
"set:prod": "rm -f .env && ln -s .env.prod .env",
"start": "npx pm2-runtime processes.json",
"dev": "npm run set:dev && docker-compose up --build",
"precommit-msg": "echo 'Pre-commit checks...' && exit 0",
"lint": "npx eslint .",
"lint:fix": "npx eslint --fix .",
"rank": "node -r esm ./bin/ranking.js",
"search": "node -r esm ./bin/search.js",
"cleanup": "node -r esm ./bin/cleanup.js",
"spammer": "node -r esm ./bin/removeUser.js",
"docker:cleanup": "docker container exec -it upvotocracy-api npm run cleanup",
"docker:orphans": "docker container exec -it upvotocracy-api npm run removeOrphanPosts",
"removeOrphanPosts": "node -r esm -r dotenv/config ./bin/removeOrphanPosts.js"
},
"dependencies": {
"@elastic/elasticsearch": "^7.6.1",
"bcryptjs": "^2.4.3",
"btcpay": "^0.2.4",
"cheerio": "^1.0.0-rc.3",
"cors": "^2.8.5",
"debug": "~2.6.9",
"dotenv": "^8.6.0",
"esm": "^3.2.25",
"express": "~4.16.1",
"express-validator": "^6.1.1",
"fast-xml-parser": "^3.16.0",
"fluent-ffmpeg": "^2.1.2",
"jsonwebtoken": "^8.5.1",
"mongoose": "^5.6.4",
"morgan": "~1.9.1",
"multer": "^1.4.2",
"node-fetch": "^2.6.1",
"passport": "^0.4.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"pm2": "^5.x",
"qrcode": "^1.4.4",
"redis": "^3.0.2",
"rss": "^1.2.2",
"shortid": "^2.2.15",
"stripe": "^8.43.0",
"uuid": "^8.2.0"
},
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"nodemon": "^1.19.1",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1"
},
"main": "index.js",
"author": "Husnul Anwari <husnulhamidiah@gmail.com>",
"license": "MIT",
"description": "",
"pre-commit": [
"precommit-msg",
"lint"
]
}