node: be more generic in dist tasks

This commit is contained in:
5chdn 2018-12-03 20:43:56 +01:00
parent 06da0da2f6
commit 7cb21bcd5f
No known key found for this signature in database
GPG Key ID: 1A40871B597F5F80
2 changed files with 6 additions and 7 deletions

View File

@ -5,5 +5,5 @@ node_js: '8'
before_install: npm install -g grunt-cli
install:
- npm install
- npm run dist-pow
- npm run dist-poa
- npm run dist -- pow
- npm run dist -- poa

View File

@ -1,15 +1,14 @@
{
"name": "netstats-server",
"description": "Görli Network Dashboard",
"version": "0.1.0",
"name": "ethstats-server",
"description": "Ethstats Network Dashboard",
"version": "0.2.0",
"private": true,
"engines": {
"node": "8.11.1",
"npm": "6.4.1"
},
"scripts": {
"dist-poa": "grunt poa",
"dist-pow": "grunt pow",
"dist": "grunt",
"start": "node ./bin/www"
},
"dependencies": {