package.json 1.45 KB
Newer Older
yPhil's avatar
yPhil committed
1
2
{
  "name": "petrolette",
yPhil's avatar
v1.2.8    
yPhil committed
3
  "description": "The news reader that doesn't know you",
yPhil's avatar
yPhil committed
4
  "version": "1.3.0",
yPhil's avatar
yPhil committed
5
  "private": true,
6
  "license": "GPL-3.0-only",
7
8
  "HTTP_PORT": 8000,
  "HTTPS_PORT": 8001,
yPhil's avatar
yPhil committed
9
  "FAVICONS_CACHE_DIR": "favicons-cache",
yPhil's avatar
yPhil committed
10
  "engines": {
11
    "node": "*"
yPhil's avatar
yPhil committed
12
  },
13
14
  "repository": {
    "type": "git",
15
    "url": "https://framagit.org/yphil/petrolette"
16
  },
yPhil's avatar
yPhil committed
17
  "scripts": {
yPhil's avatar
yPhil committed
18
19
20
21
22
23
24
    "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",
25
    "test": "mocha --timeout 30s",
yPhil's avatar
yPhil committed
26
    "coverage": "nyc npm test",
yPhil's avatar
yPhil committed
27
    "postinstall": "bower install --allow-root && cd ./node_modules/favrat ; npm i && cd ../feedrat ; npm i"
yPhil's avatar
yPhil committed
28
29
  },
  "dependencies": {
30
    "body-parser": "^1.19.0",
yPhil's avatar
yPhil committed
31
    "bower": "^1.8.12",
32
    "compression": "^1.7.4",
33
34
    "ejs": "^3.1.5",
    "express": "^4.17.1",
35
    "favrat": "git+https://framagit.org/yphil/favrat.git",
yPhil's avatar
yPhil committed
36
    "feedparser": "^2.2.10",
37
    "feedrat": "git+https://framagit.org/yphil/feedrat.git",
38
    "helmet": "^4.4.1",
yPhil's avatar
yPhil committed
39
40
    "iconv-lite": "^0.6.2",
    "idb": "^6.0.0",
41
    "morgan": "^1.10.0",
yPhil's avatar
yPhil committed
42
    "node-fetch": "^2.6.1",
yPhil's avatar
v1.2.8    
yPhil committed
43
    "npm": "^7.10.0",
44
    "pm2": "^4.5.6",
45
    "sanitize": "^2.1.0"
46
47
  },
  "devDependencies": {
48
    "mocha": "^8.3.2",
yPhil's avatar
yPhil committed
49
    "nyc": "^15.1.0",
yPhil's avatar
yPhil committed
50
    "rollup": "^2.47.0",
51
    "should": "^13.2.3"
yPhil's avatar
yPhil committed
52
  }
yPhil's avatar
yPhil committed
53
}