mirror of
https://github.com/mempool/mempool.git
synced 2024-12-26 00:04:25 +01:00
132 lines
6.9 KiB
JSON
132 lines
6.9 KiB
JSON
{
|
|
"name": "mempool-frontend",
|
|
"version": "2.4.1-dev",
|
|
"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",
|
|
"tsc": "./node_modules/typescript/bin/tsc",
|
|
"i18n-extract-from-source": "./node_modules/@angular/cli/bin/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 && ng serve -c local",
|
|
"serve:stg": "npm run generate-config && ng serve -c staging",
|
|
"serve:local-prod": "npm run generate-config && ng serve -c local-prod",
|
|
"serve:local-staging": "npm run generate-config && ng serve -c local-staging",
|
|
"start": "npm run generate-config && npm run sync-assets-dev && ng serve -c local",
|
|
"start:stg": "npm run generate-config && npm run sync-assets-dev && ng serve -c staging",
|
|
"start:local-prod": "npm run generate-config && npm run sync-assets-dev && ng serve -c local-prod",
|
|
"start:local-staging": "npm run generate-config && npm run sync-assets-dev && ng serve -c local-staging",
|
|
"start:mixed": "npm run generate-config && npm run sync-assets-dev && ng serve -c mixed",
|
|
"build": "npm run generate-config && ng build --configuration production --localize && npm run sync-assets && npm run build-mempool.js",
|
|
"sync-assets": "node sync-assets.js && rsync -av ./dist/mempool/browser/en-US/resources ./dist/mempool/browser/resources",
|
|
"sync-assets-dev": "node sync-assets.js dev",
|
|
"generate-config": "node generate-config.js",
|
|
"build-mempool.js": "npm run build-mempool-js && npm run build-mempool-liquid-js && npm run build-mempool-bisq-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-bisq-js": "browserify -p tinyify ./node_modules/@mempool/mempool.js/lib/index-bisq.js --standalone bisqJS > ./dist/mempool/browser/en-US/bisq.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": "ng test",
|
|
"lint": "ng lint",
|
|
"e2e": "npm run generate-config && ng e2e",
|
|
"e2e:ci": "npm run cypress:run:ci",
|
|
"config:defaults:mempool": "node update-config.js TESTNET_ENABLED=true SIGNET_ENABLED=true LIQUID_ENABLED=true LIQUID_TESTNET_ENABLED=true BISQ_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 SIGNET_ENABLED=true LIQUID_ENABLED=true LIQUID_TESTNET_ENABLED=true BISQ_ENABLED=true ITEMS_PER_PAGE=25 BASE_MODULE=liquid BLOCK_WEIGHT_UNITS=300000 && npm run generate-config",
|
|
"config:defaults:bisq": "node update-config.js TESTNET_ENABLED=true SIGNET_ENABLED=true LIQUID_ENABLED=true BISQ_ENABLED=true ITEMS_PER_PAGE=25 BASE_MODULE=bisq BLOCK_WEIGHT_UNITS=4000000 && npm run generate-config",
|
|
"dev:ssr": "npm run generate-config && ng run mempool:serve-ssr",
|
|
"serve:ssr": "node server.run.js",
|
|
"build:ssr": "npm run build && ng run mempool:server:production && ./node_modules/typescript/bin/tsc server.run.ts",
|
|
"prerender": "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 SIGNET_ENABLED=true LIQUID_ENABLED=true BISQ_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 SIGNET_ENABLED=true LIQUID_ENABLED=true BISQ_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 SIGNET_ENABLED=true LIQUID_ENABLED=true BISQ_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 SIGNET_ENABLED=true LIQUID_ENABLED=true BISQ_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": "~13.3.7",
|
|
"@angular/animations": "~13.3.10",
|
|
"@angular/cli": "~13.3.7",
|
|
"@angular/common": "~13.3.10",
|
|
"@angular/compiler": "~13.3.10",
|
|
"@angular/core": "~13.3.10",
|
|
"@angular/forms": "~13.3.10",
|
|
"@angular/localize": "~13.3.10",
|
|
"@angular/platform-browser": "~13.3.10",
|
|
"@angular/platform-browser-dynamic": "~13.3.10",
|
|
"@angular/platform-server": "~13.3.10",
|
|
"@angular/router": "~13.3.10",
|
|
"@fortawesome/angular-fontawesome": "~0.10.2",
|
|
"@fortawesome/fontawesome-common-types": "~6.1.1",
|
|
"@fortawesome/fontawesome-svg-core": "~6.1.1",
|
|
"@fortawesome/free-solid-svg-icons": "~6.1.1",
|
|
"@juggle/resize-observer": "^3.3.1",
|
|
"@mempool/mempool.js": "2.3.0",
|
|
"@ng-bootstrap/ng-bootstrap": "^11.0.0",
|
|
"@nguniversal/express-engine": "~13.1.1",
|
|
"@types/qrcode": "~1.4.2",
|
|
"bootstrap": "~4.5.0",
|
|
"browserify": "^17.0.0",
|
|
"clipboard": "^2.0.10",
|
|
"domino": "^2.1.6",
|
|
"echarts": "~5.3.2",
|
|
"express": "^4.17.1",
|
|
"lightweight-charts": "^3.3.0",
|
|
"ngx-bootrap-multiselect": "^2.0.0",
|
|
"ngx-echarts": "8.0.1",
|
|
"ngx-infinite-scroll": "^10.0.1",
|
|
"qrcode": "1.5.0",
|
|
"rxjs": "~7.5.5",
|
|
"tinyify": "^3.0.0",
|
|
"tlite": "^0.1.9",
|
|
"tslib": "~2.4.0",
|
|
"zone.js": "~0.11.5"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/compiler-cli": "~13.3.10",
|
|
"@angular/language-service": "~13.3.10",
|
|
"@nguniversal/builders": "~13.1.1",
|
|
"@types/express": "^4.17.0",
|
|
"@types/jasmine": "~4.0.3",
|
|
"@types/jasminewd2": "~2.0.10",
|
|
"@types/node": "^12.11.1",
|
|
"codelyzer": "~6.0.2",
|
|
"http-proxy-middleware": "^1.0.5",
|
|
"jasmine-core": "~4.1.0",
|
|
"jasmine-spec-reporter": "~7.0.0",
|
|
"karma": "~6.3.19",
|
|
"karma-chrome-launcher": "~3.1.0",
|
|
"karma-coverage": "~2.0.3",
|
|
"karma-jasmine": "~5.0.0",
|
|
"karma-jasmine-html-reporter": "^1.5.0",
|
|
"ts-node": "~8.3.0",
|
|
"tslint": "~6.1.0",
|
|
"typescript": "~4.6.4"
|
|
},
|
|
"optionalDependencies": {
|
|
"@cypress/schematic": "^1.3.0",
|
|
"cypress": "^10.0.2",
|
|
"cypress-fail-on-console-error": "^2.1.3",
|
|
"cypress-wait-until": "^1.7.1",
|
|
"mock-socket": "^9.0.3",
|
|
"start-server-and-test": "^1.12.6"
|
|
}
|
|
}
|