package.json 1.37 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.2",
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",
31
32
    "ejs": "^3.1.5",
    "express": "^4.17.1",
33
    "favrat": "git+https://framagit.org/yphil/favrat.git",
34
    "feedparser": "^2.2.10",
35
    "feedrat": "git+https://framagit.org/yphil/feedrat.git",
36
    "helmet": "^4.4.1",
37
    "iconv": "^3.0.0",
38
    "morgan": "^1.10.0",
yPhil's avatar
yPhil committed
39
40
    "npm": "^7.5.2",
    "pm2": "^4.5.4",
41
    "request": "^2.88.2",
42
43
    "sanitize": "^2.1.0",
    "xml2json": "^0.12.0"
44
45
46
  },
  "devDependencies": {
    "mocha": "^8.3.0",
yPhil's avatar
yPhil committed
47
    "nyc": "^15.1.0",
48
    "should": "^13.2.3"
yPhil's avatar
yPhil committed
49
  }
yPhil's avatar
yPhil committed
50
}