This commit is contained in:
Jaco Greeff 2017-08-01 17:35:17 +02:00
parent 3006ab9253
commit 1d96ba7dfc
3 changed files with 472 additions and 65 deletions

487
js/package-lock.json generated
View File

@ -44,13 +44,175 @@
}
}
},
"@parity/dapp-account": {
"version": "github:paritytech/dapp-account#5a8b7490001bfa53a5f6cfb7d725e8eb1121243c",
"requires": {
"@parity/api": "github:paritytech/js-api#ade4a6750292a2918676039ea53eea20c4c728bc",
"@parity/dapp-accounts": "github:paritytech/dapp-accounts#bdf7f53d98e589dc19c305d76fe6ade11292fd61",
"@parity/dapp-address": "github:paritytech/dapp-address#a53e424768984f03d504e942f2835e20482be956",
"@parity/dapp-vaults": "github:paritytech/dapp-vaults#d97679804d81a5a5b4d6064931211b7f802e335e",
"@parity/parity.js": "1.8.7",
"@parity/shapeshift": "github:paritytech/js-shapeshift#59d71436b678390a3abdea37d58b5ff06edfd750",
"@parity/shared": "github:paritytech/js-shared#9bb1d291d8752a827613889498e380fcd3afa8da",
"@parity/ui": "github:paritytech/js-ui#037782bd16e8abf1c169143aa61749a44b94489b",
"lodash": "4.17.2",
"oo7": "0.5.3",
"oo7-parity": "0.6.8",
"oo7-react": "0.4.5",
"parity-reactive-ui": "0.4.5",
"phoneformat.js": "1.0.3",
"react-intl": "2.1.5",
"recharts": "0.15.2"
},
"dependencies": {
"@parity/api": {
"version": "github:paritytech/js-api#ade4a6750292a2918676039ea53eea20c4c728bc",
"requires": {
"@parity/abi": "github:paritytech/js-abi#414765a476d88b6fb9f3398c99a946021957d07a",
"@parity/jsonrpc": "github:paritytech/js-jsonrpc#89a6e441370f55d8fe995e27007f60da29b6672b",
"@parity/wordlist": "1.1.0",
"bignumber.js": "3.0.1",
"blockies": "0.0.2",
"es6-error": "4.0.0",
"ethereumjs-tx": "1.3.3",
"eventemitter3": "2.0.3",
"isomorphic-fetch": "2.2.1",
"js-sha3": "0.5.5",
"keythereum": "0.4.6",
"lodash": "4.17.4",
"node-fetch": "1.6.3",
"secp256k1": "3.2.5",
"store": "2.0.12"
},
"dependencies": {
"lodash": {
"version": "4.17.4",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
"integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4="
}
}
},
"@parity/dapp-accounts": {
"version": "github:paritytech/dapp-accounts#bdf7f53d98e589dc19c305d76fe6ade11292fd61"
},
"@parity/shared": {
"version": "github:paritytech/js-shared#9bb1d291d8752a827613889498e380fcd3afa8da",
"requires": {
"@parity/ledger": "github:paritytech/js-ledger#c363adfb9192aa56b7b498b0ad90bc4032bcd6ab",
"loglevel": "1.4.1",
"mobx": "2.6.4",
"mobx-react": "4.0.3",
"promise-worker": "1.1.1",
"push.js": "0.0.11",
"react-redux": "4.4.6",
"redux": "3.6.0",
"redux-actions": "1.1.0",
"redux-thunk": "2.1.0",
"scryptsy": "2.0.0",
"serviceworker-webpack-plugin": "0.2.0",
"solc": "github:ngotchac/solc-js#04eb38cc3003fba8cb3656653a7941ed36408818",
"worker-loader": "0.8.1",
"yargs": "6.6.0"
}
},
"@parity/ui": {
"version": "github:paritytech/js-ui#037782bd16e8abf1c169143aa61749a44b94489b",
"requires": {
"@parity/api": "github:paritytech/js-api#1c7cc5561c4e8db0d0b58f22d8bc8baa243909a5",
"@parity/etherscan": "github:paritytech/js-etherscan#efe859ac7d2a8a3cc05e01c689b7fa58f47f8b87",
"@parity/shared": "github:paritytech/js-shared#a83c71946d30d5b3bf976860a676add29c48ee24",
"bignumber.js": "3.0.1",
"brace": "0.9.0",
"date-difference": "1.0.0",
"eventemitter3": "2.0.3",
"file-saver": "1.3.3",
"geopattern": "1.2.3",
"js-sha3": "0.5.5",
"keycode": "2.1.9",
"lodash": "4.17.2",
"mobx": "2.6.4",
"mobx-react": "4.0.3",
"moment": "2.17.0",
"qrcode-generator": "1.2.0",
"react": "15.6.1",
"react-ace": "4.1.0",
"react-copy-to-clipboard": "4.2.3",
"react-datetime": "2.8.10",
"react-dom": "15.6.1",
"react-dropzone": "3.7.3",
"react-event-listener": "0.4.5",
"react-intl": "2.1.5",
"react-portal": "3.0.0",
"react-qr-reader": "1.1.3",
"react-router": "3.0.0",
"react-router-redux": "4.0.7",
"react-tap-event-plugin": "2.0.1",
"react-tooltip": "3.2.2",
"recharts": "0.15.2",
"redux": "3.6.0",
"semantic-ui-css": "2.2.11",
"semantic-ui-react": "0.71.2",
"zxcvbn": "4.4.1"
},
"dependencies": {
"@parity/api": {
"version": "github:paritytech/js-api#1c7cc5561c4e8db0d0b58f22d8bc8baa243909a5",
"requires": {
"@parity/abi": "github:paritytech/js-abi#414765a476d88b6fb9f3398c99a946021957d07a",
"@parity/jsonrpc": "github:paritytech/js-jsonrpc#89a6e441370f55d8fe995e27007f60da29b6672b",
"@parity/wordlist": "1.1.0",
"bignumber.js": "3.0.1",
"blockies": "0.0.2",
"es6-error": "4.0.0",
"ethereumjs-tx": "1.3.3",
"eventemitter3": "2.0.3",
"isomorphic-fetch": "2.2.1",
"js-sha3": "0.5.5",
"keythereum": "0.4.6",
"lodash": "4.17.4",
"node-fetch": "1.6.3",
"secp256k1": "3.2.5",
"store": "2.0.12"
},
"dependencies": {
"lodash": {
"version": "4.17.4",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
"integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4="
}
}
},
"@parity/shared": {
"version": "github:paritytech/js-shared#a83c71946d30d5b3bf976860a676add29c48ee24",
"requires": {
"mobx": "2.6.4",
"mobx-react": "4.0.3",
"push.js": "0.0.11",
"react-redux": "4.4.6",
"redux": "3.6.0",
"redux-actions": "1.1.0",
"redux-thunk": "2.1.0",
"scryptsy": "2.0.0",
"solc": "github:ngotchac/solc-js#04eb38cc3003fba8cb3656653a7941ed36408818",
"yargs": "6.6.0"
}
}
}
},
"store": {
"version": "2.0.12",
"resolved": "https://registry.npmjs.org/store/-/store-2.0.12.tgz",
"integrity": "sha1-jFNOKguDH3K3X8XxEZhXxE711ZM="
}
}
},
"@parity/dapp-accounts": {
"version": "github:paritytech/dapp-accounts#c5f44ddc22427fc27ed919a93d3a7c362f250c61",
"version": "github:paritytech/dapp-accounts#d36dc21b8b250850b45c3c5ed5afafb33d1a0767",
"requires": {
"@parity/api": "github:paritytech/js-api#ade4a6750292a2918676039ea53eea20c4c728bc",
"@parity/dapp-vaults": "github:paritytech/dapp-vaults#c86131351e20be678e470704aa6f1fa7b610ee84",
"@parity/shared": "github:paritytech/js-shared#32d6709cb2ee267553aa4292a482cd787af3df81",
"@parity/ui": "github:paritytech/js-ui#037782bd16e8abf1c169143aa61749a44b94489b",
"@parity/shared": "github:paritytech/js-shared#481b179a1aed11d61e2fa45d299ddeb399e34e91",
"@parity/ui": "github:paritytech/js-ui#7f7235fe696defd547ace030041f2f52c842c7dc",
"file-saver": "1.3.3",
"react": "15.6.1",
"react-dom": "15.6.1",
@ -58,10 +220,81 @@
"react-router": "3.0.0",
"react-tap-event-plugin": "2.0.1",
"recharts": "0.15.2"
},
"dependencies": {
"@parity/dapp-vaults": {
"version": "github:paritytech/dapp-vaults#c86131351e20be678e470704aa6f1fa7b610ee84"
}
}
},
"@parity/dapp-address": {
"version": "github:paritytech/dapp-address#a53e424768984f03d504e942f2835e20482be956"
},
"@parity/dapp-githubhint": {
"version": "github:paritytech/dapp-githubhint#10b394b8cd4f90bc83b9b0da7dfbe034f8cd9f33",
"requires": {
"@parity/api": "github:paritytech/js-api#ade4a6750292a2918676039ea53eea20c4c728bc",
"@parity/shared": "github:paritytech/js-shared#9bb1d291d8752a827613889498e380fcd3afa8da",
"moment": "2.17.0",
"react": "15.6.1",
"react-dom": "15.6.1",
"react-tap-event-plugin": "2.0.1"
},
"dependencies": {
"@parity/api": {
"version": "github:paritytech/js-api#ade4a6750292a2918676039ea53eea20c4c728bc",
"requires": {
"@parity/abi": "github:paritytech/js-abi#414765a476d88b6fb9f3398c99a946021957d07a",
"@parity/jsonrpc": "github:paritytech/js-jsonrpc#89a6e441370f55d8fe995e27007f60da29b6672b",
"@parity/wordlist": "1.1.0",
"bignumber.js": "3.0.1",
"blockies": "0.0.2",
"es6-error": "4.0.0",
"ethereumjs-tx": "1.3.3",
"eventemitter3": "2.0.3",
"isomorphic-fetch": "2.2.1",
"js-sha3": "0.5.5",
"keythereum": "0.4.6",
"lodash": "4.17.4",
"node-fetch": "1.6.3",
"secp256k1": "3.2.5",
"store": "2.0.12"
}
},
"@parity/shared": {
"version": "github:paritytech/js-shared#9bb1d291d8752a827613889498e380fcd3afa8da",
"requires": {
"@parity/ledger": "github:paritytech/js-ledger#c363adfb9192aa56b7b498b0ad90bc4032bcd6ab",
"loglevel": "1.4.1",
"mobx": "2.6.4",
"mobx-react": "4.0.3",
"promise-worker": "1.1.1",
"push.js": "0.0.11",
"react-redux": "4.4.6",
"redux": "3.6.0",
"redux-actions": "1.1.0",
"redux-thunk": "2.1.0",
"scryptsy": "2.0.0",
"serviceworker-webpack-plugin": "0.2.0",
"solc": "github:ngotchac/solc-js#04eb38cc3003fba8cb3656653a7941ed36408818",
"worker-loader": "0.8.1",
"yargs": "6.6.0"
}
},
"lodash": {
"version": "4.17.4",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
"integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4="
},
"store": {
"version": "2.0.12",
"resolved": "https://registry.npmjs.org/store/-/store-2.0.12.tgz",
"integrity": "sha1-jFNOKguDH3K3X8XxEZhXxE711ZM="
}
}
},
"@parity/dapp-vaults": {
"version": "github:paritytech/dapp-vaults#c86131351e20be678e470704aa6f1fa7b610ee84"
"version": "github:paritytech/dapp-vaults#d97679804d81a5a5b4d6064931211b7f802e335e"
},
"@parity/etherscan": {
"version": "github:paritytech/js-etherscan#efe859ac7d2a8a3cc05e01c689b7fa58f47f8b87",
@ -126,8 +359,31 @@
"u2f-api-polyfill": "0.4.3"
}
},
"@parity/parity.js": {
"version": "1.8.7",
"resolved": "https://registry.npmjs.org/@parity/parity.js/-/parity.js-1.8.7.tgz",
"integrity": "sha1-LmriG0KoTdtoPZjETvU/JV72rZI=",
"requires": {
"bignumber.js": "2.3.0",
"js-sha3": "0.5.5",
"node-fetch": "1.6.3"
},
"dependencies": {
"bignumber.js": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-2.3.0.tgz",
"integrity": "sha1-WXoC15Htw9ZPF4UOIXieekCV32Y="
}
}
},
"@parity/shapeshift": {
"version": "github:paritytech/js-shapeshift#59d71436b678390a3abdea37d58b5ff06edfd750",
"requires": {
"node-fetch": "1.6.3"
}
},
"@parity/shared": {
"version": "github:paritytech/js-shared#32d6709cb2ee267553aa4292a482cd787af3df81",
"version": "github:paritytech/js-shared#481b179a1aed11d61e2fa45d299ddeb399e34e91",
"requires": {
"@parity/ledger": "github:paritytech/js-ledger#c363adfb9192aa56b7b498b0ad90bc4032bcd6ab",
"loglevel": "1.4.1",
@ -145,10 +401,19 @@
"sw-toolbox": "3.6.0",
"worker-loader": "0.8.1",
"yargs": "6.6.0"
},
"dependencies": {
"@parity/ledger": {
"version": "github:paritytech/js-ledger#c363adfb9192aa56b7b498b0ad90bc4032bcd6ab",
"requires": {
"u2f-api": "0.0.9",
"u2f-api-polyfill": "0.4.3"
}
}
}
},
"@parity/ui": {
"version": "github:paritytech/js-ui#037782bd16e8abf1c169143aa61749a44b94489b",
"version": "github:paritytech/js-ui#7f7235fe696defd547ace030041f2f52c842c7dc",
"requires": {
"@parity/api": "github:paritytech/js-api#1c7cc5561c4e8db0d0b58f22d8bc8baa243909a5",
"@parity/etherscan": "github:paritytech/js-etherscan#efe859ac7d2a8a3cc05e01c689b7fa58f47f8b87",
@ -172,6 +437,7 @@
"react-datetime": "2.8.10",
"react-dom": "15.6.1",
"react-dropzone": "3.7.3",
"react-element-to-jsx-string": "6.0.0",
"react-event-listener": "0.4.5",
"react-intl": "2.1.5",
"react-portal": "3.0.0",
@ -2777,6 +3043,38 @@
"requires": {
"html": "1.0.0",
"react-element-to-jsx-string": "5.0.7"
},
"dependencies": {
"lodash": {
"version": "4.17.4",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
"integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=",
"dev": true
},
"react-element-to-jsx-string": {
"version": "5.0.7",
"resolved": "https://registry.npmjs.org/react-element-to-jsx-string/-/react-element-to-jsx-string-5.0.7.tgz",
"integrity": "sha1-xmOkgAqccSEVwNhRnLAhWkah8PI=",
"dev": true,
"requires": {
"collapse-white-space": "1.0.3",
"is-plain-object": "2.0.4",
"lodash": "4.17.4",
"sortobject": "1.1.1",
"stringify-object": "2.4.0",
"traverse": "0.6.6"
}
},
"stringify-object": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-2.4.0.tgz",
"integrity": "sha1-xi0RAj6yH+LZsIe+A5om3zsioJ0=",
"dev": true,
"requires": {
"is-plain-obj": "1.1.0",
"is-regexp": "1.0.0"
}
}
}
},
"chain-function": {
@ -2977,8 +3275,7 @@
"collapse-white-space": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.3.tgz",
"integrity": "sha1-S5BvZw5aljqHt2sOFolkM0G2Ajw=",
"dev": true
"integrity": "sha1-S5BvZw5aljqHt2sOFolkM0G2Ajw="
},
"color": {
"version": "0.11.4",
@ -4841,8 +5138,7 @@
"editions": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/editions/-/editions-1.3.3.tgz",
"integrity": "sha1-CQcQG92iD6w8vjNMJ8vQaI3Jmls=",
"dev": true
"integrity": "sha1-CQcQG92iD6w8vjNMJ8vQaI3Jmls="
},
"ee-first": {
"version": "1.1.1",
@ -5863,6 +6159,17 @@
"randomatic": "1.1.7",
"repeat-element": "1.1.2",
"repeat-string": "1.6.1"
},
"dependencies": {
"isobject": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
"integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
"dev": true,
"requires": {
"isarray": "1.0.0"
}
}
}
},
"finalhandler": {
@ -7043,6 +7350,11 @@
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz",
"integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U="
},
"get-own-enumerable-property-symbols": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-1.0.1.tgz",
"integrity": "sha1-8dTjrRQC4DmJjlbR6bmqkkwm5IQ="
},
"get-pkg-repo": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz",
@ -8522,8 +8834,7 @@
"is-obj": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
"integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=",
"dev": true
"integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8="
},
"is-path-cwd": {
"version": "1.0.0",
@ -8559,17 +8870,8 @@
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
"integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
"dev": true,
"requires": {
"isobject": "3.0.1"
},
"dependencies": {
"isobject": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
"integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",
"dev": true
}
}
},
"is-png": {
@ -8619,8 +8921,7 @@
"is-regexp": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz",
"integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=",
"dev": true
"integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk="
},
"is-relative": {
"version": "0.1.3",
@ -8731,13 +9032,9 @@
"dev": true
},
"isobject": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
"integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
"dev": true,
"requires": {
"isarray": "1.0.0"
}
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
"integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8="
},
"isomorphic-fetch": {
"version": "2.2.1",
@ -10855,6 +11152,49 @@
"integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=",
"dev": true
},
"oo7": {
"version": "0.5.3",
"resolved": "https://registry.npmjs.org/oo7/-/oo7-0.5.3.tgz",
"integrity": "sha1-9NrJBBivXOQcTAYPRMAVX7ZDa+Q="
},
"oo7-parity": {
"version": "0.6.8",
"resolved": "https://registry.npmjs.org/oo7-parity/-/oo7-parity-0.6.8.tgz",
"integrity": "sha1-xzluhPMzPG8L/coRO8sAG1zKhaY=",
"requires": {
"@parity/parity.js": "1.8.7",
"bignumber.js": "4.0.2",
"oo7": "0.5.4"
},
"dependencies": {
"bignumber.js": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-4.0.2.tgz",
"integrity": "sha1-LR3DfuWWiGfs6pC22k0W5oYI0h0="
},
"oo7": {
"version": "0.5.4",
"resolved": "https://registry.npmjs.org/oo7/-/oo7-0.5.4.tgz",
"integrity": "sha1-ERZHvSGFxz8Fn/jp9gKjHDsh6K0="
}
}
},
"oo7-react": {
"version": "0.4.5",
"resolved": "https://registry.npmjs.org/oo7-react/-/oo7-react-0.4.5.tgz",
"integrity": "sha1-kn/Onjjwn2iWlhooYhFIGrdvZZ8=",
"requires": {
"oo7": "0.5.4",
"react": "15.6.1"
},
"dependencies": {
"oo7": {
"version": "0.5.4",
"resolved": "https://registry.npmjs.org/oo7/-/oo7-0.5.4.tgz",
"integrity": "sha1-ERZHvSGFxz8Fn/jp9gKjHDsh6K0="
}
}
},
"opn": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/opn/-/opn-4.0.2.tgz",
@ -11028,6 +11368,61 @@
"no-case": "2.3.1"
}
},
"parity-reactive-ui": {
"version": "0.4.5",
"resolved": "https://registry.npmjs.org/parity-reactive-ui/-/parity-reactive-ui-0.4.5.tgz",
"integrity": "sha1-ravl0YV24B9iFSZP9LfbBUktnr8=",
"requires": {
"bignumber.js": "4.0.2",
"blockies": "0.0.2",
"oo7": "0.5.3",
"oo7-parity": "0.6.8",
"oo7-react": "0.4.5",
"prop-types": "15.5.10",
"react": "15.6.1",
"react-dom": "15.6.1",
"semantic-ui-css": "2.2.11",
"semantic-ui-react": "0.68.5"
},
"dependencies": {
"babel-runtime": {
"version": "6.25.0",
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.25.0.tgz",
"integrity": "sha1-M7mOql1IK7AajRqmtDetKwGuxBw=",
"requires": {
"core-js": "2.4.1",
"regenerator-runtime": "0.10.5"
}
},
"bignumber.js": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-4.0.2.tgz",
"integrity": "sha1-LR3DfuWWiGfs6pC22k0W5oYI0h0="
},
"semantic-ui-react": {
"version": "0.68.5",
"resolved": "https://registry.npmjs.org/semantic-ui-react/-/semantic-ui-react-0.68.5.tgz",
"integrity": "sha1-F5u4nDh/gRcCbKAfboSQ2x/Y5xM=",
"requires": {
"babel-runtime": "6.25.0",
"classnames": "2.2.5",
"debug": "2.6.8",
"lodash": "4.17.2",
"prop-types": "15.5.8"
},
"dependencies": {
"prop-types": {
"version": "15.5.8",
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.5.8.tgz",
"integrity": "sha1-a3suFBCDvjjIWVqlH8VXdccZk5Q=",
"requires": {
"fbjs": "0.8.14"
}
}
}
}
}
},
"parse-asn1": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.0.tgz",
@ -11176,6 +11571,11 @@
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
"integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
},
"phoneformat.js": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/phoneformat.js/-/phoneformat.js-1.0.3.tgz",
"integrity": "sha1-Eb40dOdkdFQP43NMwz8aZYQdX4c="
},
"pify": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
@ -12533,24 +12933,22 @@
}
},
"react-element-to-jsx-string": {
"version": "5.0.7",
"resolved": "https://registry.npmjs.org/react-element-to-jsx-string/-/react-element-to-jsx-string-5.0.7.tgz",
"integrity": "sha1-xmOkgAqccSEVwNhRnLAhWkah8PI=",
"dev": true,
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/react-element-to-jsx-string/-/react-element-to-jsx-string-6.0.0.tgz",
"integrity": "sha1-8sFRR27o3YF4ke01K+Ss6fs2McI=",
"requires": {
"collapse-white-space": "1.0.3",
"is-plain-object": "2.0.4",
"lodash": "4.17.4",
"sortobject": "1.1.1",
"stringify-object": "2.4.0",
"stringify-object": "3.2.0",
"traverse": "0.6.6"
},
"dependencies": {
"lodash": {
"version": "4.17.4",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
"integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=",
"dev": true
"integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4="
}
}
},
@ -13598,7 +13996,6 @@
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/serviceworker-webpack-plugin/-/serviceworker-webpack-plugin-0.2.0.tgz",
"integrity": "sha1-beneyC7RRMdUxvFbND57h2SsWyg=",
"optional": true,
"requires": {
"minimatch": "3.0.4"
}
@ -13820,7 +14217,6 @@
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/sortobject/-/sortobject-1.1.1.tgz",
"integrity": "sha1-T2ldTUTtCkwGSCw0wlgqLc3CqzQ=",
"dev": true,
"requires": {
"editions": "1.3.3"
}
@ -14084,12 +14480,12 @@
"integrity": "sha1-q6Nt4I3O5qWjN9SbLqHaGyj8Ds8="
},
"stringify-object": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-2.4.0.tgz",
"integrity": "sha1-xi0RAj6yH+LZsIe+A5om3zsioJ0=",
"dev": true,
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.2.0.tgz",
"integrity": "sha1-lDcKE15BvASDWIE7+ZSB8TFcaqY=",
"requires": {
"is-plain-obj": "1.1.0",
"get-own-enumerable-property-symbols": "1.0.1",
"is-obj": "1.0.1",
"is-regexp": "1.0.0"
}
},
@ -14811,8 +15207,7 @@
"traverse": {
"version": "0.6.6",
"resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz",
"integrity": "sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc=",
"dev": true
"integrity": "sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc="
},
"trim-newlines": {
"version": "1.0.0",

View File

@ -152,10 +152,13 @@
"yargs": "6.6.0"
},
"dependencies": {
"@parity/api": "paritytech/js-api#ade4a6750292a2918676039ea53eea20c4c728bc",
"@parity/dapp-accounts": "paritytech/dapp-accounts#c5f44ddc22427fc27ed919a93d3a7c362f250c61",
"@parity/shared": "paritytech/js-shared#32d6709cb2ee267553aa4292a482cd787af3df81",
"@parity/ui": "paritytech/js-ui#037782bd16e8abf1c169143aa61749a44b94489b",
"@parity/api": "paritytech/js-api",
"@parity/dapp-account": "paritytech/dapp-account",
"@parity/dapp-accounts": "paritytech/dapp-accounts",
"@parity/dapp-address": "paritytech/dapp-address",
"@parity/dapp-githubhint": "paritytech/dapp-githubhint",
"@parity/shared": "paritytech/js-shared",
"@parity/ui": "paritytech/js-ui",
"es6-error": "4.0.0",
"es6-promise": "4.0.5",
"flat": "2.0.1",

View File

@ -16,6 +16,7 @@
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
const Api = require('@parity/api');
const fs = require('fs');
const path = require('path');
const flatten = require('lodash.flatten');
// const ReactIntlAggregatePlugin = require('react-intl-aggregate-webpack-plugin');
@ -202,26 +203,34 @@ module.exports = {
new CopyWebpackPlugin(
flatten([
{
from: './error_pages.css',
from: path.join(__dirname, '../src/error_pages.css'),
to: 'styles.css'
},
flatten(
DAPPS_ALL.map((dapp) => {
const destination = Api.util.isHex(dapp.id)
? dapp.id
: Api.util.sha3(dapp.url);
DAPPS_ALL
.map((dapp) => {
const dir = path.join(__dirname, '../node_modules', dapp.package);
return [
{
from: `../node_modules/${dapp.package}/dist`,
to: `dapps/${destination}/dist/`
},
{
from: `../node_modules/${dapp.package}/index.html`,
to: `dapps/${destination}/`
if (!fs.existsSync(path.join(dir, 'dist'))) {
return null;
}
];
})
const destination = Api.util.isHex(dapp.id)
? dapp.id
: Api.util.sha3(dapp.url);
return [
{
from: path.join(dir, 'dist'),
to: `dapps/${destination}/dist/`
},
{
from: path.join(dir, 'index.html'),
to: `dapps/${destination}/`
}
];
})
.filter((copy) => copy)
)
]),
{}