1
0
mirror of https://github.com/oceanprotocol/community-numbers.git synced 2024-12-22 17:23:31 +01:00

remove unneeded packages, switch to now dev

This commit is contained in:
Matthias Kretschmann 2019-06-06 20:04:36 +02:00
parent 08579d1a28
commit 2781a6ec2e
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 5 additions and 8 deletions

View File

@ -37,7 +37,6 @@ Endpoint: [`https://oceanprotocol-community.now.sh`](https://oceanprotocol-commu
"followers": 1000
}
}
```
## Development
@ -45,10 +44,11 @@ Endpoint: [`https://oceanprotocol-community.now.sh`](https://oceanprotocol-commu
Install dependencies:
```bash
npm install -g now
npm install
```
And run the server:
And run the server in dev mode:
```bash
npm start

View File

@ -4,20 +4,17 @@
"version": "1.0.0",
"main": "index.js",
"scripts": {
"start": "micro",
"dev": "micro-dev",
"start": "now dev",
"test": "eslint --ignore-path .gitignore --ext .js,.jsx ."
},
"dependencies": {
"chalk": "2.4.2",
"micro": "^9.3.4",
"ms": "^2.1.1",
"node-fetch": "2.6.0"
},
"devDependencies": {
"eslint": "^5.16.0",
"eslint-config-oceanprotocol": "^1.3.0",
"eslint-plugin-node": "^9.0.1",
"micro-dev": "^3.0.0"
"eslint-plugin-node": "^9.1.0"
}
}

View File

@ -2,6 +2,6 @@
const chalk = require('chalk')
const log = text => console.log(text)
const logError = text => console.log(chalk.bold.red(text))
const logError = text => console.error(chalk.bold.red(text))
module.exports = { log, logError }