2019-05-21 07:42:39 -07:00
|
|
|
{
|
2019-05-28 18:32:39 -07:00
|
|
|
"name": "bch-api",
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"description": "REST API based on rest.bitcoin.com",
|
|
|
|
|
"author": "Chris Troutner <chris.troutner@gmail.com>",
|
2019-05-21 07:42:39 -07:00
|
|
|
"contributors": [
|
2019-05-28 18:32:39 -07:00
|
|
|
"Gabriel Cardona <gabriel@bitcoin.com>"
|
2019-05-21 07:42:39 -07:00
|
|
|
],
|
|
|
|
|
"license": "MIT",
|
2020-02-26 10:56:56 -08:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git+https://github.com/christroutner/bch-api.git"
|
|
|
|
|
},
|
2019-05-21 07:42:39 -07:00
|
|
|
"scripts": {
|
2019-05-27 19:48:02 -07:00
|
|
|
"start": "node ./src/app.js",
|
2019-05-21 07:42:39 -07:00
|
|
|
"dev": "nodemon ./dist/app.js",
|
2020-02-16 06:40:03 -08:00
|
|
|
"test": "npm run lint && npm run test-v3",
|
2020-02-16 06:38:25 -08:00
|
|
|
"lint": "standard --env mocha --fix",
|
2020-04-07 14:49:50 -07:00
|
|
|
"test-v3": "export NETWORK=mainnet && nyc --reporter=text mocha --timeout 60000 test/v3/",
|
2020-05-12 09:33:29 -07:00
|
|
|
"test:temp": "export NETWORK=mainnet && mocha --timeout 25000 test/v3/slp.js",
|
2019-05-31 08:42:57 -07:00
|
|
|
"test:integration": "mocha test/v3/integration",
|
2020-05-12 17:40:42 -07:00
|
|
|
"test:integration:slpdb": "mocha --timeout 25000 test/v3/integration/slp*.js",
|
2019-05-21 07:42:39 -07:00
|
|
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
2020-02-04 16:12:38 -08:00
|
|
|
"coverage:report": "export NETWORK=mainnet && nyc --reporter=html mocha --timeout 25000 test/v3/",
|
2019-06-18 17:26:27 -07:00
|
|
|
"docs": "./node_modules/.bin/apidoc -i src/routes/v3 -o docs"
|
2019-05-21 07:42:39 -07:00
|
|
|
},
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=10.15.1"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2020-05-03 13:56:43 -07:00
|
|
|
"@chris.troutner/bch-js": "^2.3.16",
|
2020-04-27 17:18:33 +00:00
|
|
|
"apidoc": "^0.22.0",
|
2019-05-31 14:56:05 +00:00
|
|
|
"axios": "^0.19.0",
|
2020-04-06 13:47:05 -07:00
|
|
|
"bitcore-lib-cash": "^8.16.2",
|
2019-05-21 07:42:39 -07:00
|
|
|
"body-parser": "^1.18.3",
|
|
|
|
|
"cookie-parser": "~1.4.3",
|
|
|
|
|
"cors": "^2.8.3",
|
2019-05-31 14:56:05 +00:00
|
|
|
"debug": "~4.1.1",
|
|
|
|
|
"dotenv": "^8.0.0",
|
2020-04-06 13:47:05 -07:00
|
|
|
"electrum-cash": "^1.0.1",
|
2019-05-21 07:42:39 -07:00
|
|
|
"express": "^4.15.5",
|
|
|
|
|
"express-basic-auth": "^1.1.3",
|
2019-06-08 00:07:42 +00:00
|
|
|
"express-rate-limit": "^5.0.0",
|
2019-10-28 10:16:57 -07:00
|
|
|
"helmet": "^3.21.2",
|
2020-02-04 16:12:38 -08:00
|
|
|
"ioredis": "^4.14.1",
|
2020-02-04 17:11:19 -08:00
|
|
|
"jsonwebtoken": "^8.5.1",
|
2019-10-28 13:28:20 -07:00
|
|
|
"level": "^6.0.0",
|
2020-01-24 20:30:15 +00:00
|
|
|
"mkdirp": "^1.0.0",
|
2020-03-20 20:09:11 -07:00
|
|
|
"mocha": "^7.1.1",
|
2019-05-21 07:42:39 -07:00
|
|
|
"morgan": "^1.9.1",
|
2020-04-27 17:58:59 +00:00
|
|
|
"mqtt": "^4.0.0",
|
2019-05-21 07:42:39 -07:00
|
|
|
"passport": "^0.4.0",
|
|
|
|
|
"passport-anonymous": "^1.0.1",
|
|
|
|
|
"passport-http": "^0.3.0",
|
2020-03-30 16:00:28 +00:00
|
|
|
"pg": "^8.0.0",
|
2019-05-21 07:42:39 -07:00
|
|
|
"pg-hstore": "^2.3.2",
|
2020-02-09 06:17:48 +00:00
|
|
|
"rate-limiter-flexible": "^2.0.0",
|
2019-05-21 07:42:39 -07:00
|
|
|
"winston": "^3.2.1",
|
2019-09-06 15:13:49 +00:00
|
|
|
"winston-daily-rotate-file": "^4.0.0"
|
2019-05-21 07:42:39 -07:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2019-05-31 14:56:05 +00:00
|
|
|
"bignumber.js": "^9.0.0",
|
2019-05-21 07:42:39 -07:00
|
|
|
"chai": "^4.1.2",
|
|
|
|
|
"coveralls": "^3.0.2",
|
2019-07-08 13:39:38 -07:00
|
|
|
"eslint": "5.16.0",
|
2019-08-05 16:06:20 +00:00
|
|
|
"eslint-config-prettier": "^6.0.0",
|
2019-07-11 21:20:11 +00:00
|
|
|
"eslint-config-standard": "^13.0.1",
|
2019-05-31 14:56:05 +00:00
|
|
|
"eslint-plugin-prettier": "^3.1.0",
|
2019-05-21 07:42:39 -07:00
|
|
|
"eslint-plugin-standard": "^4.0.0",
|
2020-03-19 15:44:15 +00:00
|
|
|
"fs-extra": "^9.0.0",
|
2020-02-16 21:10:45 +00:00
|
|
|
"nock": "^12.0.0",
|
2019-05-21 07:42:39 -07:00
|
|
|
"node-mocks-http": "^1.7.0",
|
2019-12-23 01:22:30 +00:00
|
|
|
"nyc": "^15.0.0",
|
2020-03-21 21:14:58 +00:00
|
|
|
"prettier": "^2.0.0",
|
2019-05-21 07:42:39 -07:00
|
|
|
"proxyquire": "^2.1.0",
|
|
|
|
|
"request": "^2.88.0",
|
|
|
|
|
"request-promise": "^4.2.2",
|
2020-01-27 22:08:36 +00:00
|
|
|
"semantic-release": "^17.0.0",
|
2020-02-19 11:49:29 +00:00
|
|
|
"sinon": "^9.0.0",
|
2020-02-16 06:38:25 -08:00
|
|
|
"standard": "^14.3.1",
|
2019-05-21 07:42:39 -07:00
|
|
|
"typescript": "^3.1.4"
|
|
|
|
|
},
|
|
|
|
|
"release": {
|
|
|
|
|
"publish": [
|
|
|
|
|
{
|
|
|
|
|
"path": "@semantic-release/npm",
|
|
|
|
|
"npmPublish": false
|
|
|
|
|
}
|
|
|
|
|
]
|
2019-06-18 13:25:19 -07:00
|
|
|
},
|
|
|
|
|
"apidoc": {
|
|
|
|
|
"title": "bch-api",
|
2020-05-03 16:18:51 -07:00
|
|
|
"url": "https://api.fullstack.cash/v3"
|
2019-05-21 07:42:39 -07:00
|
|
|
}
|
|
|
|
|
}
|