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 before_install: npm install -g grunt-cli
install: install:
- npm install - npm install
- npm run dist-pow - npm run dist -- pow
- npm run dist-poa - npm run dist -- poa

View File

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