mempool/frontend/package.json

122 lines
6.4 KiB
JSON
Raw Permalink Normal View History

2019-07-21 17:59:47 +03:00
{
"name": "mempool-frontend",
2026-03-20 01:58:27 +00:00
"version": "3.4-dev",
"description": "Bitcoin mempool visualizer and blockchain explorer backend",
2021-03-18 16:29:11 +09:00
"license": "GNU Affero General Public License v3.0",
"homepage": "https://mempool.space",
"repository": {
"type": "git",
"url": "git+https://github.com/mempool/mempool"
},
"bugs": {
"url": "https://github.com/mempool/mempool/issues"
},
"keywords": [
"bitcoin",
"mempool",
"blockchain",
"explorer",
"liquid"
],
"main": "index.ts",
2019-07-21 17:59:47 +03:00
"scripts": {
"ng": "./node_modules/@angular/cli/bin/ng.js",
"tsc": "./node_modules/typescript/bin/tsc",
"i18n-extract-from-source": "npm run ng -- extract-i18n --out-file ./src/locale/messages.xlf",
2025-07-28 11:46:35 +07:00
"i18n-pull-from-transifex": "tx pull -a --minimum-perc 1 --force",
"serve": "npm run generate-themes && npm run generate-config && npm run ng -- serve -c local",
"serve:local-prod": "npm run generate-themes && npm run generate-config && npm run ng -- serve -c local-prod",
"serve:parameterized": "npm run generate-themes && npm run generate-config && npm run ng -- serve -c parameterized",
"start": "npm run generate-themes && npm run generate-config && npm run sync-assets-dev && npm run ng -- serve -c local",
"start:parameterized": "npm run generate-themes && npm run generate-config && npm run sync-assets-dev && npm run ng -- serve -c parameterized",
"start:local-esplora": "npm run generate-themes && npm run generate-config && npm run sync-assets-dev && npm run ng -- serve -c local-esplora",
"start:local-prod": "npm run generate-themes && npm run generate-config && npm run sync-assets-dev && npm run ng -- serve -c local-prod",
"start:mixed": "npm run generate-themes && npm run generate-config && npm run sync-assets-dev && npm run ng -- serve -c mixed",
"build": "npm run generate-themes && npm run generate-config && npm run ng -- build --configuration production --localize && npm run sync-assets-dev && npm run sync-assets",
"generate-themes": "node generate-themes.js",
"copy-themes": "node generate-themes.js copy",
"sync-assets": "npm run copy-themes && rsync -av ./src/resources ./dist/mempool/browser && node sync-assets.js 'dist/mempool/browser/resources/'",
"sync-assets-dev": "node sync-assets.js 'src/resources/'",
"generate-config": "node generate-config.js",
"test": "npm run ng -- test",
2022-07-05 04:29:46 -07:00
"lint": "./node_modules/.bin/eslint . --ext .ts",
"lint:fix": "./node_modules/.bin/eslint . --ext .ts --fix",
"prettier": "prettier --write \"src/app/**/*.{js,json,css,scss,less,md,ts,html,component.html}\"",
"e2e": "npm run generate-config && npm run ng -- e2e",
Updates to the e2e suite (#659) * initial version of the update config script * fix duplicated content * update cypress ci settings * add workflow to run e2e tests when pushing * record cypress results to the dashboard * pull the cypress record key and project id from the secrets * add start-server-and-test to replace concurrently * replace concurrently with start-server-and-test * remove concurrently * add new cypress target to record * update cypress to 7.7.0 * add tests for signet * add tests for testnet * run tests on chrome and firefox * update test matrix: add edge and run firefox on container * fix copypasta * update docker image for firefox * fix task name again * fix edge tests task name * improve bisq tests * update workflow config * enable cypress debug logs * add a manual trigger for the e2e tests * add config:defaults target * use more of the GHA options * fix config command * add cypress-fail-on-console-error * upgrade cypress to v8.0.0 * add helper to wait for the loader skeleton to be gone * use skeleton waiter on the tests * remove manual test trigger * fix tv test when only one mempool block is available * add waiter for pagination * add extra steps to debug firefox launch issue * remove whoami step * Revert "upgrade cypress to v8.0.0" This reverts commit cb3ff7d906c2a2219d7e2b2c16a92c311e3f6817. * remove userinfo debug step * enable test retries in run mode * update proxy config to reduce ECONNRESET errors * add mock-socket dev dependency * add helpers to mock websockets and detect page idleness * stabilize mainnet tests * fix tv mode test on Liquid * add basic tests for the mainnet status page * cleanup mainnet tests * update bisq tests * update signet tests * update testnet tests * add initial support for parameterized websocket mocks * move testing dependencies to optionalDependencies * comment out mempool size check until the live updates are fixed * comment out tx regex test * update fixture for the new difficulty adjustment component * fix the assertions on the status page
2021-07-25 11:03:47 -07:00
"e2e:ci": "npm run cypress:run:ci",
2023-09-26 19:18:11 +01:00
"dev:ssr": "npm run generate-config && ng run mempool:serve-ssr",
"serve:ssr": "npm run generate-config && node server.run.js",
"build:ssr": "npm run build && ng run mempool:server:production && ./node_modules/typescript/bin/tsc server.run.ts",
2024-05-18 20:52:45 +02:00
"config:defaults:mempool": "node update-config.js TESTNET_ENABLED=true TESTNET4_ENABLED=true SIGNET_ENABLED=true LIQUID_ENABLED=true LIQUID_TESTNET_ENABLED=true ITEMS_PER_PAGE=25 BASE_MODULE=mempool BLOCK_WEIGHT_UNITS=4000000 && npm run generate-config",
"config:defaults:liquid": "node update-config.js TESTNET_ENABLED=true TESTNET4_ENABLED=true SIGNET_ENABLED=true LIQUID_ENABLED=true LIQUID_TESTNET_ENABLED=true ITEMS_PER_PAGE=25 BASE_MODULE=liquid BLOCK_WEIGHT_UNITS=300000 && npm run generate-config",
"prerender": "npm run ng -- run mempool:prerender",
Updates to the e2e suite (#659) * initial version of the update config script * fix duplicated content * update cypress ci settings * add workflow to run e2e tests when pushing * record cypress results to the dashboard * pull the cypress record key and project id from the secrets * add start-server-and-test to replace concurrently * replace concurrently with start-server-and-test * remove concurrently * add new cypress target to record * update cypress to 7.7.0 * add tests for signet * add tests for testnet * run tests on chrome and firefox * update test matrix: add edge and run firefox on container * fix copypasta * update docker image for firefox * fix task name again * fix edge tests task name * improve bisq tests * update workflow config * enable cypress debug logs * add a manual trigger for the e2e tests * add config:defaults target * use more of the GHA options * fix config command * add cypress-fail-on-console-error * upgrade cypress to v8.0.0 * add helper to wait for the loader skeleton to be gone * use skeleton waiter on the tests * remove manual test trigger * fix tv test when only one mempool block is available * add waiter for pagination * add extra steps to debug firefox launch issue * remove whoami step * Revert "upgrade cypress to v8.0.0" This reverts commit cb3ff7d906c2a2219d7e2b2c16a92c311e3f6817. * remove userinfo debug step * enable test retries in run mode * update proxy config to reduce ECONNRESET errors * add mock-socket dev dependency * add helpers to mock websockets and detect page idleness * stabilize mainnet tests * fix tv mode test on Liquid * add basic tests for the mainnet status page * cleanup mainnet tests * update bisq tests * update signet tests * update testnet tests * add initial support for parameterized websocket mocks * move testing dependencies to optionalDependencies * comment out mempool size check until the live updates are fixed * comment out tx regex test * update fixture for the new difficulty adjustment component * fix the assertions on the status page
2021-07-25 11:03:47 -07:00
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:run:record": "cypress run --record",
2024-05-18 20:52:45 +02:00
"cypress:open:ci": "node update-config.js TESTNET_ENABLED=true TESTNET4_ENABLED=true SIGNET_ENABLED=true LIQUID_ENABLED=true ITEMS_PER_PAGE=25 && npm run generate-config && start-server-and-test serve:local-prod 4200 cypress:open",
"cypress:run:ci": "node update-config.js TESTNET_ENABLED=true TESTNET4_ENABLED=true SIGNET_ENABLED=true LIQUID_ENABLED=true ITEMS_PER_PAGE=25 && npm run generate-config && start-server-and-test serve:local-prod 4200 cypress:run:record",
2025-03-31 22:10:44 +09:00
"cypress:open:ci:parameterized": "node update-config.js TESTNET_ENABLED=true TESTNET4_ENABLED=true SIGNET_ENABLED=true LIQUID_ENABLED=true ITEMS_PER_PAGE=25 && npm run generate-config && start-server-and-test serve:parameterized 4200 cypress:open",
"cypress:run:ci:parameterized": "node update-config.js TESTNET_ENABLED=true TESTNET4_ENABLED=true SIGNET_ENABLED=true LIQUID_ENABLED=true ITEMS_PER_PAGE=25 && npm run generate-config && start-server-and-test serve:parameterized 4200 cypress:run:record"
2019-07-21 17:59:47 +03:00
},
"dependencies": {
2026-05-11 06:27:02 +00:00
"@angular-devkit/build-angular": "^20.3.25",
2026-06-16 05:35:27 +00:00
"@angular/animations": "^20.3.25",
2026-05-11 06:27:02 +00:00
"@angular/cli": "^20.3.25",
2026-06-16 05:35:27 +00:00
"@angular/common": "^20.3.25",
"@angular/compiler": "^20.3.25",
"@angular/core": "^20.3.25",
"@angular/forms": "^20.3.25",
"@angular/localize": "^20.3.25",
"@angular/platform-browser": "^20.3.25",
"@angular/platform-browser-dynamic": "^20.3.25",
"@angular/platform-server": "^20.3.25",
"@angular/router": "^20.3.25",
2026-05-11 06:27:02 +00:00
"@angular/ssr": "^20.3.25",
2025-11-01 20:17:02 +08:00
"@fortawesome/angular-fontawesome": "^3.0.0",
2024-12-27 18:44:37 +07:00
"@fortawesome/fontawesome-common-types": "~6.7.2",
"@fortawesome/fontawesome-svg-core": "~6.7.2",
"@fortawesome/free-solid-svg-icons": "~6.7.2",
2025-11-01 20:17:02 +08:00
"@ng-bootstrap/ng-bootstrap": "^19.0.0",
2022-11-28 16:12:04 +09:00
"@types/qrcode": "~1.5.0",
"@noble/secp256k1": "^3.1.0",
2026-03-16 18:30:07 +01:00
"bootstrap": "~5.3.8",
2022-11-28 16:12:04 +09:00
"clipboard": "^2.0.11",
2020-11-07 04:30:52 +07:00
"domino": "^2.1.6",
"echarts": "~6.1.0",
2025-11-03 20:32:58 +08:00
"ngx-echarts": "~20.0.2",
2025-11-01 20:17:02 +08:00
"ngx-infinite-scroll": "^20.0.0",
2022-11-30 12:56:07 +09:00
"qrcode": "1.5.1",
2023-07-18 13:38:33 +09:00
"rxjs": "~7.8.1",
"tslib": "~2.8.0",
2025-11-01 20:17:02 +08:00
"zone.js": "~0.15.1"
2019-07-21 17:59:47 +03:00
},
"devDependencies": {
2026-06-16 05:35:27 +00:00
"@angular/compiler-cli": "^20.3.25",
"@angular/language-service": "^20.3.25",
2025-11-03 20:32:58 +08:00
"@types/node": "^24.9.2",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@typescript-eslint/parser": "^8.46.2",
"eslint": "^9.39.0",
"browser-sync": "^3.0.3",
2022-06-26 11:34:25 +02:00
"http-proxy-middleware": "~2.0.6",
2023-07-18 13:38:33 +09:00
"prettier": "^3.0.0",
2023-09-26 19:18:11 +01:00
"source-map-support": "^0.5.21",
2022-11-30 12:56:07 +09:00
"ts-node": "~10.9.1",
2025-11-01 20:17:02 +08:00
"typescript": "~5.8.3"
},
"optionalDependencies": {
2023-07-18 13:38:33 +09:00
"@cypress/schematic": "^2.5.0",
"cypress": "^15.16.0",
2025-11-13 09:56:28 -08:00
"cypress-fail-on-console-error": "~5.1.1",
"cypress-wait-until": "^3.0.1",
"mock-socket": "~9.3.1",
2025-11-13 09:56:28 -08:00
"start-server-and-test": "~2.1.2"
},
2026-01-21 07:55:43 +00:00
"overrides": {
"tar": "^7.5.5"
},
"scarfSettings": {
"enabled": false
2019-07-21 17:59:47 +03:00
}
2025-04-07 14:19:44 +09:00
}