working plugin import

This commit is contained in:
peter
2019-09-17 18:26:27 +02:00
parent e1340d6350
commit 0035b7463a
17 changed files with 425 additions and 294 deletions
+4 -4
View File
@@ -7,13 +7,13 @@
"start-prodlike": "npm run build-assets && ng serve --aot=false --optimization=false --proxy-config proxy.conf.json --configuration=prodlike",
"build": "rm -f src/assets/*.js; ng build --prod --aot=false --optimization=false --build-optimizer=false",
"build-assets": "npm run copy-frontends; npm run deep-clean-plugins",
"update-frontblock": "rm -rf node_modules/frontblock*; npm install",
"get-submodules": "git submodule update --init && git submodule foreach git checkout master",
"copy-frontends": "for module in $(git config --file .gitmodules --get-regexp path | awk '{ print $2 }'); do npm i --prefix $module && npm run --prefix $module build && cp $module/dist/FrontendPlugin.js ./src/assets/$(basename $module).js; done",
"deep-clean-plugins": "for module in $(git config --file .gitmodules --get-regexp path | awk '{ print $2 }'); do rm -rf $module/node_modules; done",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
"e2e": "ng e2e",
"update-frontblock": "npm remove frontblock frontblock-generic; npm install frontblock-generic@latest frontblock@latest"
},
"private": true,
"dependencies": {
@@ -32,8 +32,8 @@
"@webcomponents/custom-elements": "^1.0.0",
"btc-hdkey": "0.0.17",
"coinselect": "^3.1.11",
"frontblock": "latest",
"frontblock-generic": "^0.23.0",
"frontblock": "^0.15.1",
"frontblock-generic": "^0.34.1",
"key-file-storage": "^2.2.4",
"node-fetch": "^2.6.0",
"rxjs": "~6.5.2",