mirror of
https://github.com/oceanprotocol/community-numbers.git
synced 2025-01-05 11:25:12 +01:00
commit
c37b5509b9
@ -37,7 +37,6 @@ Endpoint: [`https://oceanprotocol-community.now.sh`](https://oceanprotocol-commu
|
|||||||
"followers": 1000
|
"followers": 1000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
@ -45,10 +44,11 @@ Endpoint: [`https://oceanprotocol-community.now.sh`](https://oceanprotocol-commu
|
|||||||
Install dependencies:
|
Install dependencies:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
npm install -g now
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
And run the server:
|
And run the server in dev mode:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm start
|
npm start
|
||||||
|
@ -4,20 +4,17 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "micro",
|
"start": "now dev",
|
||||||
"dev": "micro-dev",
|
|
||||||
"test": "eslint --ignore-path .gitignore --ext .js,.jsx ."
|
"test": "eslint --ignore-path .gitignore --ext .js,.jsx ."
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "2.4.2",
|
"chalk": "2.4.2",
|
||||||
"micro": "^9.3.4",
|
|
||||||
"ms": "^2.1.1",
|
"ms": "^2.1.1",
|
||||||
"node-fetch": "2.6.0"
|
"node-fetch": "2.6.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^5.16.0",
|
"eslint": "^5.16.0",
|
||||||
"eslint-config-oceanprotocol": "^1.3.0",
|
"eslint-config-oceanprotocol": "^1.3.0",
|
||||||
"eslint-plugin-node": "^9.0.1",
|
"eslint-plugin-node": "^9.1.0"
|
||||||
"micro-dev": "^3.0.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
const chalk = require('chalk')
|
const chalk = require('chalk')
|
||||||
|
|
||||||
const log = text => console.log(text)
|
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 }
|
module.exports = { log, logError }
|
||||||
|
Loading…
Reference in New Issue
Block a user