2019-07-21 16:59:47 +02:00
|
|
|
{
|
2020-03-13 11:44:56 +01:00
|
|
|
"name": "mempool-backend",
|
2023-07-14 11:39:35 +02:00
|
|
|
"version": "3.0.0-dev",
|
2020-03-13 11:44:56 +01:00
|
|
|
"description": "Bitcoin mempool visualizer and blockchain explorer backend",
|
2021-03-18 08:29:11 +01:00
|
|
|
"license": "GNU Affero General Public License v3.0",
|
2020-03-13 11:44:56 +01:00
|
|
|
"homepage": "https://mempool.space",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-03-13 11:51:25 +01:00
|
|
|
"url": "git+https://github.com/mempool/mempool"
|
2020-03-13 11:44:56 +01:00
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/mempool/mempool/issues"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"bitcoin",
|
|
|
|
"mempool",
|
|
|
|
"blockchain",
|
|
|
|
"explorer",
|
2022-07-29 20:53:19 +02:00
|
|
|
"liquid",
|
|
|
|
"lightning"
|
2020-03-13 11:44:56 +01:00
|
|
|
],
|
2019-07-21 16:59:47 +02:00
|
|
|
"main": "index.ts",
|
|
|
|
"scripts": {
|
2022-07-07 21:21:30 +02:00
|
|
|
"tsc": "./node_modules/typescript/bin/tsc -p tsconfig.build.json",
|
2023-08-05 08:40:10 +02:00
|
|
|
"build": "npm run rust-build && npm run tsc && npm run create-resources",
|
2022-07-13 12:44:32 +02:00
|
|
|
"create-resources": "cp ./src/tasks/price-feeds/mtgox-weekly.json ./dist/tasks && node dist/api/fetch-version.js",
|
2023-08-04 03:46:18 +02:00
|
|
|
"package": "./npm_package.sh",
|
|
|
|
"package-rm-build-deps": "./npm_package_rm_build_deps.sh",
|
2021-02-14 16:25:29 +01:00
|
|
|
"start": "node --max-old-space-size=2048 dist/index.js",
|
2023-02-17 17:12:33 +01:00
|
|
|
"start-production": "node --max-old-space-size=16384 dist/index.js",
|
2023-05-29 19:09:28 +02:00
|
|
|
"reindex-updated-pools": "npm run start-production --update-pools",
|
|
|
|
"reindex-all-blocks": "npm run start-production --update-pools --reindex-blocks",
|
2022-07-07 21:21:30 +02:00
|
|
|
"test": "./node_modules/.bin/jest --coverage",
|
2023-08-06 17:00:49 +02:00
|
|
|
"test:ci": "CI=true ./node_modules/.bin/jest --coverage",
|
2022-07-05 13:31:10 +02:00
|
|
|
"lint": "./node_modules/.bin/eslint . --ext .ts",
|
2022-07-07 12:02:02 +02:00
|
|
|
"lint:fix": "./node_modules/.bin/eslint . --ext .ts --fix",
|
2023-08-05 08:40:10 +02:00
|
|
|
"prettier": "./node_modules/.bin/prettier --write \"src/**/*.{js,ts}\"",
|
2024-01-10 15:32:37 +01:00
|
|
|
"rust-clean": "cd rust-gbt && rm -f *.node index.d.ts index.js && rm -rf target && cd ../",
|
|
|
|
"rust-build": "npm run rust-clean && cd rust-gbt && npm run build-release"
|
2019-07-21 16:59:47 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-10-12 04:38:59 +02:00
|
|
|
"@babel/core": "^7.23.2",
|
2023-03-23 07:56:30 +01:00
|
|
|
"@mempool/electrum-client": "1.1.9",
|
2023-03-19 05:04:36 +01:00
|
|
|
"@types/node": "^18.15.3",
|
2023-11-09 03:16:55 +01:00
|
|
|
"axios": "~1.6.1",
|
2023-07-18 08:36:30 +02:00
|
|
|
"bitcoinjs-lib": "~6.1.3",
|
2023-11-07 02:44:00 +01:00
|
|
|
"crypto-js": "~4.2.0",
|
2022-12-01 06:24:41 +01:00
|
|
|
"express": "~4.18.2",
|
2023-07-18 08:36:30 +02:00
|
|
|
"maxmind": "~4.3.11",
|
2024-01-30 03:07:07 +01:00
|
|
|
"mysql2": "~3.9.1",
|
2023-06-28 01:12:39 +02:00
|
|
|
"rust-gbt": "file:./rust-gbt",
|
2023-05-13 00:29:45 +02:00
|
|
|
"redis": "^4.6.6",
|
2022-06-26 11:43:27 +02:00
|
|
|
"socks-proxy-agent": "~7.0.0",
|
2023-07-18 08:36:30 +02:00
|
|
|
"typescript": "~4.9.3",
|
2023-03-19 05:04:36 +01:00
|
|
|
"ws": "~8.13.0"
|
2019-07-21 16:59:47 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-07-07 21:38:50 +02:00
|
|
|
"@babel/code-frame": "^7.18.6",
|
2023-10-12 04:38:59 +02:00
|
|
|
"@babel/core": "^7.23.2",
|
2022-04-28 12:37:58 +02:00
|
|
|
"@types/compression": "^1.7.2",
|
2022-07-06 21:25:30 +02:00
|
|
|
"@types/crypto-js": "^4.1.1",
|
2023-07-18 08:36:30 +02:00
|
|
|
"@types/express": "^4.17.17",
|
2023-03-19 05:04:36 +01:00
|
|
|
"@types/jest": "^29.5.0",
|
2023-07-18 08:36:30 +02:00
|
|
|
"@types/ws": "~8.5.5",
|
2023-03-19 05:04:36 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.55.0",
|
|
|
|
"@typescript-eslint/parser": "^5.55.0",
|
|
|
|
"eslint": "^8.36.0",
|
2023-07-18 08:36:30 +02:00
|
|
|
"eslint-config-prettier": "^8.8.0",
|
2023-03-19 05:04:36 +01:00
|
|
|
"jest": "^29.5.0",
|
2023-07-18 08:36:30 +02:00
|
|
|
"prettier": "^3.0.0",
|
|
|
|
"ts-jest": "^29.1.1",
|
2022-12-01 06:24:41 +01:00
|
|
|
"ts-node": "^10.9.1"
|
2019-07-21 16:59:47 +02:00
|
|
|
}
|
|
|
|
}
|