mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 01:02:05 -07:00
92 lines
2.9 KiB
JSON
92 lines
2.9 KiB
JSON
{
|
|
"name": "bch-api",
|
|
"version": "1.16.0",
|
|
"description": "The REST API powering FullStack.cash",
|
|
"author": "Chris Troutner <chris.troutner@gmail.com>",
|
|
"contributors": [
|
|
"Gabriel Cardona <gabriel@bitcoin.com>"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Permissionless-Software-Foundation/bch-api.git"
|
|
},
|
|
"scripts": {
|
|
"start": "node ./src/app.js",
|
|
"dev": "nodemon ./dist/app.js",
|
|
"test": "npm run lint && npm run test-v5",
|
|
"lint": "standard --env mocha --fix",
|
|
"test-v4": "export NETWORK=mainnet && nyc --reporter=text mocha --exit --timeout 60000 test/v4/",
|
|
"test-v5": "export NETWORK=mainnet && nyc --reporter=text mocha --exit --timeout 60000 test/v5/",
|
|
"test:integration": "mocha test/v4/integration",
|
|
"test:integration:slpdb": "mocha --timeout 25000 -g '#validate2Single' test/v4/integration/slp*.js",
|
|
"test:integration:nft": "mocha --timeout 25000 -g '#nft' test/v4/integration/nft.js",
|
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
"coverage:report": "export NETWORK=mainnet && nyc --reporter=html mocha --timeout 25000 test/v4/",
|
|
"docs": "./node_modules/.bin/apidoc -i src/routes/v5 -o docs",
|
|
"test:temp1": "export NETWORK=mainnet && export TEST=integration && mocha -g '#utxosBulk' --exit --timeout 30000 test/v5/",
|
|
"test:temp2": "export NETWORK=mainnet && mocha -g '#utxosBulk' --exit --timeout 30000 test/v5/"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.15.1"
|
|
},
|
|
"dependencies": {
|
|
"@psf/bch-js": "^4.20.7",
|
|
"apidoc": "^0.26.0",
|
|
"axios": "^0.21.1",
|
|
"bitcore-lib-cash": "^8.23.1",
|
|
"body-parser": "^1.18.3",
|
|
"cookie-parser": "~1.4.3",
|
|
"cors": "^2.8.3",
|
|
"debug": "~4.1.1",
|
|
"dotenv": "^8.0.0",
|
|
"electrum-cash": "^2.0.2",
|
|
"express": "^4.15.5",
|
|
"express-basic-auth": "^1.1.3",
|
|
"express-rate-limit": "^5.0.0",
|
|
"helmet": "^3.21.2",
|
|
"ioredis": "^4.14.1",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"mkdirp": "^1.0.0",
|
|
"mocha": "^7.1.1",
|
|
"morgan": "^1.9.1",
|
|
"mqtt": "^4.0.0",
|
|
"passport": "^0.4.0",
|
|
"passport-anonymous": "^1.0.1",
|
|
"passport-http": "^0.3.0",
|
|
"rate-limiter-flexible": "^2.0.0",
|
|
"winston": "^3.2.1",
|
|
"winston-daily-rotate-file": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"bignumber.js": "^9.0.0",
|
|
"chai": "^4.1.2",
|
|
"coveralls": "^3.0.2",
|
|
"eslint": "5.16.0",
|
|
"eslint-config-prettier": "^6.0.0",
|
|
"eslint-config-standard": "^13.0.1",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
"fs-extra": "^9.0.0",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"nock": "^13.0.5",
|
|
"nyc": "^15.0.0",
|
|
"prettier": "^2.0.0",
|
|
"semantic-release": "^17.4.2",
|
|
"sinon": "^9.0.0",
|
|
"standard": "^14.3.1"
|
|
},
|
|
"release": {
|
|
"publish": [
|
|
{
|
|
"path": "@semantic-release/npm",
|
|
"npmPublish": false
|
|
}
|
|
]
|
|
},
|
|
"apidoc": {
|
|
"title": "bch-api",
|
|
"url": "https://api.fullstack.cash/v5"
|
|
}
|
|
}
|