mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 18:03:00 +01:00
128 lines
6.8 KiB
JSON
128 lines
6.8 KiB
JSON
{
|
|
"name": "mempool-frontend",
|
|
"version": "3.0.0-beta",
|
|
"description": "Bitcoin mempool visualizer and blockchain explorer backend",
|
|
"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",
|
|
"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",
|
|
"i18n-pull-from-transifex": "tx pull -a --parallel --minimum-perc 1 --force",
|
|
"serve": "npm run generate-config && npm run ng -- serve -c local",
|
|
"serve:stg": "npm run generate-config && npm run ng -- serve -c staging",
|
|
"serve:local-prod": "npm run generate-config && npm run ng -- serve -c local-prod",
|
|
"serve:local-staging": "npm run generate-config && npm run ng -- serve -c local-staging",
|
|
"start": "npm run generate-config && npm run sync-assets-dev && npm run ng -- serve -c local",
|
|
"start:local-esplora": "npm run generate-config && npm run sync-assets-dev && npm run ng -- serve -c local-esplora",
|
|
"start:stg": "npm run generate-config && npm run sync-assets-dev && npm run ng -- serve -c staging",
|
|
"start:local-prod": "npm run generate-config && npm run sync-assets-dev && npm run ng -- serve -c local-prod",
|
|
"start:local-staging": "npm run generate-config && npm run sync-assets-dev && npm run ng -- serve -c local-staging",
|
|
"start:mixed": "npm run generate-config && npm run sync-assets-dev && npm run ng -- serve -c mixed",
|
|
"build": "npm run generate-config && npm run ng -- build --configuration production --localize && npm run sync-assets-dev && npm run sync-assets && npm run build-mempool.js",
|
|
"sync-assets": "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",
|
|
"build-mempool.js": "npm run build-mempool-js && npm run build-mempool-liquid-js",
|
|
"build-mempool-js": "browserify -p tinyify ./node_modules/@mempool/mempool.js/lib/index.js --standalone mempoolJS > ./dist/mempool/browser/en-US/mempool.js",
|
|
"build-mempool-liquid-js": "browserify -p tinyify ./node_modules/@mempool/mempool.js/lib/index-liquid.js --standalone liquidJS > ./dist/mempool/browser/en-US/liquid.js",
|
|
"test": "npm run ng -- test",
|
|
"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",
|
|
"e2e:ci": "npm run cypress:run:ci",
|
|
"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",
|
|
"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",
|
|
"cypress:open": "cypress open",
|
|
"cypress:run": "cypress run",
|
|
"cypress:run:record": "cypress run --record",
|
|
"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",
|
|
"cypress:open:ci:staging": "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-staging 4200 cypress:open",
|
|
"cypress:run:ci:staging": "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-staging 4200 cypress:run:record"
|
|
},
|
|
"dependencies": {
|
|
"@angular-devkit/build-angular": "^17.3.1",
|
|
"@angular/animations": "^17.3.1",
|
|
"@angular/cli": "^17.3.1",
|
|
"@angular/common": "^17.3.1",
|
|
"@angular/compiler": "^17.3.1",
|
|
"@angular/core": "^17.3.1",
|
|
"@angular/forms": "^17.3.1",
|
|
"@angular/localize": "^17.3.1",
|
|
"@angular/platform-browser": "^17.3.1",
|
|
"@angular/platform-browser-dynamic": "^17.3.1",
|
|
"@angular/platform-server": "^17.3.1",
|
|
"@angular/router": "^17.3.1",
|
|
"@angular/ssr": "^17.3.1",
|
|
"@fortawesome/angular-fontawesome": "~0.14.1",
|
|
"@fortawesome/fontawesome-common-types": "~6.6.0",
|
|
"@fortawesome/fontawesome-svg-core": "~6.6.0",
|
|
"@fortawesome/free-solid-svg-icons": "~6.6.0",
|
|
"@mempool/mempool.js": "2.3.0",
|
|
"@ng-bootstrap/ng-bootstrap": "^16.0.0",
|
|
"@types/qrcode": "~1.5.0",
|
|
"bootstrap": "~4.6.2",
|
|
"browserify": "^17.0.0",
|
|
"clipboard": "^2.0.11",
|
|
"domino": "^2.1.6",
|
|
"echarts": "~5.5.0",
|
|
"lightweight-charts": "~3.8.0",
|
|
"ngx-echarts": "~17.2.0",
|
|
"ngx-infinite-scroll": "^17.0.0",
|
|
"qrcode": "1.5.1",
|
|
"rxjs": "~7.8.1",
|
|
"esbuild": "^0.23.0",
|
|
"tinyify": "^4.0.0",
|
|
"tlite": "^0.1.9",
|
|
"tslib": "~2.6.0",
|
|
"zone.js": "~0.14.4"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/compiler-cli": "^17.3.1",
|
|
"@angular/language-service": "^17.3.1",
|
|
"@types/node": "^18.11.9",
|
|
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
"@typescript-eslint/parser": "^7.4.0",
|
|
"eslint": "^8.57.0",
|
|
"browser-sync": "^3.0.0",
|
|
"http-proxy-middleware": "~2.0.6",
|
|
"prettier": "^3.0.0",
|
|
"source-map-support": "^0.5.21",
|
|
"ts-node": "~10.9.1",
|
|
"typescript": "~5.4.3"
|
|
},
|
|
"optionalDependencies": {
|
|
"@cypress/schematic": "^2.5.0",
|
|
"@types/cypress": "^1.1.3",
|
|
"cypress": "^13.13.0",
|
|
"cypress-fail-on-console-error": "~5.1.0",
|
|
"cypress-wait-until": "^2.0.1",
|
|
"mock-socket": "~9.3.1",
|
|
"start-server-and-test": "~2.0.0"
|
|
},
|
|
"scarfSettings": {
|
|
"enabled": false
|
|
}
|
|
}
|