2019-07-21 16:59:47 +02:00
|
|
|
{
|
2020-03-13 11:48:10 +01:00
|
|
|
"name": "mempool-frontend",
|
2022-06-10 15:43:30 +02:00
|
|
|
"version": "2.4.1-dev",
|
2020-03-13 11:48:10 +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:48:10 +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:48:10 +01:00
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/mempool/mempool/issues"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"bitcoin",
|
|
|
|
"mempool",
|
|
|
|
"blockchain",
|
|
|
|
"explorer",
|
|
|
|
"liquid"
|
|
|
|
],
|
|
|
|
"main": "index.ts",
|
2019-07-21 16:59:47 +02:00
|
|
|
"scripts": {
|
2020-11-23 09:19:16 +01:00
|
|
|
"ng": "./node_modules/@angular/cli/bin/ng",
|
|
|
|
"tsc": "./node_modules/typescript/bin/tsc",
|
2021-09-22 13:07:25 +02:00
|
|
|
"i18n-extract-from-source": "./node_modules/@angular/cli/bin/ng extract-i18n --out-file ./src/locale/messages.xlf",
|
2020-12-04 16:12:08 +01:00
|
|
|
"i18n-pull-from-transifex": "tx pull -a --parallel --minimum-perc 1 --force",
|
2021-06-16 20:47:05 +02:00
|
|
|
"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",
|
2022-02-07 00:12:03 +01:00
|
|
|
"serve:local-staging": "npm run generate-config && ng serve -c local-staging",
|
2022-04-06 13:40:26 +02:00
|
|
|
"start": "npm run generate-config && npm run sync-assets-dev && ng serve -c local",
|
2021-06-07 16:36:41 +02:00
|
|
|
"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",
|
2022-02-07 00:12:03 +01:00
|
|
|
"start:local-staging": "npm run generate-config && npm run sync-assets-dev && ng serve -c local-staging",
|
2022-02-04 23:15:28 +01:00
|
|
|
"start:mixed": "npm run generate-config && npm run sync-assets-dev && ng serve -c mixed",
|
2021-09-22 13:07:25 +02:00
|
|
|
"build": "npm run generate-config && ng build --configuration production --localize && npm run sync-assets && npm run build-mempool.js",
|
2021-01-11 14:05:39 +01:00
|
|
|
"sync-assets": "node sync-assets.js && rsync -av ./dist/mempool/browser/en-US/resources ./dist/mempool/browser/resources",
|
2020-05-09 19:35:21 +02:00
|
|
|
"sync-assets-dev": "node sync-assets.js dev",
|
2020-06-22 17:10:49 +02:00
|
|
|
"generate-config": "node generate-config.js",
|
2021-12-20 20:48:26 +01:00
|
|
|
"build-mempool.js": "npm run build-mempool-js && npm run build-mempool-liquid-js && npm run build-mempool-bisq-js",
|
2021-12-22 16:33:10 +01:00
|
|
|
"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",
|
2019-07-21 16:59:47 +02:00
|
|
|
"test": "ng test",
|
|
|
|
"lint": "ng lint",
|
2021-08-17 22:01:36 +02:00
|
|
|
"e2e": "npm run generate-config && ng e2e",
|
2021-07-25 20:03:47 +02:00
|
|
|
"e2e:ci": "npm run cypress:run:ci",
|
2022-01-21 06:29:45 +01:00
|
|
|
"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",
|
2020-11-22 20:30:46 +01:00
|
|
|
"dev:ssr": "npm run generate-config && ng run mempool:serve-ssr",
|
2020-12-23 10:04:30 +01:00
|
|
|
"serve:ssr": "node server.run.js",
|
|
|
|
"build:ssr": "npm run build && ng run mempool:server:production && ./node_modules/typescript/bin/tsc server.run.ts",
|
2021-06-07 16:36:41 +02:00
|
|
|
"prerender": "ng run mempool:prerender",
|
2021-07-25 20:03:47 +02:00
|
|
|
"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",
|
2022-02-07 00:12:03 +01:00
|
|
|
"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"
|
2019-07-21 16:59:47 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-05-26 16:31:11 +02:00
|
|
|
"@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",
|
2022-05-27 13:50:56 +02:00
|
|
|
"@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",
|
2021-08-16 23:11:34 +02:00
|
|
|
"@juggle/resize-observer": "^3.3.1",
|
2022-01-10 12:55:18 +01:00
|
|
|
"@mempool/mempool.js": "2.3.0",
|
2022-01-11 23:42:33 +01:00
|
|
|
"@ng-bootstrap/ng-bootstrap": "^11.0.0",
|
2022-05-26 16:31:11 +02:00
|
|
|
"@nguniversal/express-engine": "~13.1.1",
|
2022-04-28 12:37:58 +02:00
|
|
|
"@types/qrcode": "~1.4.2",
|
|
|
|
"bootstrap": "~4.5.0",
|
2021-04-08 23:22:24 +02:00
|
|
|
"browserify": "^17.0.0",
|
2022-04-28 12:37:58 +02:00
|
|
|
"clipboard": "^2.0.10",
|
2020-11-06 22:30:52 +01:00
|
|
|
"domino": "^2.1.6",
|
2022-04-28 12:37:58 +02:00
|
|
|
"echarts": "~5.3.2",
|
2021-04-07 14:18:55 +02:00
|
|
|
"express": "^4.17.1",
|
2021-04-13 09:30:53 +02:00
|
|
|
"lightweight-charts": "^3.3.0",
|
2020-10-26 12:56:55 +01:00
|
|
|
"ngx-bootrap-multiselect": "^2.0.0",
|
2022-02-23 17:52:38 +01:00
|
|
|
"ngx-echarts": "8.0.1",
|
2021-04-07 14:18:55 +02:00
|
|
|
"ngx-infinite-scroll": "^10.0.1",
|
2021-12-08 17:24:33 +01:00
|
|
|
"qrcode": "1.5.0",
|
2022-05-27 13:34:58 +02:00
|
|
|
"rxjs": "~7.5.5",
|
2021-04-08 23:22:24 +02:00
|
|
|
"tinyify": "^3.0.0",
|
2020-10-26 12:56:55 +01:00
|
|
|
"tlite": "^0.1.9",
|
2022-05-27 13:34:58 +02:00
|
|
|
"tslib": "~2.4.0",
|
|
|
|
"zone.js": "~0.11.5"
|
2019-07-21 16:59:47 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-05-26 16:31:11 +02:00
|
|
|
"@angular/compiler-cli": "~13.3.10",
|
|
|
|
"@angular/language-service": "~13.3.10",
|
2022-05-27 13:34:58 +02:00
|
|
|
"@nguniversal/builders": "~13.1.1",
|
2020-11-06 22:30:52 +01:00
|
|
|
"@types/express": "^4.17.0",
|
2022-05-27 13:50:56 +02:00
|
|
|
"@types/jasmine": "~4.0.3",
|
|
|
|
"@types/jasminewd2": "~2.0.10",
|
2020-10-26 12:56:55 +01:00
|
|
|
"@types/node": "^12.11.1",
|
2022-05-27 13:50:56 +02:00
|
|
|
"codelyzer": "~6.0.2",
|
2020-11-06 22:30:52 +01:00
|
|
|
"http-proxy-middleware": "^1.0.5",
|
2022-05-27 13:50:56 +02:00
|
|
|
"jasmine-core": "~4.1.0",
|
|
|
|
"jasmine-spec-reporter": "~7.0.0",
|
2022-04-28 12:37:58 +02:00
|
|
|
"karma": "~6.3.19",
|
2020-10-26 12:56:55 +01:00
|
|
|
"karma-chrome-launcher": "~3.1.0",
|
2021-04-07 14:18:55 +02:00
|
|
|
"karma-coverage": "~2.0.3",
|
2022-04-28 12:37:58 +02:00
|
|
|
"karma-jasmine": "~5.0.0",
|
2020-10-26 12:56:55 +01:00
|
|
|
"karma-jasmine-html-reporter": "^1.5.0",
|
2021-04-07 14:18:55 +02:00
|
|
|
"ts-node": "~8.3.0",
|
2020-10-26 12:56:55 +01:00
|
|
|
"tslint": "~6.1.0",
|
2022-05-27 13:34:58 +02:00
|
|
|
"typescript": "~4.6.4"
|
2021-06-12 06:06:55 +02:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
2021-07-25 20:03:47 +02:00
|
|
|
"@cypress/schematic": "^1.3.0",
|
2022-06-04 05:46:33 +02:00
|
|
|
"cypress": "^10.0.2",
|
2021-12-08 07:25:10 +01:00
|
|
|
"cypress-fail-on-console-error": "^2.1.3",
|
2021-07-25 20:03:47 +02:00
|
|
|
"cypress-wait-until": "^1.7.1",
|
2021-08-04 13:34:05 +02:00
|
|
|
"mock-socket": "^9.0.3",
|
|
|
|
"start-server-and-test": "^1.12.6"
|
2019-07-21 16:59:47 +02:00
|
|
|
}
|
2022-03-20 06:33:56 +01:00
|
|
|
}
|