package.json 1.43 KB
Newer Older
yPhil's avatar
yPhil committed
1
2
{
  "name": "petrolette",
yPhil's avatar
yPhil committed
3
  "description": "News reading webapp.",
yPhil's avatar
yPhil committed
4
  "version": "1.2.4",
yPhil's avatar
yPhil committed
5
  "private": true,
6
  "license": "GPL-3.0-only",
yPhil's avatar
yPhil committed
7
  "FAVICONS_CACHE_DIR": "favicons-cache",
yPhil's avatar
yPhil committed
8
  "engines": {
9
    "node": "*"
yPhil's avatar
yPhil committed
10
  },
11
12
  "repository": {
    "type": "git",
13
    "url": "https://framagit.org/yphil/petrolette"
14
  },
yPhil's avatar
yPhil committed
15
  "scripts": {
yPhil's avatar
yPhil committed
16
17
18
19
20
21
22
    "start": "pm2 start pm2.config.json ; pm2 update",
    "start-ssl": "pm2 start pm2.config.json --env ssl",
    "restart": "pm2 restart pm2.config.json",
    "stop": "pm2 stop petrolette",
    "show": "pm2 show petrolette",
    "logs": "pm2 logs petrolette",
    "errors": "pm2 logs --err --format",
23
    "test": "mocha --timeout 30s",
yPhil's avatar
yPhil committed
24
    "coverage": "nyc npm test",
yPhil's avatar
yPhil committed
25
    "postinstall": "bower install --allow-root && cd ./node_modules/favrat ; npm i && cd ../feedrat ; npm i"
yPhil's avatar
yPhil committed
26
27
  },
  "dependencies": {
28
    "body-parser": "^1.19.0",
yPhil's avatar
yPhil committed
29
    "bower": "^1.8.12",
30
    "compression": "^1.7.4",
yPhil's avatar
yPhil committed
31
    "cors": "^2.8.5",
32
33
    "ejs": "^3.1.5",
    "express": "^4.17.1",
34
    "favrat": "git+https://framagit.org/yphil/favrat.git",
35
    "feedparser": "^2.2.10",
36
    "feedrat": "git+https://framagit.org/yphil/feedrat.git",
37
    "helmet": "^4.4.1",
38
    "iconv-lite": "^0.4.24",
39
    "morgan": "^1.10.0",
40
    "node-abort-controller": "^1.2.0",
41
    "node-fetch": "^2.6.1",
yPhil's avatar
yPhil committed
42
43
    "npm": "^7.5.2",
    "pm2": "^4.5.4",
44
    "request": "^2.88.2",
45
    "sanitize": "^2.1.0"
46
47
48
  },
  "devDependencies": {
    "mocha": "^8.3.0",
yPhil's avatar
yPhil committed
49
    "nyc": "^15.1.0",
50
    "should": "^13.2.3"
yPhil's avatar
yPhil committed
51
  }
yPhil's avatar
yPhil committed
52
}