package.json 1.17 KB
Newer Older
yPhil's avatar
yPhil committed
1 2
{
  "name": "petrolette",
3
  "description": "Fly-by-night news reading webapp.",
4
  "version": "1.0.22",
yPhil's avatar
yPhil committed
5
  "private": true,
6
  "license": "GPL-3.0-only",
yPhil's avatar
yPhil committed
7 8 9
  "engines": {
    "node": "8.5.0"
  },
10 11
  "repository": {
    "type": "git",
12
    "url": "https://framagit.org/yphil/petrolette"
13
  },
yPhil's avatar
yPhil committed
14
  "scripts": {
yPhil's avatar
yPhil committed
15 16 17 18 19 20
    "start": "pm2 start -f bin/www --log-date-format='YYYY-MM-DD HH:mm Z' --name PTL",
    "stop": "pm2 stop PTL",
    "build:pre": "uglifyjs public/js/PTL.main.js public/js/PTL.prefs.js public/js/PTL.i18n.js -m -o dist/js/PTL.pre.js",
    "build:post": "uglifyjs public/js/PTL.utilities.js public/js/PTL.tab.js public/js/PTL.feed.js public/js/PTL.dialog.js public/js/PTL.sync.js public/js/PTL.menu.js -m -o dist/js/PTL.post.js",
    "build:js": "mkdir -p dist/js && npm run build:pre && npm run build:post",
    "watch:js": "onchange 'public/js/*.js' -- npm run build:js",
yPhil's avatar
yPhil committed
21
    "postinstall": "npm run build:js && bower install"
yPhil's avatar
yPhil committed
22 23
  },
  "devDependencies": {
yPhil's avatar
yPhil committed
24 25
    "onchange": "3.3.0",
    "uglify-es": "3.3.9"
yPhil's avatar
yPhil committed
26 27
  },
  "dependencies": {
28 29 30 31
    "bower": "1.8.2",
    "ejs": "2.5.7",
    "express": "4.16.2",
    "feedparser": "2.2.9",
32
    "feedrat": "latest",
yPhil's avatar
yPhil committed
33
    "favicon": "0.0.2",
yPhil's avatar
yPhil committed
34
    "pm2": "2.8.0"
yPhil's avatar
yPhil committed
35 36
  }
}