Building RPM and DEB packages with pkg and fpm

This commit is contained in:
Key Networks
2018-01-03 12:07:30 +08:00
parent 22e420364d
commit 66b8356d7b
50 changed files with 428 additions and 8 deletions
+38
View File
@@ -0,0 +1,38 @@
{
"name": "ztncui",
"version": "0.3.0",
"private": true,
"scripts": {
"start": "node ./bin/www",
"devstart": "nodemon ./bin/www"
},
"dependencies": {
"argon2": "^0.16.2",
"body-parser": "~1.18.2",
"bootstrap": "^3.3.7",
"cookie-parser": "~1.4.3",
"debug": "~3.1.0",
"dotenv": "^4.0.0",
"express": "~4.16.2",
"express-session": "^1.15.6",
"express-validator": "^4.3.0",
"got": "^7.1.0",
"helmet": "^3.9.0",
"ip-address": "^5.8.9",
"jquery": "^3.2.1",
"morgan": "~1.9.0",
"node-persist": "^2.1.0",
"pug": "2.0.0-rc.4",
"serve-favicon": "~2.4.5"
},
"devDependencies": {
"nodemon": "^1.12.5"
},
"pkg": {
"assets": [
"views/*",
"public/**/*",
"etc/**/*"
]
}
}