Build mempool-js as standalone.

This commit is contained in:
softsimon 2021-04-10 18:51:13 +04:00
parent 1bb990b796
commit 041aa2a163
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -30,7 +30,7 @@
"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": "tsc | browserify -p tinyify ./node_modules/@mempool/mempool-js/lib/index.js -o ./dist/mempool/browser/en-US/mempool.js",
"build-mempool-js": "tsc | browserify -p tinyify ./node_modules/@mempool/mempool-js/lib/index.js --standalone mempoolJS > ./dist/mempool/browser/en-US/mempool.js",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",