From 49fdd23d5890f3c1f48e42283e815e7be48db305 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Fri, 21 Jul 2017 15:46:53 +0200 Subject: [PATCH] Ui 2 move to packages/* (#6113) * Move secureApi to shell * Extract isTestnet test * Use mobx + subscriptions for status * Re-add status indicator * Add lerna * Move intial packages to js/packages * Move 3rdparty/{email,sms}-verification to correct location * Move package.json & README to library src * Move tests for library packages * Move views & dapps to packages * Move i18n to root * Move shell to actual src (main app) * Remove ~ references * Change ~ to root (explicit imports) * Finalise convert of ~ * Move views into dapps as well * Move dapps to packages/ * Fix references * Update css * Update test spec locations * Update tests * Case fix * Skip flakey tests * Update enzyme * Skip previously ignored tests * Allow empty api for hw * Re-add theme for embed --- js/{src => }/i18n/_default/account.js | 0 js/{src => }/i18n/_default/accounts.js | 0 js/{src => }/i18n/_default/addAddress.js | 0 js/{src => }/i18n/_default/addContract.js | 0 js/{src => }/i18n/_default/address.js | 0 js/{src => }/i18n/_default/addressSelect.js | 0 js/{src => }/i18n/_default/addresses.js | 0 js/{src => }/i18n/_default/application.js | 0 js/{src => }/i18n/_default/connection.js | 0 js/{src => }/i18n/_default/contract.js | 0 js/{src => }/i18n/_default/contracts.js | 0 js/{src => }/i18n/_default/createAccount.js | 0 js/{src => }/i18n/_default/createWallet.js | 0 js/{src => }/i18n/_default/dapp.js | 0 js/{src => }/i18n/_default/dapps.js | 0 js/{src => }/i18n/_default/deleteAccount.js | 0 js/{src => }/i18n/_default/deployContract.js | 0 js/{src => }/i18n/_default/details_windows.js | 0 js/{src => }/i18n/_default/editMeta.js | 0 js/{src => }/i18n/_default/errors.js | 0 js/{src => }/i18n/_default/executeContract.js | 0 js/{src => }/i18n/_default/extension.js | 0 js/{src => }/i18n/_default/faucet.js | 0 js/{src => }/i18n/_default/firstRun.js | 0 js/{src => }/i18n/_default/home.js | 0 js/{src => }/i18n/_default/index.js | 0 js/{src => }/i18n/_default/loadContract.js | 0 js/{src => }/i18n/_default/parityBar.js | 0 js/{src => }/i18n/_default/passwordChange.js | 0 js/{src => }/i18n/_default/saveContract.js | 0 js/{src => }/i18n/_default/settings.js | 0 js/{src => }/i18n/_default/shapeshift.js | 0 js/{src => }/i18n/_default/signer.js | 0 js/{src => }/i18n/_default/status.js | 0 js/{src => }/i18n/_default/tabBar.js | 0 js/{src => }/i18n/_default/transfer.js | 0 js/{src => }/i18n/_default/txEditor.js | 0 js/{src => }/i18n/_default/ui.js | 0 js/{src => }/i18n/_default/upgradeParity.js | 0 js/{src => }/i18n/_default/vaults.js | 0 js/{src => }/i18n/_default/verification.js | 0 js/{src => }/i18n/_default/wallet.js | 0 js/{src => }/i18n/_default/walletSettings.js | 0 js/{src => }/i18n/_default/web.js | 0 js/{src => }/i18n/_default/writeContract.js | 0 js/{src => }/i18n/constants.js | 0 js/{src => }/i18n/de/index.js | 0 js/{src => }/i18n/de/settings.js | 0 js/{src => }/i18n/en/index.js | 0 js/{src => }/i18n/en/settings.js | 0 js/{src => }/i18n/index.js | 0 js/{src => }/i18n/languages.js | 0 js/{src => }/i18n/languages.spec.js | 0 js/{src => }/i18n/nl/account.js | 0 js/{src => }/i18n/nl/accounts.js | 0 js/{src => }/i18n/nl/addAddress.js | 0 js/{src => }/i18n/nl/addContract.js | 0 js/{src => }/i18n/nl/address.js | 0 js/{src => }/i18n/nl/addressSelect.js | 0 js/{src => }/i18n/nl/addresses.js | 0 js/{src => }/i18n/nl/application.js | 0 js/{src => }/i18n/nl/connection.js | 0 js/{src => }/i18n/nl/contract.js | 0 js/{src => }/i18n/nl/contracts.js | 0 js/{src => }/i18n/nl/createAccount.js | 0 js/{src => }/i18n/nl/createWallet.js | 0 js/{src => }/i18n/nl/dapp.js | 0 js/{src => }/i18n/nl/dapps.js | 0 js/{src => }/i18n/nl/deleteAccount.js | 0 js/{src => }/i18n/nl/deployContract.js | 0 js/{src => }/i18n/nl/details_windows.js | 0 js/{src => }/i18n/nl/editMeta.js | 0 js/{src => }/i18n/nl/errors.js | 0 js/{src => }/i18n/nl/executeContract.js | 0 js/{src => }/i18n/nl/extension.js | 0 js/{src => }/i18n/nl/faucet.js | 0 js/{src => }/i18n/nl/firstRun.js | 0 js/{src => }/i18n/nl/home.js | 0 js/{src => }/i18n/nl/index.js | 0 js/{src => }/i18n/nl/loadContract.js | 0 js/{src => }/i18n/nl/parityBar.js | 0 js/{src => }/i18n/nl/passwordChange.js | 0 js/{src => }/i18n/nl/saveContract.js | 0 js/{src => }/i18n/nl/settings.js | 0 js/{src => }/i18n/nl/shapeshift.js | 0 js/{src => }/i18n/nl/signer.js | 0 js/{src => }/i18n/nl/status.js | 0 js/{src => }/i18n/nl/tabBar.js | 0 js/{src => }/i18n/nl/transfer.js | 0 js/{src => }/i18n/nl/txEditor.js | 0 js/{src => }/i18n/nl/ui.js | 0 js/{src => }/i18n/nl/upgradeParity.js | 0 js/{src => }/i18n/nl/vaults.js | 0 js/{src => }/i18n/nl/verification.js | 0 js/{src => }/i18n/nl/wallet.js | 0 js/{src => }/i18n/nl/walletSettings.js | 0 js/{src => }/i18n/nl/web.js | 0 js/{src => }/i18n/nl/writeContract.js | 0 js/{src => }/i18n/store.js | 0 js/{src => }/i18n/store.spec.js | 0 js/{src => }/i18n/zh-Hant-TW/account.js | 0 js/{src => }/i18n/zh-Hant-TW/accounts.js | 0 js/{src => }/i18n/zh-Hant-TW/addAddress.js | 0 js/{src => }/i18n/zh-Hant-TW/addContract.js | 0 js/{src => }/i18n/zh-Hant-TW/address.js | 0 js/{src => }/i18n/zh-Hant-TW/addressSelect.js | 0 js/{src => }/i18n/zh-Hant-TW/addresses.js | 0 js/{src => }/i18n/zh-Hant-TW/application.js | 0 js/{src => }/i18n/zh-Hant-TW/connection.js | 0 js/{src => }/i18n/zh-Hant-TW/contract.js | 0 js/{src => }/i18n/zh-Hant-TW/contracts.js | 0 js/{src => }/i18n/zh-Hant-TW/createAccount.js | 0 js/{src => }/i18n/zh-Hant-TW/createWallet.js | 0 js/{src => }/i18n/zh-Hant-TW/dapp.js | 0 js/{src => }/i18n/zh-Hant-TW/dapps.js | 0 js/{src => }/i18n/zh-Hant-TW/deleteAccount.js | 0 .../i18n/zh-Hant-TW/deployContract.js | 0 .../i18n/zh-Hant-TW/details_windows.js | 0 js/{src => }/i18n/zh-Hant-TW/editMeta.js | 0 js/{src => }/i18n/zh-Hant-TW/errors.js | 0 .../i18n/zh-Hant-TW/executeContract.js | 0 js/{src => }/i18n/zh-Hant-TW/extension.js | 0 js/{src => }/i18n/zh-Hant-TW/faucet.js | 0 js/{src => }/i18n/zh-Hant-TW/firstRun.js | 0 js/{src => }/i18n/zh-Hant-TW/home.js | 0 js/{src => }/i18n/zh-Hant-TW/index.js | 0 js/{src => }/i18n/zh-Hant-TW/loadContract.js | 0 js/{src => }/i18n/zh-Hant-TW/parityBar.js | 0 .../i18n/zh-Hant-TW/passwordChange.js | 0 js/{src => }/i18n/zh-Hant-TW/saveContract.js | 0 js/{src => }/i18n/zh-Hant-TW/settings.js | 0 js/{src => }/i18n/zh-Hant-TW/shapeshift.js | 0 js/{src => }/i18n/zh-Hant-TW/signer.js | 0 js/{src => }/i18n/zh-Hant-TW/status.js | 0 js/{src => }/i18n/zh-Hant-TW/tabBar.js | 0 js/{src => }/i18n/zh-Hant-TW/transfer.js | 0 js/{src => }/i18n/zh-Hant-TW/txEditor.js | 0 js/{src => }/i18n/zh-Hant-TW/ui.js | 0 js/{src => }/i18n/zh-Hant-TW/upgradeParity.js | 0 js/{src => }/i18n/zh-Hant-TW/vaults.js | 0 js/{src => }/i18n/zh-Hant-TW/verification.js | 0 js/{src => }/i18n/zh-Hant-TW/wallet.js | 0 .../i18n/zh-Hant-TW/walletSettings.js | 0 js/{src => }/i18n/zh-Hant-TW/web.js | 0 js/{src => }/i18n/zh-Hant-TW/writeContract.js | 0 js/{src => }/i18n/zh/account.js | 0 js/{src => }/i18n/zh/accounts.js | 0 js/{src => }/i18n/zh/addAddress.js | 0 js/{src => }/i18n/zh/addContract.js | 0 js/{src => }/i18n/zh/address.js | 0 js/{src => }/i18n/zh/addressSelect.js | 0 js/{src => }/i18n/zh/addresses.js | 0 js/{src => }/i18n/zh/application.js | 0 js/{src => }/i18n/zh/connection.js | 0 js/{src => }/i18n/zh/contract.js | 0 js/{src => }/i18n/zh/contracts.js | 0 js/{src => }/i18n/zh/createAccount.js | 0 js/{src => }/i18n/zh/createWallet.js | 0 js/{src => }/i18n/zh/dapp.js | 0 js/{src => }/i18n/zh/dapps.js | 0 js/{src => }/i18n/zh/deleteAccount.js | 0 js/{src => }/i18n/zh/deployContract.js | 0 js/{src => }/i18n/zh/details_windows.js | 0 js/{src => }/i18n/zh/editMeta.js | 0 js/{src => }/i18n/zh/errors.js | 0 js/{src => }/i18n/zh/executeContract.js | 0 js/{src => }/i18n/zh/extension.js | 0 js/{src => }/i18n/zh/faucet.js | 0 js/{src => }/i18n/zh/firstRun.js | 0 js/{src => }/i18n/zh/home.js | 0 js/{src => }/i18n/zh/index.js | 0 js/{src => }/i18n/zh/loadContract.js | 0 js/{src => }/i18n/zh/parityBar.js | 0 js/{src => }/i18n/zh/passwordChange.js | 0 js/{src => }/i18n/zh/saveContract.js | 0 js/{src => }/i18n/zh/settings.js | 0 js/{src => }/i18n/zh/shapeshift.js | 0 js/{src => }/i18n/zh/signer.js | 0 js/{src => }/i18n/zh/status.js | 0 js/{src => }/i18n/zh/tabBar.js | 0 js/{src => }/i18n/zh/transfer.js | 0 js/{src => }/i18n/zh/txEditor.js | 0 js/{src => }/i18n/zh/ui.js | 0 js/{src => }/i18n/zh/upgradeParity.js | 0 js/{src => }/i18n/zh/vaults.js | 0 js/{src => }/i18n/zh/verification.js | 0 js/{src => }/i18n/zh/wallet.js | 0 js/{src => }/i18n/zh/walletSettings.js | 0 js/{src => }/i18n/zh/web.js | 0 js/{src => }/i18n/zh/writeContract.js | 0 js/lerna.json | 7 + js/npm/jsonrpc/README.md | 5 - js/npm/parity/package.json | 33 - js/package-lock.json | 1780 ++++++++++++++--- js/package.json | 27 +- js/{src => packages}/abi/README.md | 0 js/{src => packages}/abi/abi.js | 0 .../abi/decoder/bytesTaken.js | 0 .../abi/decoder/bytesTaken.spec.js | 0 .../abi/decoder/decodeResult.js | 0 .../abi/decoder/decodeResult.spec.js | 0 js/{src => packages}/abi/decoder/decoder.js | 0 .../abi/decoder/decoder.spec.js | 0 js/{src => packages}/abi/decoder/index.js | 0 js/{src => packages}/abi/encoder/encoder.js | 0 .../abi/encoder/encoder.spec.js | 0 js/{src => packages}/abi/encoder/index.js | 0 js/{src => packages}/abi/encoder/mediate.js | 0 .../abi/encoder/mediate.spec.js | 0 js/{src => packages}/abi/index.js | 0 js/{src => packages}/abi/package.json | 0 js/{src => packages}/abi/spec/constructor.js | 0 .../abi/spec/constructor.spec.js | 0 .../abi/spec/event/decodedLog.js | 0 .../abi/spec/event/decodedLog.spec.js | 0 .../abi/spec/event/decodedLogParam.js | 0 .../abi/spec/event/decodedLogParam.spec.js | 0 js/{src => packages}/abi/spec/event/event.js | 0 .../abi/spec/event/event.spec.js | 0 .../abi/spec/event/eventParam.js | 0 .../abi/spec/event/eventParam.spec.js | 0 js/{src => packages}/abi/spec/event/index.js | 0 js/{src => packages}/abi/spec/function.js | 0 .../abi/spec/function.spec.js | 0 js/{src => packages}/abi/spec/index.js | 0 js/{src => packages}/abi/spec/interface.js | 0 .../abi/spec/interface.spec.js | 0 js/{src => packages}/abi/spec/param.js | 0 js/{src => packages}/abi/spec/param.spec.js | 0 .../abi/spec/paramType/format.js | 0 .../abi/spec/paramType/format.spec.js | 0 .../abi/spec/paramType/index.js | 0 .../abi/spec/paramType/paramType.js | 0 .../abi/spec/paramType/paramType.spec.js | 0 .../abi/spec/paramType/types.js | 0 js/{src => packages}/abi/token/index.js | 0 js/{src => packages}/abi/token/token.js | 0 js/{src => packages}/abi/token/token.spec.js | 0 js/{src => packages}/abi/util/address.js | 0 js/{src => packages}/abi/util/address.spec.js | 0 js/{src => packages}/abi/util/pad.js | 0 js/{src => packages}/abi/util/pad.spec.js | 0 js/{src => packages}/abi/util/signature.js | 0 .../abi/util/signature.spec.js | 0 js/{src => packages}/abi/util/slice.js | 0 js/{src => packages}/abi/util/slice.spec.js | 0 js/{src => packages}/abi/util/sliceAs.js | 0 js/{src => packages}/abi/util/sliceAs.spec.js | 0 js/{src => packages}/abi/util/types.js | 0 js/{src => packages}/abi/util/types.spec.js | 0 js/{npm/parity => packages/api}/README.md | 0 js/{src => packages}/api/api.js | 2 +- js/{src => packages}/api/api.spec.js | 0 js/{src => packages}/api/contract/contract.js | 0 .../api/contract/contract.spec.js | 0 js/{src => packages}/api/contract/index.js | 0 js/{src => packages}/api/format/input.js | 0 js/{src => packages}/api/format/input.spec.js | 0 js/{src => packages}/api/format/output.js | 0 .../api/format/output.spec.js | 0 js/{src => packages}/api/index.js | 0 .../api/library.js} | 4 +- .../api/local/accounts/account.js | 0 .../api/local/accounts/accounts.js | 0 .../api/local/accounts/index.js | 0 .../api/local/ethkey/ethkey.js | 0 .../api/local/ethkey/ethkey.wasm.js | 0 .../api/local/ethkey/index.js | 0 .../api/local/ethkey/index.spec.js | 0 .../api/local/ethkey/worker.js | 2 +- .../api/local/ethkey/workerPool.js | 0 js/{src => packages}/api/local/index.js | 0 .../api/local/localAccountsMiddleware.js | 0 .../api/local/localAccountsMiddleware.spec.js | 0 .../api/local/transactions.js | 0 .../api/local/transactions.spec.js | 0 js/{src => packages}/api/package.json | 0 js/{src => packages}/api/provider/http.js | 0 js/{src => packages}/api/provider/index.js | 0 .../api/provider/postMessage.js | 0 js/{src => packages}/api/provider/promise.js | 0 js/{src => packages}/api/provider/wsSecure.js | 0 js/{src => packages}/api/pubsub/eth/eth.js | 0 js/{src => packages}/api/pubsub/eth/index.js | 0 js/{src => packages}/api/pubsub/index.js | 0 js/{src => packages}/api/pubsub/net/index.js | 0 js/{src => packages}/api/pubsub/net/net.js | 0 .../api/pubsub/parity/index.js | 0 .../api/pubsub/parity/parity.js | 0 js/{src => packages}/api/pubsub/pubsub.js | 0 .../api/pubsub/pubsub.spec.js | 0 js/{src => packages}/api/pubsub/pubsubBase.js | 0 js/{src => packages}/api/rpc/db/db.js | 0 js/{src => packages}/api/rpc/db/db.spec.js | 0 js/{src => packages}/api/rpc/db/index.js | 0 js/{src => packages}/api/rpc/eth/eth.e2e.js | 0 js/{src => packages}/api/rpc/eth/eth.js | 0 js/{src => packages}/api/rpc/eth/eth.spec.js | 0 js/{src => packages}/api/rpc/eth/index.js | 0 js/{src => packages}/api/rpc/index.js | 0 js/{src => packages}/api/rpc/net/index.js | 0 js/{src => packages}/api/rpc/net/net.e2e.js | 0 js/{src => packages}/api/rpc/net/net.js | 0 js/{src => packages}/api/rpc/net/net.spec.js | 0 js/{src => packages}/api/rpc/parity/index.js | 0 .../api/rpc/parity/parity.e2e.js | 0 js/{src => packages}/api/rpc/parity/parity.js | 0 .../api/rpc/parity/parity.spec.js | 0 .../api/rpc/personal/index.js | 0 .../api/rpc/personal/personal.e2e.js | 0 .../api/rpc/personal/personal.js | 0 .../api/rpc/personal/personal.spec.js | 0 js/{src => packages}/api/rpc/shell/index.js | 0 js/{src => packages}/api/rpc/shell/shell.js | 0 js/{src => packages}/api/rpc/shh/index.js | 0 js/{src => packages}/api/rpc/shh/shh.js | 0 js/{src => packages}/api/rpc/signer/index.js | 0 js/{src => packages}/api/rpc/signer/signer.js | 0 js/{src => packages}/api/rpc/trace/index.js | 0 .../api/rpc/trace/trace.e2e.js | 0 js/{src => packages}/api/rpc/trace/trace.js | 0 .../api/rpc/trace/trace.spec.js | 0 js/{src => packages}/api/rpc/web3/index.js | 0 js/{src => packages}/api/rpc/web3/web3.e2e.js | 0 js/{src => packages}/api/rpc/web3/web3.js | 0 .../api/rpc/web3/web3.spec.js | 0 js/{src => packages}/api/subscriptions/eth.js | 0 .../api/subscriptions/eth.spec.js | 0 .../api/subscriptions/index.js | 0 .../api/subscriptions/logging.js | 0 .../api/subscriptions/logging.spec.js | 0 .../api/subscriptions/manager.js | 0 .../api/subscriptions/manager.spec.js | 0 .../api/subscriptions/personal.js | 0 .../api/subscriptions/personal.spec.js | 0 .../api/subscriptions/signer.js | 0 js/{src => packages}/api/transport/error.js | 0 .../api/transport/http/http.e2e.js | 0 .../api/transport/http/http.js | 0 .../api/transport/http/http.spec.js | 0 .../api/transport/http/index.js | 0 js/{src => packages}/api/transport/index.js | 0 .../api/transport/jsonRpcBase.js | 0 .../api/transport/jsonRpcBase.spec.js | 0 .../api/transport/middleware.js | 0 .../api/transport/middleware.spec.js | 0 .../api/transport/wsSecure/index.js | 0 .../api/transport/wsSecure/wsSecure.e2e.js | 0 .../api/transport/wsSecure/wsSecure.js | 0 .../api/transport/wsSecure/wsSecure.spec.js | 0 js/{src => packages}/api/util/decode.js | 0 js/{src => packages}/api/util/decode.spec.js | 0 js/{src => packages}/api/util/encode.js | 0 js/{src => packages}/api/util/encode.spec.js | 0 js/{src => packages}/api/util/format.js | 0 js/{src => packages}/api/util/format.spec.js | 0 js/{src => packages}/api/util/identity.js | 0 js/{src => packages}/api/util/index.js | 0 js/{src => packages}/api/util/sha3.js | 0 js/{src => packages}/api/util/sha3.spec.js | 0 js/{src => packages}/api/util/types.js | 0 js/{src => packages}/api/util/types.spec.js | 0 js/{src => packages}/api/util/wei.js | 0 js/{src => packages}/api/util/wei.spec.js | 0 .../DeleteAccount/deleteAccount.css | 0 .../DeleteAccount/deleteAccount.js | 0 .../DeleteAccount/deleteAccount.spec.js | 0 .../dapp-account}/DeleteAccount/index.js | 0 .../dapp-account}/EditMeta/editMeta.js | 2 +- .../dapp-account}/EditMeta/editMeta.spec.js | 0 .../dapp-account}/EditMeta/editMeta.test.js | 0 .../dapp-account}/EditMeta/index.js | 0 .../dapp-account}/EditMeta/store.js | 0 .../dapp-account}/EditMeta/store.spec.js | 0 .../dapp-account}/Faucet/faucet.js | 2 +- .../dapp-account}/Faucet/index.js | 0 .../dapp-account}/Faucet/store.js | 0 .../dapp-account}/Header/header.css | 0 .../dapp-account}/Header/header.js | 0 .../dapp-account}/Header/header.spec.js | 0 .../dapp-account}/Header/index.js | 0 .../dapp-account}/PasswordManager/index.js | 0 .../PasswordManager/passwordManager.css | 0 .../PasswordManager/passwordManager.js | 0 .../PasswordManager/passwordManager.spec.js | 0 .../PasswordManager/passwordManager.test.js | 0 .../dapp-account}/PasswordManager/store.js | 0 .../PasswordManager/store.spec.js | 0 .../awaitingDepositStep.js | 0 .../awaitingDepositStep.spec.js | 0 .../Shapeshift/AwaitingDepositStep/index.js | 0 .../awaitingExchangeStep.js | 0 .../awaitingExchangeStep.spec.js | 0 .../Shapeshift/AwaitingExchangeStep/index.js | 0 .../Shapeshift/CompletedStep/completedStep.js | 0 .../CompletedStep/completedStep.spec.js | 0 .../Shapeshift/CompletedStep/index.js | 0 .../Shapeshift/ErrorStep/errorStep.js | 0 .../Shapeshift/ErrorStep/errorStep.spec.js | 0 .../Shapeshift/ErrorStep/index.js | 0 .../Shapeshift/OptionsStep/index.js | 0 .../Shapeshift/OptionsStep/optionsStep.css | 0 .../Shapeshift/OptionsStep/optionsStep.js | 0 .../OptionsStep/optionsSteps.spec.js | 0 .../dapp-account}/Shapeshift/Price/index.js | 0 .../dapp-account}/Shapeshift/Price/price.js | 0 .../Shapeshift/Price/price.spec.js | 0 .../dapp-account}/Shapeshift/Value/index.js | 0 .../dapp-account}/Shapeshift/Value/value.css | 0 .../dapp-account}/Shapeshift/Value/value.js | 0 .../Shapeshift/Value/value.spec.js | 0 .../dapp-account}/Shapeshift/index.js | 0 .../dapp-account}/Shapeshift/shapeshift.css | 0 .../dapp-account}/Shapeshift/shapeshift.js | 0 .../Shapeshift/shapeshift.spec.js | 0 .../dapp-account}/Shapeshift/store.js | 2 +- .../dapp-account}/Shapeshift/store.spec.js | 0 .../dapp-account}/Transactions/index.js | 0 .../dapp-account}/Transactions/store.js | 2 +- .../dapp-account}/Transactions/store.spec.js | 2 +- .../Transactions/transactions.css | 0 .../Transactions/transactions.js | 0 .../Transactions/transactions.spec.js | 0 .../Transactions/transactions.test.js | 0 .../dapp-account}/Transfer/Details/details.js | 0 .../dapp-account}/Transfer/Details/index.js | 0 .../Transfer/Details/tokenSelect.js | 0 .../dapp-account}/Transfer/Extras/extras.js | 0 .../dapp-account}/Transfer/Extras/index.js | 0 .../dapp-account}/Transfer/errors.js | 0 .../dapp-account}/Transfer/index.js | 0 .../dapp-account}/Transfer/store.js | 0 .../dapp-account}/Transfer/transfer.css | 0 .../dapp-account}/Transfer/transfer.js | 0 .../dapp-account}/Verification/Done/done.css | 0 .../dapp-account}/Verification/Done/done.js | 0 .../dapp-account}/Verification/Done/index.js | 0 .../Verification/GatherData/gatherData.css | 0 .../Verification/GatherData/gatherData.js | 6 +- .../Verification/GatherData/index.js | 0 .../Verification/QueryCode/index.js | 0 .../Verification/QueryCode/queryCode.js | 0 .../Verification/SendConfirmation/index.js | 0 .../SendConfirmation/sendConfirmation.css | 0 .../SendConfirmation/sendConfirmation.js | 0 .../Verification/SendRequest/index.js | 0 .../Verification/SendRequest/sendRequest.css | 0 .../Verification/SendRequest/sendRequest.js | 0 .../dapp-account}/Verification/email-store.js | 2 +- .../Verification}/email-verification/index.js | 0 .../email-verification/terms-of-service.js | 0 .../Verification/how-it-works.js | 0 .../dapp-account}/Verification/index.js | 0 .../dapp-account}/Verification/sms-store.js | 2 +- .../Verification}/sms-verification/index.js | 0 .../sms-verification/terms-of-service.js | 0 .../dapp-account}/Verification/store.js | 0 .../Verification/verification.css | 0 .../Verification/verification.js | 0 .../dapp-account}/account.css | 0 .../dapp-account}/account.js | 4 +- .../dapp-account}/account.spec.js | 0 .../dapp-account}/account.test.js | 0 .../Account => packages/dapp-account}/api.js | 0 .../dapp-account}/index.js | 0 .../dapp-account}/package.json | 0 .../dapp-account}/store.js | 0 .../dapp-account}/store.spec.js | 0 .../AccountDetails/accountDetails.js | 0 .../AccountDetails/accountDetails.spec.js | 0 .../CreateAccount/AccountDetails/index.js | 0 .../AccountDetailsGeth/accountDetailsGeth.js | 0 .../accountDetailsGeth.spec.js | 0 .../CreateAccount/AccountDetailsGeth/index.js | 0 .../CreateAccount/ChangeVault/changeVault.js | 0 .../ChangeVault/changeVault.spec.js | 0 .../CreateAccount/ChangeVault/index.js | 0 .../CreationType/creationType.js | 0 .../CreationType/creationType.spec.js | 0 .../CreateAccount/CreationType/index.js | 0 .../CreateAccount/GethCard/gethCard.js | 0 .../CreateAccount/GethCard/index.js | 0 .../CreateAccount/NewAccount/index.js | 0 .../CreateAccount/NewAccount/newAccount.js | 0 .../NewAccount/newAccount.spec.js | 0 .../CreateAccount/NewGeth/index.js | 0 .../CreateAccount/NewGeth/newGeth.js | 0 .../CreateAccount/NewGeth/newGeth.spec.js | 0 .../CreateAccount/NewImport/index.js | 0 .../CreateAccount/NewImport/newImport.js | 0 .../CreateAccount/NewImport/newImport.spec.js | 0 .../CreateAccount/NewQr/index.js | 0 .../CreateAccount/NewQr/newQr.js | 0 .../CreateAccount/NewQr/newQr.spec.js | 0 .../CreateAccount/RawKey/index.js | 0 .../CreateAccount/RawKey/rawKey.js | 0 .../CreateAccount/RawKey/rawKey.spec.js | 0 .../CreateAccount/RecoveryPhrase/index.js | 0 .../RecoveryPhrase/recoveryPhrase.js | 0 .../RecoveryPhrase/recoveryPhrase.spec.js | 0 .../CreateAccount/TypeIcon/index.js | 0 .../CreateAccount/TypeIcon/typeIcon.js | 0 .../CreateAccount/createAccount.css | 0 .../CreateAccount/createAccount.js | 3 +- .../CreateAccount/createAccount.spec.js | 0 .../CreateAccount/createAccount.test.js | 2 +- .../dapp-accounts}/CreateAccount/errors.js | 0 .../dapp-accounts}/CreateAccount/index.js | 0 .../dapp-accounts}/CreateAccount/print.js | 0 .../CreateAccount/recoveryPage.ejs | 0 .../dapp-accounts}/CreateAccount/store.js | 0 .../CreateAccount/store.spec.js | 0 .../CreateWallet/WalletDetails/index.js | 0 .../WalletDetails/walletDetails.js | 0 .../WalletDetails/walletDetails.spec.js | 0 .../CreateWallet/WalletInfo/index.js | 0 .../CreateWallet/WalletInfo/walletInfo.js | 0 .../WalletInfo/walletInfo.spec.js | 0 .../CreateWallet/WalletType/index.js | 0 .../CreateWallet/WalletType/walletType.js | 0 .../WalletType/walletType.spec.js | 0 .../CreateWallet/createWallet.css | 0 .../CreateWallet/createWallet.js | 0 .../CreateWallet/createWallet.spec.js | 0 .../CreateWallet/createWallet.test.js | 0 .../CreateWallet/createWalletStore.js | 0 .../dapp-accounts}/CreateWallet/index.js | 0 .../ExportAccount/exportAccount.js | 0 .../ExportAccount/exportAccount.spec.js | 0 .../ExportAccount/exportInput/exportInput.js | 0 .../ExportAccount/exportInput/index.js | 0 .../ExportAccount/exportStore.js | 0 .../ExportAccount/exportStore.spec.js | 0 .../dapp-accounts}/ExportAccount/index.js | 0 .../dapp-accounts}/List/index.js | 0 .../dapp-accounts}/List/list.css | 0 .../dapp-accounts}/List/list.js | 0 .../dapp-accounts}/Summary/index.js | 0 .../dapp-accounts}/Summary/summary.js | 0 .../dapp-accounts}/accounts.css | 0 .../dapp-accounts}/accounts.js | 0 .../dapp-accounts}/accounts.spec.js | 0 .../dapp-accounts}/api.js | 0 .../dapp-accounts}/index.js | 0 .../dapp-accounts}/package.json | 0 .../dapp-address}/Delete/delete.js | 0 .../dapp-address}/Delete/index.js | 0 .../dapp-address}/address.css | 0 .../dapp-address}/address.js | 9 +- .../Address => packages/dapp-address}/api.js | 0 .../dapp-address}/index.js | 0 .../dapp-address}/package.json | 0 .../dapp-addresses}/AddAddress/addAddress.js | 0 .../AddAddress/addAddress.spec.js | 0 .../dapp-addresses}/AddAddress/index.js | 0 .../dapp-addresses}/AddAddress/store.js | 0 .../dapp-addresses}/AddAddress/store.spec.js | 0 .../dapp-addresses}/AddAddress/store.test.js | 0 .../dapp-addresses}/addresses.css | 0 .../dapp-addresses}/addresses.js | 5 +- .../dapp-addresses}/api.js | 0 .../dapp-addresses}/index.js | 0 .../dapp-addresses}/package.json | 0 .../Application/application.css | 0 .../Application/application.js | 0 .../dapp-chaindeploy}/Application/index.js | 0 .../dapp-chaindeploy}/Contract/contract.js | 0 .../dapp-chaindeploy}/Contract/index.js | 0 .../dapp-chaindeploy}/Dapp/dapp.js | 0 .../dapp-chaindeploy}/Dapp/index.js | 0 .../ListItem/Header/header.js | 0 .../ListItem}/Header/index.js | 0 .../dapp-chaindeploy}/ListItem/Icon/icon.js | 0 .../dapp-chaindeploy}/ListItem/Icon/index.js | 0 .../dapp-chaindeploy}/ListItem/Row/index.js | 0 .../dapp-chaindeploy}/ListItem/Row/row.js | 0 .../dapp-chaindeploy}/ListItem/index.js | 0 .../dapp-chaindeploy}/ListItem/listItem.css | 0 .../dapp-chaindeploy}/ListItem/listItem.js | 0 .../dapp-chaindeploy}/_dapps.js | 0 .../contracts/abi/jg-voting.json | 0 .../dapp-chaindeploy}/contracts/badgereg.js | 0 .../contracts/code/badgereg.json | 0 .../contracts/code/dappreg.json | 0 .../contracts/code/gavcoin.json | 0 .../contracts/code/githubhint.json | 0 .../contracts/code/jg-voting.json | 0 .../contracts/code/registry.json | 0 .../contracts/code/signaturereg.json | 0 .../contracts/code/tokendeploy.json | 0 .../contracts/code/tokenreg.json | 0 .../contracts/code/verifyEmail.json | 0 .../contracts/code/verifySms.json | 0 .../dapp-chaindeploy}/contracts/dappreg.js | 0 .../dapp-chaindeploy}/contracts/gavcoin.js | 0 .../dapp-chaindeploy}/contracts/githubhint.js | 0 .../dapp-chaindeploy}/contracts/index.js | 0 .../dapp-chaindeploy}/contracts/jg-voting.js | 0 .../dapp-chaindeploy}/contracts/registry.js | 0 .../contracts/signaturereg.js | 0 .../contracts/tokendeployMgr.js | 0 .../contracts/tokendeployReg.js | 0 .../dapp-chaindeploy}/contracts/tokenreg.js | 0 .../contracts/verifyEmail.js | 0 .../dapp-chaindeploy}/contracts/verifySms.js | 0 .../dapp-chaindeploy}/contracts/wallet.js | 0 .../dapp-chaindeploy}/dapps/console.js | 0 .../dapp-chaindeploy}/dapps/dappreg.js | 0 .../dapp-chaindeploy}/dapps/gavcoin.js | 0 .../dapp-chaindeploy}/dapps/githubhint.js | 0 .../dapp-chaindeploy}/dapps/index.js | 0 .../dapp-chaindeploy}/dapps/jg-voting.js | 0 .../dapp-chaindeploy}/dapps/jg-whenblock.js | 0 .../dapp-chaindeploy}/dapps/localtx.js | 0 .../dapp-chaindeploy}/dapps/registry.js | 0 .../dapp-chaindeploy}/dapps/signaturereg.js | 0 .../dapp-chaindeploy}/dapps/tokendeploy.js | 0 .../dapp-chaindeploy}/dapps/tokenreg.js | 0 .../dapp-chaindeploy}/dapps/web.js | 0 .../dapp-chaindeploy}/index.js | 2 +- .../dapp-chaindeploy}/parity.js | 0 .../dapp-chaindeploy}/store.js | 0 .../dapp-chaindeploy}/utils.js | 0 .../dapp-console}/Application/application.css | 0 .../dapp-console}/Application/application.js | 0 .../Application/application.store.js | 0 .../dapp-console}/Application/index.js | 0 .../Autocomplete/autocomplete.css | 0 .../Autocomplete/autocomplete.js | 0 .../Autocomplete/autocomplete.store.js | 0 .../dapp-console}/Autocomplete/index.js | 0 .../dapp-console}/Console/console.css | 0 .../dapp-console}/Console/console.js | 0 .../dapp-console}/Console/console.store.js | 0 .../dapp-console}/Console/index.js | 0 .../dapp-console}/Header/header.css | 0 .../dapp-console}/Header/header.js | 0 .../dapp-console}/Header/index.js | 0 .../dapp-console}/Input/index.js | 0 .../dapp-console}/Input/input.css | 0 .../dapp-console}/Input/input.js | 0 .../dapp-console}/Input/input.store.js | 0 .../dapp-console}/Settings/index.js | 0 .../dapp-console}/Settings/settings.css | 0 .../dapp-console}/Settings/settings.js | 0 .../dapp-console}/Settings/settings.store.js | 0 .../dapp-console}/Snippets/index.js | 0 .../dapp-console}/Snippets/snippets.css | 0 .../dapp-console}/Snippets/snippets.js | 0 .../dapp-console}/Snippets/snippets.store.js | 0 .../dapp-console}/Watches/index.js | 0 .../dapp-console}/Watches/watches.css | 0 .../dapp-console}/Watches/watches.js | 0 .../dapp-console}/Watches/watches.store.js | 0 .../dapp-console}/codemirror.css | 0 .../dapp-console}/index.js | 2 +- .../dapp-console}/parity.js | 0 .../dapp-console}/utils.js | 0 .../dapp-contract}/Events/Event/event.js | 3 +- .../dapp-contract/Events}/Event/index.js | 0 .../dapp-contract}/Events/events.js | 0 .../dapp-contract}/Events/index.js | 0 .../AdvancedStep/advancedStep.js | 0 .../ExecuteContract/AdvancedStep/index.js | 0 .../DetailsStep/detailsStep.js | 0 .../DetailsStep/detailsStep.spec.js | 0 .../ExecuteContract/DetailsStep/index.js | 0 .../ExecuteContract/executeContract.css | 0 .../ExecuteContract/executeContract.js | 0 .../ExecuteContract/executeContract.spec.js | 0 .../ExecuteContract/executeContract.test.js | 0 .../dapp-contract}/ExecuteContract/index.js | 0 .../dapp-contract}/Queries/index.js | 0 .../dapp-contract}/Queries/inputQuery.js | 0 .../dapp-contract}/Queries/queries.css | 0 .../dapp-contract}/Queries/queries.js | 0 .../dapp-contract}/api.js | 0 .../dapp-contract}/contract.css | 0 .../dapp-contract}/contract.js | 6 +- .../dapp-contract}/index.js | 0 .../dapp-contract}/package.json | 0 .../AddContract/addContract.css | 0 .../AddContract/addContract.js | 0 .../AddContract/addContract.spec.js | 0 .../AddContract/addContract.test.js | 0 .../dapp-contracts}/AddContract/index.js | 0 .../dapp-contracts}/AddContract/store.js | 0 .../dapp-contracts}/AddContract/store.spec.js | 0 .../dapp-contracts}/AddContract/types.js | 0 .../DeployContract/DetailsStep/detailsStep.js | 0 .../DeployContract/DetailsStep/index.js | 0 .../DeployContract/ParametersStep/index.js | 0 .../ParametersStep/parametersStep.js | 0 .../DeployContract/deployContract.css | 0 .../DeployContract/deployContract.js | 2 +- .../DeployContract/deployContract.spec.js | 0 .../dapp-contracts}/DeployContract/index.js | 0 .../dapp-contracts}/api.js | 0 .../dapp-contracts}/contracts.js | 2 +- .../dapp-contracts}/index.js | 0 .../dapp-contracts}/package.json | 0 .../dapp-dappAccounts}/api.js | 0 .../dapp-dappAccounts}/dappAccounts.js | 0 .../dapp-dappAccounts}/index.js | 0 .../dapp-dappAccounts}/package.json | 0 .../dapp-dappAccounts}/store.js | 0 .../dapp-dappMethods}/MethodCheck/index.js | 0 .../MethodCheck/methodCheck.js | 0 .../dapp-dappMethods}/api.js | 0 .../dapp-dappMethods}/dappMethods.css | 0 .../dapp-dappMethods}/dappMethods.js | 0 .../dapp-dappMethods}/index.js | 0 .../dapp-dappMethods}/package.json | 0 .../dapp-dappMethods}/store.js | 0 .../dapp-dappVisible}/api.js | 0 .../dapp-dappVisible}/dappVisible.css | 0 .../dapp-dappVisible}/dappVisible.js | 0 .../dapp-dappVisible}/index.js | 0 .../dapp-dappVisible}/package.json | 0 .../dapp-dappVisible}/store.js | 0 .../dapp-dappreg}/Application/application.css | 0 .../dapp-dappreg}/Application/application.js | 0 .../dapp-dappreg}/Application/index.js | 0 .../dapp-dappreg}/Button/button.css | 0 .../dapp-dappreg}/Button/button.js | 0 .../dapp-dappreg}/Button/index.js | 0 .../dapp-dappreg}/Card/card.css | 0 .../dapp-dappreg}/Card/card.js | 0 .../dapp-dappreg}/Card/index.js | 0 .../CreateDappCard/createDappCard.js | 0 .../dapp-dappreg}/CreateDappCard/index.js | 0 .../dapp-dappreg}/DappCard/dappCard.css | 0 .../dapp-dappreg}/DappCard/dappCard.js | 0 .../dapp-dappreg}/DappCard/index.js | 0 .../dapp-dappreg}/DappModal/dappModal.css | 0 .../dapp-dappreg}/DappModal/dappModal.js | 0 .../dapp-dappreg}/DappModal/index.js | 0 .../dapp-dappreg}/Dapps/dapps.css | 0 .../dapp-dappreg}/Dapps/dapps.js | 0 .../dapp-dappreg}/Dapps/index.js | 0 .../dapp-dappreg}/Input/index.js | 0 .../dapp-dappreg}/Input/input.css | 0 .../dapp-dappreg}/Input/input.js | 0 .../dapp-dappreg}/Modal/index.js | 0 .../dapp-dappreg}/Modal/modal.css | 0 .../dapp-dappreg}/Modal/modal.js | 0 .../dapp-dappreg}/ModalDelete/index.js | 0 .../dapp-dappreg}/ModalDelete/modalDelete.js | 0 .../dapp-dappreg}/ModalRegister/index.js | 0 .../ModalRegister/modalRegister.js | 0 .../dapp-dappreg}/ModalUpdate/index.js | 0 .../dapp-dappreg}/ModalUpdate/modalUpdate.js | 0 .../dapp-dappreg}/SelectAccount/index.js | 0 .../SelectAccount/selectAccount.js | 0 .../dapp-dappreg}/Transactions/index.js | 0 .../Transactions/transactions.css | 0 .../Transactions/transactions.js | 0 .../dapp-dappreg}/Warning/index.js | 0 .../dapp-dappreg}/Warning/warning.css | 0 .../dapp-dappreg}/Warning/warning.js | 0 .../dapp-dappreg}/_colors.css | 0 .../dapp-dappreg}/_utils.css | 0 .../dapp-dappreg}/dappStore.js | 0 .../dapp-dappreg}/dappsStore.js | 0 .../dapp-dappreg}/index.js | 6 +- .../dapp-dappreg}/parity.js | 0 .../dapp-dappreg}/utils.js | 0 .../dapp-dappreg}/utils.spec.js | 0 .../dapp-develop}/LoadContract/index.js | 0 .../LoadContract/loadContract.css | 0 .../LoadContract/loadContract.js | 0 .../LoadContract/loadContract.spec.js | 0 .../dapp-develop}/SaveContract/index.js | 0 .../SaveContract/saveContract.css | 0 .../SaveContract/saveContract.js | 0 .../dapp-develop}/api.js | 0 .../dapp-develop}/contractDevelop.css | 0 .../dapp-develop}/contractDevelop.js | 5 +- .../dapp-develop}/index.js | 0 .../dapp-develop}/package.json | 0 .../dapp-develop}/store.js | 0 .../Application/application.css | 0 .../Application/application.js | 0 .../dapp-githubhint}/Application/index.js | 0 .../dapp-githubhint}/Button/button.css | 0 .../dapp-githubhint}/Button/button.js | 0 .../dapp-githubhint}/Button/index.js | 0 .../dapp-githubhint}/Events/events.css | 0 .../dapp-githubhint}/Events/events.js | 0 .../dapp-githubhint}/Events/index.js | 0 .../dapp-githubhint}/Loading/index.js | 0 .../dapp-githubhint}/Loading/loading.css | 0 .../dapp-githubhint}/Loading/loading.js | 0 .../dapp-githubhint}/index.js | 2 +- .../dapp-githubhint}/parity.js | 0 .../dapp-githubhint}/services.js | 0 .../dapp-home}/Accounts/accounts.css | 0 .../dapp-home}/Accounts/accounts.js | 0 .../dapp-home}/Accounts/accounts.spec.js | 0 .../dapp-home}/Accounts/index.js | 0 .../Home => packages/dapp-home}/Dapps/dapp.js | 0 .../dapp-home}/Dapps/dapp.spec.js | 0 .../dapp-home}/Dapps/dapps.css | 0 .../dapp-home}/Dapps/dapps.js | 0 .../dapp-home}/Dapps/dapps.spec.js | 0 .../dapp-home}/Dapps/dapps.test.js | 0 .../dapp-home}/Dapps/index.js | 0 .../Home => packages/dapp-home}/News/index.js | 0 .../Home => packages/dapp-home}/News/news.css | 0 .../Home => packages/dapp-home}/News/news.js | 0 .../dapp-home}/News/news.spec.js | 0 .../dapp-home}/News/news.test.js | 0 .../dapp-home}/News/renderers.js | 0 .../Home => packages/dapp-home}/News/store.js | 0 .../dapp-home}/News/store.spec.js | 0 .../Home => packages/dapp-home}/Urls/index.js | 0 .../Home => packages/dapp-home}/Urls/urls.css | 0 .../Home => packages/dapp-home}/Urls/urls.js | 0 .../dapp-home}/Urls/urls.spec.js | 0 .../views/Home => packages/dapp-home}/api.js | 0 .../Home => packages/dapp-home}/home.css | 0 .../views/Home => packages/dapp-home}/home.js | 8 +- .../Home => packages/dapp-home}/home.spec.js | 0 .../Home => packages/dapp-home}/index.js | 0 .../Home => packages/dapp-home}/package.json | 0 .../dapp-localtx}/Application/application.css | 0 .../dapp-localtx}/Application/application.js | 0 .../Application/application.spec.js | 0 .../dapp-localtx}/Application/index.js | 0 .../IdentityIcon/identityIcon.css | 0 .../IdentityIcon/identityIcon.js | 0 .../dapp-localtx}/IdentityIcon/index.js | 0 .../dapp-localtx}/Transaction/index.js | 0 .../dapp-localtx}/Transaction/transaction.css | 0 .../dapp-localtx}/Transaction/transaction.js | 0 .../Transaction/transaction.spec.js | 0 .../dapp-localtx}/index.js | 2 +- .../dapp-localtx}/parity.js | 0 .../dapp-playground}/api.js | 0 .../dapp-playground}/index.js | 0 .../dapp-playground}/package.json | 0 .../dapp-playground}/playground.css | 0 .../dapp-playground}/playground.js | 0 .../dapp-playground}/playground.spec.js | 0 .../dapp-playground}/playgroundExample.js | 0 .../dapp-playground}/store.js | 0 .../dapp-playground}/store.spec.js | 0 .../dapp-registry}/Accounts/accounts.css | 0 .../dapp-registry}/Accounts/accounts.js | 0 .../dapp-registry}/Accounts/actions.js | 0 .../dapp-registry}/Accounts/index.js | 0 .../Application/application.css | 0 .../dapp-registry}/Application/application.js | 0 .../dapp-registry}/Application/index.js | 0 .../dapp-registry}/Container.js | 0 .../dapp-registry}/Events/actions.js | 0 .../dapp-registry}/Events/events.css | 0 .../dapp-registry}/Events/events.js | 0 .../dapp-registry}/Events/index.js | 0 .../dapp-registry}/Events/reducers.js | 0 .../IdentityIcon/identityIcon.css | 0 .../IdentityIcon/identityIcon.js | 0 .../dapp-registry}/IdentityIcon/index.js | 0 .../dapp-registry}/Lookup/actions.js | 0 .../dapp-registry}/Lookup/index.js | 0 .../dapp-registry}/Lookup/lookup.css | 0 .../dapp-registry}/Lookup/lookup.js | 0 .../dapp-registry}/Lookup/reducers.js | 0 .../dapp-registry}/Names/actions.js | 0 .../dapp-registry}/Names/index.js | 0 .../dapp-registry}/Names/names.css | 0 .../dapp-registry}/Names/names.js | 0 .../dapp-registry}/Names/reducers.js | 0 .../dapp-registry}/Records/actions.js | 0 .../dapp-registry}/Records/index.js | 0 .../dapp-registry}/Records/records.css | 0 .../dapp-registry}/Records/records.js | 0 .../dapp-registry}/Records/reducers.js | 0 .../dapp-registry}/Reverse/actions.js | 0 .../dapp-registry}/Reverse/index.js | 0 .../dapp-registry}/Reverse/reducers.js | 0 .../dapp-registry}/Reverse/reverse.css | 0 .../dapp-registry}/Reverse/reverse.js | 2 +- .../dapp-registry}/actions.js | 0 .../addresses/accounts-reducer.js | 0 .../dapp-registry}/addresses/actions.js | 0 .../addresses/contacts-reducer.js | 0 .../dapp-registry}/index.js | 2 +- .../dapp-registry}/parity.js | 0 .../dapp-registry}/reducers.js | 0 .../dapp-registry}/store.js | 0 .../dapp-registry}/ui/address.css | 0 .../dapp-registry}/ui/address.js | 0 .../dapp-registry}/ui/hash.css | 0 .../dapp-registry}/ui/hash.js | 0 .../dapp-registry}/ui/image.js | 0 .../dapp-registry}/util/actions.js | 0 .../dapp-registry}/util/etherscan-url.js | 2 +- .../dapp-registry}/util/post-tx.js | 0 .../dapp-registry}/util/registry.js | 0 .../dapp-settings}/Background/background.css | 0 .../dapp-settings}/Background/background.js | 0 .../dapp-settings}/Background/index.js | 0 .../dapp-settings}/Node/index.js | 0 .../dapp-settings}/Node/node.js | 0 .../dapp-settings}/Node/node.spec.js | 0 .../dapp-settings}/Node/node.test.js | 0 .../dapp-settings}/Node/store.js | 0 .../dapp-settings}/Node/store.spec.js | 0 .../dapp-settings}/Proxy/index.js | 0 .../dapp-settings}/Proxy/proxy.css | 0 .../dapp-settings}/Proxy/proxy.js | 0 .../dapp-settings}/Views/index.js | 2 +- .../dapp-settings}/Views/views.css | 0 .../dapp-settings}/Views/views.js | 0 .../dapp-settings}/api.js | 0 .../dapp-settings}/index.js | 0 .../dapp-settings}/layout.css | 0 .../dapp-settings}/package.json | 0 .../dapp-settings}/settings.css | 0 .../dapp-settings}/settings.js | 0 .../Application/application.css | 0 .../Application/application.js | 0 .../dapp-signaturereg}/Application/index.js | 0 .../dapp-signaturereg}/Button/button.css | 0 .../dapp-signaturereg}/Button/button.js | 0 .../dapp-signaturereg}/Button/index.js | 0 .../dapp-signaturereg}/Events/events.css | 0 .../dapp-signaturereg}/Events/events.js | 0 .../dapp-signaturereg}/Events/index.js | 0 .../dapp-signaturereg}/Header/header.css | 0 .../dapp-signaturereg}/Header/header.js | 0 .../dapp-signaturereg}/Header/index.js | 0 .../IdentityIcon/identityIcon.css | 0 .../IdentityIcon/identityIcon.js | 0 .../dapp-signaturereg}/IdentityIcon/index.js | 0 .../dapp-signaturereg}/Import/import.css | 0 .../dapp-signaturereg}/Import/import.js | 0 .../dapp-signaturereg}/Import/index.js | 0 .../dapp-signaturereg}/Loading/index.js | 0 .../dapp-signaturereg}/Loading/loading.css | 0 .../dapp-signaturereg}/Loading/loading.js | 0 .../dapp-signaturereg}/format.js | 0 .../dapp-signaturereg}/index.js | 6 +- .../dapp-signaturereg}/parity.js | 0 .../dapp-signaturereg}/services.js | 0 .../dapp-signer}/RequestsPage/index.js | 0 .../RequestsPage/requestsPage.css | 0 .../dapp-signer}/RequestsPage/requestsPage.js | 5 +- .../Signer => packages/dapp-signer}/api.js | 0 .../Signer => packages/dapp-signer}/index.js | 0 .../dapp-signer}/package.json | 0 .../Signer => packages/dapp-signer}/signer.js | 0 .../dapp-status}/Debug/Logs/index.js | 0 .../dapp-status}/Debug/Logs/logs.js | 0 .../dapp-status/Debug}/Toggle/index.js | 0 .../dapp-status}/Debug/Toggle/toggle.js | 0 .../dapp-status}/Debug/debug.css | 0 .../dapp-status}/Debug/debug.js | 0 .../dapp-status}/Debug/index.js | 0 .../dapp-status}/Debug/store.js | 0 .../dapp-status}/Health/health.js | 2 +- .../dapp-status}/Health/index.js | 0 .../MiningSettings/decodeExtraData.js | 0 .../MiningSettings/decodeExtraData.spec.js | 0 .../dapp-status}/MiningSettings/index.js | 0 .../MiningSettings/miningSettings.js | 0 .../MiningSettings/numberFromString.js | 0 .../MiningSettings/numberFromString.spec.js | 0 .../dapp-status}/Node/index.js | 0 .../dapp-status}/Node/node.css | 0 .../dapp-status}/Node/node.js | 0 .../dapp-status}/Node/store.js | 0 .../dapp-status}/Peers/Peer/index.js | 0 .../dapp-status}/Peers/Peer/peer.js | 0 .../dapp-status}/Peers/index.js | 0 .../dapp-status}/Peers/peers.css | 0 .../dapp-status}/Peers/peers.js | 0 .../Status => packages/dapp-status}/api.js | 0 .../Status => packages/dapp-status}/index.js | 0 .../dapp-status}/package.json | 0 .../dapp-status}/status.css | 0 .../Status => packages/dapp-status}/status.js | 0 .../AddressSelect/addressSelect.css | 0 .../AddressSelect/addressSelect.js | 0 .../dapp-tokendeploy}/AddressSelect/index.js | 0 .../Application/Header/header.css | 0 .../Application/Header/header.js | 0 .../Application}/Header/index.js | 0 .../Application/Loading/index.js | 0 .../Application/Loading/loading.css | 0 .../Application/Loading/loading.js | 0 .../Application/application.css | 0 .../Application/application.js | 0 .../dapp-tokendeploy}/Application/index.js | 0 .../dapp-tokendeploy}/Application/pages.js | 0 .../dapp-tokendeploy}/Container/container.css | 0 .../dapp-tokendeploy}/Container/container.js | 0 .../dapp-tokendeploy}/Container/index.js | 0 .../Deploy/Deployment/deployment.css | 0 .../Deploy/Deployment/deployment.js | 0 .../Deploy/Deployment/index.js | 0 .../dapp-tokendeploy}/Deploy/Event/event.css | 0 .../dapp-tokendeploy}/Deploy/Event/event.js | 0 .../dapp-tokendeploy/Deploy}/Event/index.js | 0 .../Deploy/Events/events.css | 0 .../dapp-tokendeploy}/Deploy/Events/events.js | 0 .../dapp-tokendeploy/Deploy}/Events/index.js | 0 .../dapp-tokendeploy}/Deploy/deploy.js | 0 .../dapp-tokendeploy}/Deploy/index.js | 0 .../IdentityIcon/identityIcon.css | 0 .../IdentityIcon/identityIcon.js | 0 .../dapp-tokendeploy}/IdentityIcon/index.js | 0 .../dapp-tokendeploy}/Overview/Owner/index.js | 0 .../Overview/Owner/owner.css | 0 .../dapp-tokendeploy}/Overview/Owner/owner.js | 0 .../dapp-tokendeploy}/Overview/Token/index.js | 0 .../Overview/Token/token.css | 0 .../dapp-tokendeploy}/Overview/Token/token.js | 0 .../dapp-tokendeploy}/Overview/index.js | 0 .../dapp-tokendeploy}/Overview/overview.css | 0 .../dapp-tokendeploy}/Overview/overview.js | 0 .../dapp-tokendeploy}/Transfer/Event/event.js | 0 .../dapp-tokendeploy/Transfer}/Event/index.js | 0 .../Transfer/Events/events.js | 0 .../Transfer}/Events/index.js | 0 .../dapp-tokendeploy}/Transfer/Send/index.js | 0 .../dapp-tokendeploy}/Transfer/Send/send.css | 0 .../dapp-tokendeploy}/Transfer/Send/send.js | 0 .../dapp-tokendeploy}/Transfer/index.js | 0 .../dapp-tokendeploy}/Transfer/transfer.js | 0 .../dapp-tokendeploy}/_form.css | 0 .../dapp-tokendeploy}/_status.css | 0 .../dapp-tokendeploy}/background.jpg | Bin .../dapp-tokendeploy}/index.js | 2 +- .../dapp-tokendeploy}/parity.js | 0 .../dapp-tokendeploy}/services.js | 2 +- .../AccountSelector/account-selector.css | 0 .../AccountSelector/account-selector.js | 0 .../Accounts/AccountSelector/container.js | 0 .../Accounts/AccountSelector/index.js | 0 .../dapp-tokenreg}/Accounts/actions.js | 0 .../dapp-tokenreg}/Accounts/reducer.js | 0 .../dapp-tokenreg}/Actions/Query/index.js | 0 .../dapp-tokenreg}/Actions/Query/query.js | 0 .../dapp-tokenreg}/Actions/Register/index.js | 0 .../Actions/Register/register.js | 0 .../dapp-tokenreg}/Actions/actions.css | 0 .../dapp-tokenreg}/Actions/actions.js | 0 .../dapp-tokenreg}/Actions/component.js | 0 .../dapp-tokenreg}/Actions/container.js | 0 .../dapp-tokenreg}/Actions/index.js | 0 .../dapp-tokenreg}/Actions/reducer.js | 0 .../Application/application.css | 0 .../dapp-tokenreg}/Application/application.js | 0 .../dapp-tokenreg}/Application/index.js | 0 .../dapp-tokenreg}/Chip/chip.css | 0 .../dapp-tokenreg}/Chip/chip.js | 0 .../dapp-tokenreg}/Chip/index.js | 0 .../dapp-tokenreg}/Container.js | 0 .../IdentityIcon/identityIcon.css | 0 .../IdentityIcon/identityIcon.js | 0 .../dapp-tokenreg}/IdentityIcon/index.js | 0 .../dapp-tokenreg}/Inputs/Text/container.js | 0 .../dapp-tokenreg}/Inputs/Text/index.js | 0 .../dapp-tokenreg}/Inputs/Text/input-text.js | 0 .../dapp-tokenreg}/Inputs/inputs.css | 0 .../dapp-tokenreg}/Inputs/validation.js | 0 .../dapp-tokenreg}/Loading/index.js | 0 .../dapp-tokenreg}/Loading/loading.css | 0 .../dapp-tokenreg}/Loading/loading.js | 0 .../dapp-tokenreg}/Status/actions.js | 0 .../dapp-tokenreg}/Status/index.js | 0 .../dapp-tokenreg}/Status/reducer.js | 0 .../dapp-tokenreg}/Status/status.css | 0 .../dapp-tokenreg}/Status/status.js | 0 .../dapp-tokenreg}/Tokens/Token/add-meta.js | 0 .../dapp-tokenreg}/Tokens/Token/index.js | 0 .../dapp-tokenreg}/Tokens/Token/token.css | 0 .../dapp-tokenreg}/Tokens/Token/token.js | 0 .../Tokens/Token/tokenContainer.js | 0 .../dapp-tokenreg}/Tokens/actions.js | 0 .../dapp-tokenreg}/Tokens/container.js | 0 .../dapp-tokenreg}/Tokens/index.js | 0 .../dapp-tokenreg}/Tokens/reducer.js | 0 .../dapp-tokenreg}/Tokens/tokens.css | 0 .../dapp-tokenreg}/Tokens/tokens.js | 0 .../dapp-tokenreg}/constants.js | 0 .../dapp-tokenreg}/index.js | 2 +- .../dapp-tokenreg}/parity.js | 0 .../dapp-tokenreg}/reducers.js | 0 .../dapp-tokenreg}/store.js | 0 .../dapp-tokenreg}/utils.js | 0 .../dapp-vaults}/VaultAccounts/index.js | 0 .../VaultAccounts/vaultAccounts.js | 0 .../VaultAccounts/vaultAccounts.spec.js | 0 .../dapp-vaults}/VaultCreate/index.js | 0 .../dapp-vaults}/VaultCreate/vaultCreate.css | 0 .../dapp-vaults}/VaultCreate/vaultCreate.js | 0 .../VaultCreate/vaultCreate.spec.js | 0 .../dapp-vaults}/VaultLock/index.js | 0 .../dapp-vaults}/VaultLock/vaultLock.js | 0 .../dapp-vaults}/VaultLock/vaultLock.spec.js | 0 .../dapp-vaults}/VaultMeta/index.js | 0 .../dapp-vaults}/VaultMeta/vaultMeta.js | 0 .../dapp-vaults}/VaultMeta/vaultMeta.spec.js | 0 .../dapp-vaults}/VaultUnlock/index.js | 0 .../dapp-vaults}/VaultUnlock/vaultUnlock.css | 0 .../dapp-vaults}/VaultUnlock/vaultUnlock.js | 0 .../VaultUnlock/vaultUnlock.spec.js | 0 .../Vaults => packages/dapp-vaults}/api.js | 0 .../Vaults => packages/dapp-vaults}/index.js | 0 .../dapp-vaults}/package.json | 0 .../Vaults => packages/dapp-vaults}/store.js | 2 +- .../dapp-vaults}/store.spec.js | 2 +- .../dapp-vaults}/vaults.css | 0 .../Vaults => packages/dapp-vaults}/vaults.js | 0 .../dapp-vaults}/vaults.spec.js | 0 .../dapp-vaults}/vaults.test.js | 0 .../Confirmations/confirmations.js | 0 .../dapp-wallet}/Confirmations/index.js | 0 .../dapp-wallet}/Details/details.js | 0 .../dapp-wallet}/Details/index.js | 0 .../dapp-wallet}/Transactions/index.js | 0 .../dapp-wallet}/Transactions/transactions.js | 0 .../dapp-wallet}/WalletSettings/index.js | 0 .../WalletSettings/walletSettings.css | 0 .../WalletSettings/walletSettings.js | 0 .../WalletSettings/walletSettingsStore.js | 0 .../Wallet => packages/dapp-wallet}/api.js | 0 .../Wallet => packages/dapp-wallet}/index.js | 0 .../dapp-wallet}/package.json | 0 .../dapp-wallet}/wallet.css | 0 .../Wallet => packages/dapp-wallet}/wallet.js | 9 +- .../dapp-web}/AddressBar/addressBar.js | 0 .../dapp-web}/AddressBar/addressBar.spec.js | 0 .../dapp-web}/AddressBar/index.js | 0 .../views/Web => packages/dapp-web}/api.js | 0 .../Web => packages/dapp-web}/dapplink.js | 0 .../dapp-web}/dapplink.spec.js | 0 .../views/Web => packages/dapp-web}/index.js | 0 .../Web => packages/dapp-web}/package.json | 0 .../views/Web => packages/dapp-web}/store.js | 0 .../Web => packages/dapp-web}/store.spec.js | 0 .../views/Web => packages/dapp-web}/web.css | 0 .../views/Web => packages/dapp-web}/web.js | 0 .../Web => packages/dapp-web}/web.spec.js | 0 js/{src => packages}/dapps/README.md | 0 js/{src/views => packages/dapps}/index.ejs | 0 js/{src/views => packages/dapps}/package.json | 8 +- js/{src => packages}/dapps/static/.gitkeep | 0 js/{src => packages}/dapps/style.css | 0 js/{npm => packages}/etherscan/README.md | 2 +- .../etherscan/account.js | 2 +- .../etherscan/account.spec.js | 0 .../3rdparty => packages}/etherscan/call.js | 0 .../etherscan/helpers.spec.js | 0 .../3rdparty => packages}/etherscan/index.js | 0 .../etherscan/library.js} | 2 +- .../3rdparty => packages}/etherscan/links.js | 0 .../etherscan/links.spec.js | 0 js/{npm => packages}/etherscan/package.json | 0 .../3rdparty => packages}/etherscan/stats.js | 0 .../etherscan/stats.spec.js | 0 js/{src => packages}/jsonrpc/.gitignore | 0 js/{src => packages}/jsonrpc/README.md | 0 js/{src => packages}/jsonrpc/helpers.js | 0 js/{src => packages}/jsonrpc/index.js | 0 js/{src => packages}/jsonrpc/index.spec.js | 0 js/{src => packages}/jsonrpc/interfaces/db.js | 0 .../jsonrpc/interfaces/eth.js | 0 .../jsonrpc/interfaces/net.js | 0 .../jsonrpc/interfaces/parity.js | 0 .../jsonrpc/interfaces/personal.js | 0 .../jsonrpc/interfaces/shh.js | 0 .../jsonrpc/interfaces/signer.js | 0 .../jsonrpc/interfaces/trace.js | 0 .../jsonrpc/interfaces/web3.js | 0 .../jsonrpc/library.js} | 2 +- js/{src => packages}/jsonrpc/package.json | 0 js/{src => packages}/jsonrpc/types.js | 0 js/{src/3rdparty => packages}/ledger/index.js | 0 .../3rdparty => packages}/ledger/ledger.js | 0 .../ledger/ledger.spec.js | 2 +- .../jsonrpc => packages/ledger}/package.json | 9 +- .../ledger/vendor/README.md | 0 .../ledger/vendor/ledger-eth.js | 0 .../ledger/vendor/ledger3.js | 0 js/{npm => packages}/shapeshift/README.md | 2 +- .../shapeshift/helpers.spec.js | 0 .../3rdparty => packages}/shapeshift/index.js | 6 +- .../shapeshift/library.js} | 2 +- js/{npm => packages}/shapeshift/package.json | 0 .../3rdparty => packages}/shapeshift/rpc.js | 0 .../shapeshift/rpc.spec.js | 4 +- .../shapeshift/shapeshift.js | 0 .../shapeshift/shapeshift.spec.js | 4 +- js/{src => packages}/shared/README.md | 0 .../shared/assets/fonts/Roboto/LICENSE.txt | 0 .../shared/assets/fonts/Roboto/font.css | 0 .../assets/fonts/Roboto/ttf/Roboto-Black.ttf | Bin .../fonts/Roboto/ttf/Roboto-BlackItalic.ttf | Bin .../assets/fonts/Roboto/ttf/Roboto-Bold.ttf | Bin .../fonts/Roboto/ttf/Roboto-BoldItalic.ttf | Bin .../assets/fonts/Roboto/ttf/Roboto-Italic.ttf | Bin .../assets/fonts/Roboto/ttf/Roboto-Light.ttf | Bin .../fonts/Roboto/ttf/Roboto-LightItalic.ttf | Bin .../assets/fonts/Roboto/ttf/Roboto-Medium.ttf | Bin .../fonts/Roboto/ttf/Roboto-MediumItalic.ttf | Bin .../fonts/Roboto/ttf/Roboto-Regular.ttf | Bin .../assets/fonts/Roboto/ttf/Roboto-Thin.ttf | Bin .../fonts/Roboto/ttf/Roboto-ThinItalic.ttf | Bin ...6m6pUHB-5mXQQnYX0hVgzZQUfRDuZrPvH3D8.woff2 | Bin ...6luXEYWpBSJvXCIX0hVgzZQUfRDuZrPvH3D8.woff2 | Bin ...OxyyTHEGMXX8kcYX0hVgzZQUfRDuZrPvH3D8.woff2 | Bin ...tfSpn0qi1SFdUfZBw1xU1rKptJj_0jans920.woff2 | Bin ...Sg9YCurV6PUkTOYX0hVgzZQUfRDuZrPvH3D8.woff2 | Bin ...4gIq26G5XYbHsFIX0hVgzZQUfRDuZrPvH3D8.woff2 | Bin ...ShpZSmG3z6VYwnYX0hVgzZQUfRDuZrPvH3D8.woff2 | Bin .../assets/fonts/RobotoMono/LICENSE.txt | 0 .../shared/assets/fonts/RobotoMono/font.css | 0 .../fonts/RobotoMono/ttf/RobotoMono-Bold.ttf | Bin .../RobotoMono/ttf/RobotoMono-BoldItalic.ttf | Bin .../RobotoMono/ttf/RobotoMono-Italic.ttf | Bin .../fonts/RobotoMono/ttf/RobotoMono-Light.ttf | Bin .../RobotoMono/ttf/RobotoMono-LightItalic.ttf | Bin .../RobotoMono/ttf/RobotoMono-Medium.ttf | Bin .../ttf/RobotoMono-MediumItalic.ttf | Bin .../RobotoMono/ttf/RobotoMono-Regular.ttf | Bin .../fonts/RobotoMono/ttf/RobotoMono-Thin.ttf | Bin .../RobotoMono/ttf/RobotoMono-ThinItalic.ttf | Bin ...C58uwPiY8_59Fz-pRBTtN4E2_qSPBnw6AgMc.woff2 | Bin ...C58uwPiY8_59Fz0ExlR2MysFCBK8OirNw2kM.woff2 | Bin ...C58uwPiY8_59Fz2MSHb9EAJwuSzGfuRChQzQ.woff2 | Bin ...C58uwPiY8_59Fz2dsm03krrxlabhmVQFB99s.woff2 | Bin ...C58uwPiY8_59Fz9Dnm4qiMZlH5rhYv_7LI2Y.woff2 | Bin ...C58uwPiY8_59Fz9TIkQYohD4BpHvJ3NvbHoA.woff2 | Bin ...C58uwPiY8_59FzyJ0caWjaSBdV-xZbEgst_k.woff2 | Bin .../assets/images/certifications/unknown.svg | 0 .../images/contracts/ethereum-black-64x64.png | Bin .../images/contracts/ethereum-black.png | Bin .../images/contracts/ethereum-white.png | Bin .../assets/images/contracts/unknown-64x64.png | Bin .../assets/images/contracts/unknown.png | Bin .../shared/assets/images/dapps/blocks-350.jpg | Bin .../shared/assets/images/dapps/close.svg | 0 .../shared/assets/images/dapps/plus.svg | 0 .../shared/assets/images/dapps/signature.png | Bin .../images/parity-logo-black-no-text.ico | Bin .../images/parity-logo-black-no-text.png | Bin .../images/parity-logo-black-no-text.svg | 0 .../assets/images/parity-logo-black.svg | 0 .../images/parity-logo-white-no-text.svg | 0 .../assets/images/parity-logo-white.svg | 0 .../shared/assets/images/paritybar.png | Bin .../shared/assets/images/shapeshift-btn.png | Bin .../shared/assets/images/shapeshift-logo.png | Bin .../shared/config/dappsBuiltin.json | 0 .../shared/config/dappsViews.json | 6 +- .../shared/config/defaultViews.js} | 0 js/{src => packages}/shared/config/index.js | 0 .../shared/contracts/abi/badgereg.json | 0 .../shared/contracts/abi/basiccoin.json | 0 .../contracts/abi/basiccoinmanager.json | 0 .../shared/contracts/abi/certifier.json | 0 .../shared/contracts/abi/dappreg.json | 0 .../shared/contracts/abi/eip20.json | 0 .../contracts/abi/email-verification.json | 0 .../shared/contracts/abi/gavcoin.json | 0 .../shared/contracts/abi/githubhint.json | 0 .../shared/contracts/abi/index.js | 0 .../shared/contracts/abi/old-wallet.json | 0 .../shared/contracts/abi/owned.json | 0 .../shared/contracts/abi/registry.json | 0 .../shared/contracts/abi/registry2.json | 0 .../shared/contracts/abi/signaturereg.json | 0 .../contracts/abi/sms-verification.json | 0 .../shared/contracts/abi/tokenreg.json | 0 .../shared/contracts/abi/wallet.json | 0 .../shared/contracts/badgereg.js | 2 +- .../shared/contracts/code/index.js | 0 .../shared/contracts/code/wallet.js | 0 .../shared/contracts/contracts.js | 0 .../shared/contracts/dappreg.js | 0 .../shared/contracts/githubhint.js | 0 .../shared/contracts/githubhint.spec.js | 0 .../shared/contracts/index.js | 0 .../shared/contracts/registry.js | 0 .../shared/contracts/registry.spec.js | 2 +- .../shared/contracts/signaturereg.js | 0 .../contracts/snippets/enhanced-wallet.sol | 0 .../snippets/human-standard-token.sol | 0 .../contracts/snippets/standard-token.sol | 0 .../shared/contracts/snippets/token.sol | 0 .../shared/contracts/snippets/wallet.sol | 0 .../shared/contracts/tokenreg.js | 0 .../shared/contracts/verification.js | 0 .../shared/environment/empty.js | 0 .../shared/environment/index.js | 0 .../integration-tests/fake-backend.js | 0 .../environment/integration-tests/index.js | 0 .../shared/environment/perf-debug/index.js | 0 .../environment/perf-debug/why-update.js | 0 .../shared/environment/tests/index.js | 0 .../shared/environment/tests/test-utils.js | 0 .../shared/mobx/hardwareStore.js | 6 +- .../shared/mobx/hardwareStore.spec.js | 0 .../shared/mobx/historyStore.js | 0 .../shared/mobx/historyStore.spec.js | 0 js/{src => packages}/shared/package.json | 0 js/{src => packages}/shared/redux/actions.js | 0 js/{src => packages}/shared/redux/index.js | 0 .../shared/redux/middleware.js | 0 .../shared/redux/providers/apiActions.js | 0 .../shared/redux/providers/apiReducer.js | 0 .../shared/redux/providers/balances.js | 0 .../shared/redux/providers/balancesActions.js | 0 .../shared/redux/providers/balancesReducer.js | 0 .../redux/providers/certifications/actions.js | 0 .../providers/certifications/middleware.js | 0 .../redux/providers/certifications/reducer.js | 0 .../shared/redux/providers/chainMiddleware.js | 0 .../redux/providers/chainMiddleware.spec.js | 2 +- .../shared/redux/providers/index.js | 0 .../shared/redux/providers/personal.js | 0 .../shared/redux/providers/personalActions.js | 0 .../shared/redux/providers/personalReducer.js | 0 .../redux/providers/registry/actions.js | 0 .../redux/providers/registry/middleware.js | 6 +- .../redux/providers/registry/reducer.js | 0 .../shared/redux/providers/requestsActions.js | 3 +- .../redux/providers/requestsActions.spec.js | 0 .../shared/redux/providers/requestsReducer.js | 0 .../redux/providers/settings/actions.js | 0 .../redux/providers/settings/middleware.js | 2 +- .../redux/providers/settings/reducers.js | 2 +- .../shared/redux/providers/signer.js | 0 .../shared/redux/providers/signerActions.js | 0 .../redux/providers/signerMiddleware.js | 3 +- .../redux/providers/signerMiddleware.spec.js | 0 .../shared/redux/providers/signerReducer.js | 0 .../shared/redux/providers/snackbarActions.js | 0 .../shared/redux/providers/snackbarReducer.js | 0 .../shared/redux/providers/status.js | 12 +- .../shared/redux/providers/statusActions.js | 0 .../shared/redux/providers/statusReducer.js | 0 .../shared/redux/providers/tokensActions.js | 6 +- .../shared/redux/providers/tokensReducer.js | 0 .../shared/redux/providers/walletActions.js | 6 +- .../shared/redux/providers/walletReducer.js | 0 .../shared/redux/providers/worker.js | 4 +- .../shared/redux/providers/workerActions.js | 0 .../shared/redux/providers/workerReducer.js | 0 .../shared/redux/providers/workerWrapper.js | 0 js/{src => packages}/shared/redux/reducers.js | 0 js/{src => packages}/shared/redux/store.js | 0 js/{src => packages}/shared/redux/util.js | 0 js/{src => packages}/shared/util/abi.js | 0 js/{src => packages}/shared/util/constants.js | 0 js/{src => packages}/shared/util/dapps.js | 5 +- js/{src => packages}/shared/util/messages.js | 0 .../shared/util/notifications.js | 2 +- js/{src => packages}/shared/util/proptypes.js | 0 js/{src => packages}/shared/util/signer.js | 0 js/{src => packages}/shared/util/solidity.js | 0 .../shared/util/subscribe-to-events.js | 0 .../shared/util/subscribe-to-events.spec.js | 0 .../shared/util/subscribe-to-events.test.js | 0 .../shared/util/testnet.js} | 18 +- js/{src => packages}/shared/util/tokens.js | 2 +- js/{src => packages}/shared/util/tx.js | 0 .../shared/util/validation.js | 0 .../shared/util/validation.spec.js | 0 js/{src => packages}/shared/util/wallets.js | 0 .../ui/AccountCard/accountCard.css | 0 .../ui/AccountCard/accountCard.example.js | 2 +- .../ui/AccountCard/accountCard.js | 10 +- .../ui/AccountCard/accountCard.spec.js | 0 js/{src => packages}/ui/AccountCard/index.js | 0 .../ui/Actionbar/Export/export.js | 4 +- .../ui/Actionbar/Export/index.js | 0 .../ui/Actionbar/Import/import.css | 0 .../ui/Actionbar/Import/import.js | 8 +- .../ui/Actionbar/Import/index.js | 0 .../ui/Actionbar/Search/index.js | 0 .../ui/Actionbar/Search/search.css | 0 .../ui/Actionbar/Search/search.js | 6 +- .../ui/Actionbar/Sort/index.js | 0 .../ui/Actionbar/Sort/sort.js | 8 +- .../ui/Actionbar/Sort/sortStore.js | 0 .../ui/Actionbar/actionbar.css | 0 .../ui/Actionbar/actionbar.js | 0 .../ui/Actionbar/actionbar.spec.js | 0 js/{src => packages}/ui/Actionbar/index.js | 0 js/{src => packages}/ui/Badge/badge.css | 0 js/{src => packages}/ui/Badge/badge.js | 0 js/{src => packages}/ui/Badge/badge.spec.js | 0 js/{src => packages}/ui/Badge/index.js | 0 js/{src => packages}/ui/Balance/balance.css | 0 js/{src => packages}/ui/Balance/balance.js | 2 +- .../ui/Balance/balance.spec.js | 0 js/{src => packages}/ui/Balance/index.js | 0 .../ui/BlockStatus/blockStatus.css | 0 .../ui/BlockStatus/blockStatus.js | 0 .../ui/BlockStatus/blockStatus.spec.js | 0 js/{src => packages}/ui/BlockStatus/index.js | 0 js/{src => packages}/ui/Button/button.css | 0 js/{src => packages}/ui/Button/button.js | 0 js/{src => packages}/ui/Button/button.spec.js | 0 js/{src => packages}/ui/Button/index.js | 0 .../ui/Certifications/certifications.css | 0 .../ui/Certifications/certifications.js | 3 +- .../ui/Certifications/index.js | 0 .../ui/ConfirmDialog/confirmDialog.css | 0 .../ui/ConfirmDialog/confirmDialog.js | 0 .../ui/ConfirmDialog/confirmDialog.spec.js | 0 .../ui/ConfirmDialog/index.js | 0 .../ui/Container/Title/Actions/actions.js | 0 .../ui/Container/Title/Actions/index.js | 0 .../ui/Container/Title/Byline/byline.js | 0 .../ui/Container/Title/Byline/index.js | 0 .../Title/Description/description.js | 0 .../ui/Container/Title/Description/index.js | 0 .../ui/Container/Title/index.js | 0 .../ui/Container/Title/title.css | 0 .../ui/Container/Title/title.js | 0 .../ui/Container/Title/title.spec.js | 0 .../ui/Container/container.css | 0 .../ui/Container/container.js | 0 .../ui/Container/container.spec.js | 0 js/{src => packages}/ui/Container/index.js | 0 .../ui/ContextProvider/contextProvider.js | 0 .../ui/ContextProvider/index.js | 0 .../ui/CopyToClipboard/copyToClipboard.css | 0 .../ui/CopyToClipboard/copyToClipboard.js | 2 +- .../ui/CopyToClipboard/index.js | 0 .../CurrencySymbol/currencySymbol.example.js | 2 +- .../ui/CurrencySymbol/currencySymbol.js | 0 .../ui/CurrencySymbol/currencySymbol.spec.js | 0 .../ui/CurrencySymbol/index.js | 0 js/{src => packages}/ui/DappCard/dappCard.css | 0 js/{src => packages}/ui/DappCard/dappCard.js | 6 +- js/{src => packages}/ui/DappCard/index.js | 0 js/{src => packages}/ui/DappIcon/dappIcon.css | 0 js/{src => packages}/ui/DappIcon/dappIcon.js | 2 +- .../ui/DappIcon/dappIcon.spec.js | 0 js/{src => packages}/ui/DappIcon/index.js | 0 js/{src => packages}/ui/DappLink/dappLink.css | 0 js/{src => packages}/ui/DappLink/dappLink.js | 0 js/{src => packages}/ui/DappLink/index.js | 0 js/{src => packages}/ui/Editor/editor.js | 3 +- js/{src => packages}/ui/Editor/index.js | 0 .../ui/Editor/mode-solidity.js | 0 js/{src => packages}/ui/Errors/actions.js | 0 js/{src => packages}/ui/Errors/errors.css | 0 js/{src => packages}/ui/Errors/errors.js | 2 +- js/{src => packages}/ui/Errors/index.js | 0 js/{src => packages}/ui/Errors/middleware.js | 0 js/{src => packages}/ui/Errors/reducers.js | 0 js/{src => packages}/ui/Features/constants.js | 0 js/{src => packages}/ui/Features/defaults.js | 0 .../ui/Features/defaults.spec.js | 0 js/{src => packages}/ui/Features/features.css | 0 js/{src => packages}/ui/Features/features.js | 4 +- .../ui/Features/features.spec.js | 0 js/{src => packages}/ui/Features/index.js | 0 js/{src => packages}/ui/Features/store.js | 0 .../ui/Features/store.spec.js | 0 .../ui/Form/AddressSelect/addressSelect.css | 0 .../ui/Form/AddressSelect/addressSelect.js | 12 +- .../Form/AddressSelect/addressSelectStore.js | 0 .../ui/Form/AddressSelect/index.js | 0 .../ui/Form/Checkbox/checkbox.js | 0 .../ui/Form/Checkbox/index.js | 0 .../ui/Form/DappUrlInput/dappUrlInput.js | 0 .../ui/Form/DappUrlInput/dappUrlInput.spec.js | 0 .../ui/Form/DappUrlInput/index.js | 0 .../ui/Form/Dropdown/dropdown.css | 0 .../ui/Form/Dropdown/dropdown.js | 0 .../ui/Form/Dropdown/index.js | 0 .../ui/Form/FileSelect/fileSelect.css | 0 .../ui/Form/FileSelect/fileSelect.js | 0 .../ui/Form/FileSelect/fileSelect.spec.js | 0 .../ui/Form/FileSelect/index.js | 0 js/{src => packages}/ui/Form/Input/index.js | 0 js/{src => packages}/ui/Form/Input/input.css | 0 js/{src => packages}/ui/Form/Input/input.js | 4 +- .../ui/Form/InputAddress/index.js | 0 .../ui/Form/InputAddress/inputAddress.css | 0 .../ui/Form/InputAddress/inputAddress.js | 4 +- .../ui/Form/InputAddressSelect/index.js | 0 .../InputAddressSelect/inputAddressSelect.js | 0 .../ui/Form/InputChip/Chip/chip.css | 0 .../ui/Form/InputChip/Chip/chip.js | 2 +- .../ui/Form/InputChip/Chip/index.js | 0 .../ui/Form/InputChip/index.js | 0 .../ui/Form/InputChip/inputChip.js | 2 +- .../ui/Form/InputDateTime/index.js | 0 .../ui/Form/InputDateTime/inputDateTime.css | 0 .../ui/Form/InputDateTime/inputDateTime.js | 2 +- js/{src => packages}/ui/Form/Label/index.js | 0 js/{src => packages}/ui/Form/Label/label.css | 0 js/{src => packages}/ui/Form/Label/label.js | 0 .../ui/Form/LabelWrapper/index.js | 0 .../ui/Form/LabelWrapper/labelWrapper.js | 0 .../ui/Form/PasswordStrength/index.js | 0 .../PasswordStrength/passwordStrength.css | 0 .../Form/PasswordStrength/passwordStrength.js | 4 +- .../PasswordStrength/passwordStrength.spec.js | 0 .../ui/Form/RadioButtons/index.js | 0 .../ui/Form/RadioButtons/radioButtons.css | 0 .../ui/Form/RadioButtons/radioButtons.js | 0 js/{src => packages}/ui/Form/Slider/index.js | 0 .../ui/Form/Slider/slider.css | 0 js/{src => packages}/ui/Form/Slider/slider.js | 0 .../ui/Form}/Toggle/index.js | 0 js/{src => packages}/ui/Form/Toggle/toggle.js | 0 .../ui/Form/TypedInput/index.js | 0 .../ui/Form/TypedInput/typedInput.css | 0 .../ui/Form/TypedInput/typedInput.js | 14 +- .../ui/Form/TypedInput/typedInput.spec.js | 0 .../Form/VaultSelect/VaultSelector/index.js | 0 .../VaultSelector/vaultSelector.js | 6 +- .../VaultSelector/vaultSelector.spec.js | 0 .../ui/Form/VaultSelect/index.js | 0 .../ui/Form/VaultSelect/vaultSelect.js | 2 +- .../ui/Form/VaultSelect/vaultSelect.spec.js | 0 js/{src => packages}/ui/Form/form.css | 0 js/{src => packages}/ui/Form/form.js | 0 js/{src => packages}/ui/Form/index.js | 0 .../ui/GasPriceEditor/gasPriceEditor.css | 0 .../ui/GasPriceEditor/gasPriceEditor.js | 0 .../ui/GasPriceEditor/gasPriceEditor.spec.js | 0 .../ui/GasPriceEditor/index.js | 0 .../ui/GasPriceEditor/store.js | 0 .../ui/GasPriceEditor/store.spec.js | 0 .../GasPriceSelector/CustomBar/customBar.js | 0 .../ui/GasPriceSelector/CustomBar/index.js | 0 .../CustomCursor/customCursor.js | 0 .../ui/GasPriceSelector/CustomCursor/index.js | 0 .../CustomShape/customShape.js | 0 .../ui/GasPriceSelector/CustomShape/index.js | 0 .../CustomTooltip/customTooltip.js | 0 .../GasPriceSelector/CustomTooltip/index.js | 0 .../ui/GasPriceSelector/gasPriceSelector.css | 0 .../ui/GasPriceSelector/gasPriceSelector.js | 2 +- .../ui/GasPriceSelector/index.js | 0 .../ui/GasPriceSelector/util.js | 0 .../ui/IconCache/iconCache.js | 0 js/{src => packages}/ui/IconCache/index.js | 0 js/{src => packages}/ui/Icons/index.js | 0 js/{src => packages}/ui/Icons/index.spec.js | 0 .../ui/IdentityIcon/identityIcon.css | 0 .../ui/IdentityIcon/identityIcon.js | 4 +- .../ui/IdentityIcon/identityIcon.spec.js | 0 js/{src => packages}/ui/IdentityIcon/index.js | 0 .../ui/IdentityName/identityName.js | 2 +- .../ui/IdentityName/identityName.spec.js | 0 js/{src => packages}/ui/IdentityName/index.js | 0 .../ui/LanguageSelector/index.js | 0 .../ui/LanguageSelector/languageSelector.js | 0 .../LanguageSelector/langugeSelector.spec.js | 0 js/{src => packages}/ui/List/Item/index.js | 0 js/{src => packages}/ui/List/Item/item.css | 0 js/{src => packages}/ui/List/Item/item.js | 0 .../Accounts => packages/ui}/List/index.js | 0 js/{src => packages}/ui/List/list.css | 0 js/{src => packages}/ui/List/list.js | 0 js/{src => packages}/ui/Loading/index.js | 0 js/{src => packages}/ui/Loading/loading.css | 0 js/{src => packages}/ui/Loading/loading.js | 0 .../ui/MethodDecoding/index.js | 0 .../ui/MethodDecoding/methodDecoding.css | 0 .../ui/MethodDecoding/methodDecoding.js | 2 +- .../ui/MethodDecoding/methodDecodingStore.js | 0 js/{src => packages}/ui/Modal/Busy/busy.css | 0 js/{src => packages}/ui/Modal/Busy/busy.js | 0 js/{src => packages}/ui/Modal/Busy/index.js | 0 .../ui/Modal/Completed/completed.css | 0 .../ui/Modal/Completed/completed.js | 0 .../ui/Modal}/Completed/index.js | 0 js/{src => packages}/ui/Modal/index.js | 0 js/{src => packages}/ui/ModalBox/index.js | 0 js/{src => packages}/ui/ModalBox/modalBox.css | 0 js/{src => packages}/ui/ModalBox/modalBox.js | 0 .../ui/ModalBox/modalBox.spec.js | 0 js/{src => packages}/ui/Page/index.js | 0 js/{src => packages}/ui/Page/page.css | 0 js/{src => packages}/ui/Page/page.js | 0 js/{src => packages}/ui/Page/page.spec.js | 0 .../ui/ParityBackground/index.js | 0 .../ui/ParityBackground/parityBackground.js | 0 js/{src => packages}/ui/Popup/index.js | 0 js/{src => packages}/ui/Popup/popup.js | 0 js/{src => packages}/ui/Portal/index.js | 0 js/{src => packages}/ui/Portal/portal.css | 0 .../ui/Portal/portal.example.js | 5 +- js/{src => packages}/ui/Portal/portal.js | 6 +- js/{src => packages}/ui/Portal/portal.spec.js | 0 js/{src => packages}/ui/Progress/index.js | 0 js/{src => packages}/ui/Progress/progress.js | 0 js/{src => packages}/ui/QrCode/index.js | 0 js/{src => packages}/ui/QrCode/qrCode.css | 0 .../ui/QrCode/qrCode.example.js | 2 +- js/{src => packages}/ui/QrCode/qrCode.js | 0 js/{src => packages}/ui/QrCode/qrCode.spec.js | 0 js/{src => packages}/ui/QrCode/qrSize.js | 0 js/{src => packages}/ui/QrScan/index.js | 0 js/{src => packages}/ui/QrScan/qrScan.css | 0 js/{src => packages}/ui/QrScan/qrScan.js | 0 js/{src => packages}/ui/QrScan/qrScan.spec.js | 0 js/{src => packages}/ui/REDAME.md | 0 .../ui/ScrollableText/index.js | 0 .../ui/ScrollableText/scrollableText.css | 0 .../ui/ScrollableText/scrollableText.js | 0 .../ui/SectionList/Overlay/index.js | 0 .../ui/SectionList/Overlay/overlay.css | 0 .../ui/SectionList/Overlay/overlay.js | 0 js/{src => packages}/ui/SectionList/array.js | 0 .../ui/SectionList/array.spec.js | 0 js/{src => packages}/ui/SectionList/index.js | 0 .../ui/SectionList/sectionList.css | 0 .../ui/SectionList/sectionList.example.js | 3 +- .../ui/SectionList/sectionList.js | 0 .../ui/SectionList/sectionList.spec.js | 0 .../ui/SelectionList/index.js | 0 .../ui/SelectionList/selectionList.css | 0 .../ui/SelectionList/selectionList.js | 4 +- .../ui/SelectionList/selectionList.spec.js | 0 .../ui/ShortenedHash/index.js | 0 .../ui/ShortenedHash/shortenedHash.css | 0 .../ui/ShortenedHash/shortenedHash.js | 0 js/{src => packages}/ui/SignerIcon/index.js | 0 .../ui/SignerIcon/signerIcon.js | 0 .../shell => packages/ui}/Snackbar/index.js | 0 js/{src => packages}/ui/Snackbar/snackbar.css | 0 js/{src => packages}/ui/Snackbar/snackbar.js | 0 .../ui/StackEventListener/index.js | 0 .../StackEventListener/stackEventListener.js | 0 .../ui/StatusIndicator/index.js | 0 .../ui/StatusIndicator/statusIndicator.css | 4 +- .../ui/StatusIndicator/statusIndicator.js | 0 js/{src => packages}/ui/Steps/Step/index.js | 0 js/{src => packages}/ui/Steps/Step/step.js | 0 js/{src => packages}/ui/Steps/index.js | 0 js/{src => packages}/ui/Steps/steps.js | 0 js/{src => packages}/ui/Steps/steps.spec.js | 0 js/{src => packages}/ui/Tabs/Tab/index.js | 0 js/{src => packages}/ui/Tabs/Tab/tab.js | 0 js/{src => packages}/ui/Tabs/index.js | 0 js/{src => packages}/ui/Tabs/tabs.js | 0 js/{src => packages}/ui/Tags/index.js | 0 js/{src => packages}/ui/Tags/tags.css | 0 js/{src => packages}/ui/Tags/tags.js | 0 js/packages/ui/Theme/index.js | 17 + js/packages/ui/Theme/theme.js | 74 + js/packages/ui/Theme/theme.spec.js | 55 + .../ui/Title/Waiting/index.js | 0 .../ui/Title/Waiting/waiting.js | 2 +- .../ui/Title/Waiting/waiting.spec.js | 0 js/{src => packages}/ui/Title/index.js | 0 js/{src => packages}/ui/Title/title.css | 0 js/{src => packages}/ui/Title/title.js | 4 +- js/{src => packages}/ui/Title/title.spec.js | 0 js/{src => packages}/ui/TokenImage/index.js | 0 .../ui/TokenImage/tokenImage.js | 2 +- js/{src => packages}/ui/TxHash/index.js | 0 js/{src => packages}/ui/TxHash/txHash.css | 0 js/{src => packages}/ui/TxHash/txHash.js | 8 +- js/{src => packages}/ui/TxHash/txHash.spec.js | 0 js/{src => packages}/ui/TxList/TxRow/index.js | 0 js/{src => packages}/ui/TxList/TxRow/txRow.js | 12 +- .../ui/TxList/TxRow/txRow.spec.js | 0 js/{src => packages}/ui/TxList/index.js | 0 js/{src => packages}/ui/TxList/store.js | 0 js/{src => packages}/ui/TxList/store.spec.js | 0 js/{src => packages}/ui/TxList/txList.css | 0 js/{src => packages}/ui/TxList/txList.js | 0 js/{src => packages}/ui/TxList/txList.spec.js | 0 .../ui/VaultCard/Accounts/accounts.js | 4 +- .../ui/VaultCard/Accounts/accounts.spec.js | 0 .../ui/VaultCard}/Accounts/index.js | 0 .../ui/VaultCard/Buttons/buttons.js | 4 +- .../ui/VaultCard/Buttons/index.js | 0 .../ui/VaultCard/Layout/index.js | 0 .../ui/VaultCard/Layout/layout.css | 0 .../ui/VaultCard/Layout/layout.js | 4 +- .../ui/VaultCard/Layout/layout.spec.js | 0 js/{src => packages}/ui/VaultCard/index.js | 0 .../ui/VaultCard/vaultCard.css | 0 .../ui/VaultCard/vaultCard.js | 2 +- .../ui/VaultCard/vaultCard.spec.js | 0 js/{src => packages}/ui/VaultTag/index.js | 0 js/{src => packages}/ui/VaultTag/vaultTag.css | 0 js/{src => packages}/ui/VaultTag/vaultTag.js | 2 +- js/{src => packages}/ui/Warning/index.js | 0 js/{src => packages}/ui/Warning/warning.css | 0 js/{src => packages}/ui/Warning/warning.js | 0 js/{src => packages}/ui/_colors.css | 0 js/{src => packages}/ui/index.js | 1 + js/{src => packages}/ui/package.json | 0 js/scripts/build-i18n.js | 4 +- js/scripts/lint-i18n.js | 4 +- .../Status/status.js | 2 +- .../TabBar/tabBar.css | 0 .../TabBar/tabBar.js | 2 +- .../{shell => }/Application/application.css | 0 js/src/{shell => }/Application/application.js | 0 js/src/{shell => }/Application/index.js | 0 js/src/{shell => }/Application/store.js | 0 js/src/{shell => }/Connection/connection.css | 15 +- js/src/{shell => }/Connection/connection.js | 0 .../{shell => }/Connection/connection.spec.js | 2 +- js/src/{shell => }/Connection/index.js | 0 js/src/{shell => }/Dapp/dapp.css | 0 js/src/{shell => }/Dapp/dapp.js | 0 js/src/{shell => }/Dapp/index.js | 0 .../{shell => }/DappRequests/Request/index.js | 0 .../DappRequests/Request/request.js | 0 .../{shell => }/DappRequests/dappRequests.css | 0 .../{shell => }/DappRequests/dappRequests.js | 0 .../DappRequests/filteredRequests.js | 0 js/src/{shell => }/DappRequests/index.js | 0 js/src/{shell => }/DappRequests/store.js | 0 js/src/{shell => }/Dapps/dappStore.spec.js | 2 +- js/src/{shell => }/Dapps/dapps.css | 2 +- js/src/{shell => }/Dapps/dapps.js | 0 js/src/{shell => }/Dapps/dappsStore.js | 0 js/src/{views/Home => }/Dapps/index.js | 0 js/src/{shell => }/Extension/extension.css | 0 js/src/{shell => }/Extension/extension.js | 0 js/src/{shell => }/Extension/index.js | 0 js/src/{shell => }/Extension/store.js | 0 .../FirstRun/Completed/completed.js | 0 .../{ui/Modal => FirstRun}/Completed/index.js | 0 js/src/{shell => }/FirstRun/TnC/index.js | 0 js/src/{shell => }/FirstRun/TnC/tnc.js | 0 js/src/{shell => }/FirstRun/TnC/tnc.md | 0 js/src/{shell => }/FirstRun/Welcome/index.js | 0 .../{shell => }/FirstRun/Welcome/welcome.js | 0 js/src/{shell => }/FirstRun/firstRun.css | 3 - js/src/{shell => }/FirstRun/firstRun.js | 10 +- js/src/{shell => }/FirstRun/firstRun.spec.js | 2 +- js/src/{shell => }/FirstRun/index.js | 0 js/src/{shell => }/ParityBar/accountStore.js | 0 .../ParityBar/accountStore.spec.js | 2 +- js/src/{shell => }/ParityBar/index.js | 0 js/src/{shell => }/ParityBar/parityBar.css | 2 +- js/src/{shell => }/ParityBar/parityBar.js | 4 +- .../{shell => }/ParityBar/parityBar.spec.js | 2 +- .../{shell => }/ParityBar/parityBar.test.js | 0 js/src/{shell => }/Requests/index.js | 0 js/src/{shell => }/Requests/requests.css | 2 +- js/src/{shell => }/Requests/requests.js | 0 js/src/{shell => }/Requests/savedRequests.js | 0 .../Requests/savedRequests.spec.js | 2 +- .../{shell => }/Signer/Embedded/embedded.css | 0 .../{shell => }/Signer/Embedded/embedded.js | 0 js/src/{shell => }/Signer/Embedded/index.js | 0 js/src/{shell => }/Signer/_layout.css | 0 .../Account/AccountLink/accountLink.css | 0 .../Account/AccountLink/accountLink.js | 0 .../components/Account/AccountLink/index.js | 0 .../Signer/components/Account/account.css | 0 .../Signer/components/Account/account.js | 0 .../Signer/components/Account/index.js | 0 .../DecryptRequest/decryptRequest.js | 0 .../Signer/components/DecryptRequest/index.js | 0 .../Signer/components/RequestOrigin/index.js | 0 .../RequestOrigin/requestOrigin.css | 0 .../components/RequestOrigin/requestOrigin.js | 0 .../RequestOrigin/requestOrigin.spec.js | 0 .../Signer/components/RequestPending/index.js | 0 .../RequestPending/requestPending.js | 0 .../RequestPending/requestPending.spec.js | 0 .../Signer/components/SignRequest/index.js | 0 .../components/SignRequest/signRequest.css | 0 .../components/SignRequest/signRequest.js | 0 .../SignRequest/signRequest.spec.js | 0 .../TransactionMainDetails/index.js | 0 .../transactionMainDetails.css | 0 .../transactionMainDetails.js | 0 .../components/TransactionPending/index.js | 0 .../TransactionPending/transactionPending.css | 0 .../TransactionPending/transactionPending.js | 0 .../TransactionPendingForm/index.js | 0 .../transactionPendingForm.css | 0 .../transactionPendingForm.js | 0 .../TransactionPendingFormConfirm/index.js | 0 .../transactionPendingFormConfirm.css | 0 .../transactionPendingFormConfirm.js | 2 +- .../transactionPendingFormConfirm.spec.js | 0 .../TransactionPendingFormReject/index.js | 0 .../transactionPendingFormReject.css | 0 .../transactionPendingFormReject.js | 0 .../Signer/components/TxHashLink/index.js | 0 .../components/TxHashLink/txHashLink.js | 2 +- .../Signer/components/util/logger.js | 0 .../Signer/components/util/react.js | 0 .../Signer/components/util/transaction.js | 0 .../components/util/transaction.spec.js | 2 +- js/src/{shell => }/Signer/store.js | 0 js/src/{shell => }/Signer/utils/extension.js | 0 js/src/{shell => }/Signer/utils/qrscan.js | 0 js/src/{shell => }/Signer/utils/utils.js | 0 js/src/{ui => }/Snackbar/index.js | 0 js/src/{shell => }/Snackbar/snackbar.js | 0 .../{shell => }/Status/Consensus/consensus.js | 0 js/src/{shell => }/Status/Consensus/index.js | 0 js/src/{shell => }/Status/Upgrade/index.js | 0 js/src/{shell => }/Status/Upgrade/upgrade.js | 0 js/src/{shell => }/Status/index.js | 0 js/src/{shell => }/Status/status.css | 0 js/src/{shell => }/Status/status.js | 42 +- js/src/Status/store.js | 87 + js/src/{shell => }/SyncWarning/index.js | 0 .../{shell => }/SyncWarning/syncWarning.css | 0 js/src/{shell => }/SyncWarning/syncWarning.js | 0 .../SyncWarning/syncWarning.spec.js | 2 +- js/src/{shell => }/UpgradeParity/index.js | 0 js/src/{shell => }/UpgradeParity/store.js | 0 .../{shell => }/UpgradeParity/store.spec.js | 2 +- .../UpgradeParity/upgradeParity.css | 0 .../UpgradeParity/upgradeParity.js | 0 js/src/api/README.md | 146 -- js/src/dapps/index.ejs | 34 - js/src/dapps/package.json | 24 - js/src/{shell => }/embed.js | 24 +- js/src/{shell => }/index.ejs | 0 js/src/{shell => }/index.js | 3 +- js/src/parity.js | 2 +- js/src/shell/README.md | 1 - js/src/shell/package.json | 22 - js/src/views/README.md | 1 - js/test/babel.js | 2 +- js/test/e2e/ethapi.js | 2 +- js/test/mockRpc.js | 2 +- js/{npm/test => test/npm}/mocha.config.js | 0 js/{npm/test => test/npm}/mocha.opts | 0 js/test/types.js | 6 +- js/wasm/README.md | 2 +- js/wasm/ethkey/base64ify.js | 2 +- js/wasm/ethkey/build.sh | 2 +- js/webpack/app.js | 35 +- js/webpack/libraries.js | 4 +- js/webpack/npm.js | 6 +- js/webpack/rules/parity.js | 2 +- js/webpack/shared.js | 21 +- js/webpack/test.js | 4 +- js/webpack/vendor.js | 2 +- 1850 files changed, 2106 insertions(+), 902 deletions(-) rename js/{src => }/i18n/_default/account.js (100%) rename js/{src => }/i18n/_default/accounts.js (100%) rename js/{src => }/i18n/_default/addAddress.js (100%) rename js/{src => }/i18n/_default/addContract.js (100%) rename js/{src => }/i18n/_default/address.js (100%) rename js/{src => }/i18n/_default/addressSelect.js (100%) rename js/{src => }/i18n/_default/addresses.js (100%) rename js/{src => }/i18n/_default/application.js (100%) rename js/{src => }/i18n/_default/connection.js (100%) rename js/{src => }/i18n/_default/contract.js (100%) rename js/{src => }/i18n/_default/contracts.js (100%) rename js/{src => }/i18n/_default/createAccount.js (100%) rename js/{src => }/i18n/_default/createWallet.js (100%) rename js/{src => }/i18n/_default/dapp.js (100%) rename js/{src => }/i18n/_default/dapps.js (100%) rename js/{src => }/i18n/_default/deleteAccount.js (100%) rename js/{src => }/i18n/_default/deployContract.js (100%) rename js/{src => }/i18n/_default/details_windows.js (100%) rename js/{src => }/i18n/_default/editMeta.js (100%) rename js/{src => }/i18n/_default/errors.js (100%) rename js/{src => }/i18n/_default/executeContract.js (100%) rename js/{src => }/i18n/_default/extension.js (100%) rename js/{src => }/i18n/_default/faucet.js (100%) rename js/{src => }/i18n/_default/firstRun.js (100%) rename js/{src => }/i18n/_default/home.js (100%) rename js/{src => }/i18n/_default/index.js (100%) rename js/{src => }/i18n/_default/loadContract.js (100%) rename js/{src => }/i18n/_default/parityBar.js (100%) rename js/{src => }/i18n/_default/passwordChange.js (100%) rename js/{src => }/i18n/_default/saveContract.js (100%) rename js/{src => }/i18n/_default/settings.js (100%) rename js/{src => }/i18n/_default/shapeshift.js (100%) rename js/{src => }/i18n/_default/signer.js (100%) rename js/{src => }/i18n/_default/status.js (100%) rename js/{src => }/i18n/_default/tabBar.js (100%) rename js/{src => }/i18n/_default/transfer.js (100%) rename js/{src => }/i18n/_default/txEditor.js (100%) rename js/{src => }/i18n/_default/ui.js (100%) rename js/{src => }/i18n/_default/upgradeParity.js (100%) rename js/{src => }/i18n/_default/vaults.js (100%) rename js/{src => }/i18n/_default/verification.js (100%) rename js/{src => }/i18n/_default/wallet.js (100%) rename js/{src => }/i18n/_default/walletSettings.js (100%) rename js/{src => }/i18n/_default/web.js (100%) rename js/{src => }/i18n/_default/writeContract.js (100%) rename js/{src => }/i18n/constants.js (100%) rename js/{src => }/i18n/de/index.js (100%) rename js/{src => }/i18n/de/settings.js (100%) rename js/{src => }/i18n/en/index.js (100%) rename js/{src => }/i18n/en/settings.js (100%) rename js/{src => }/i18n/index.js (100%) rename js/{src => }/i18n/languages.js (100%) rename js/{src => }/i18n/languages.spec.js (100%) rename js/{src => }/i18n/nl/account.js (100%) rename js/{src => }/i18n/nl/accounts.js (100%) rename js/{src => }/i18n/nl/addAddress.js (100%) rename js/{src => }/i18n/nl/addContract.js (100%) rename js/{src => }/i18n/nl/address.js (100%) rename js/{src => }/i18n/nl/addressSelect.js (100%) rename js/{src => }/i18n/nl/addresses.js (100%) rename js/{src => }/i18n/nl/application.js (100%) rename js/{src => }/i18n/nl/connection.js (100%) rename js/{src => }/i18n/nl/contract.js (100%) rename js/{src => }/i18n/nl/contracts.js (100%) rename js/{src => }/i18n/nl/createAccount.js (100%) rename js/{src => }/i18n/nl/createWallet.js (100%) rename js/{src => }/i18n/nl/dapp.js (100%) rename js/{src => }/i18n/nl/dapps.js (100%) rename js/{src => }/i18n/nl/deleteAccount.js (100%) rename js/{src => }/i18n/nl/deployContract.js (100%) rename js/{src => }/i18n/nl/details_windows.js (100%) rename js/{src => }/i18n/nl/editMeta.js (100%) rename js/{src => }/i18n/nl/errors.js (100%) rename js/{src => }/i18n/nl/executeContract.js (100%) rename js/{src => }/i18n/nl/extension.js (100%) rename js/{src => }/i18n/nl/faucet.js (100%) rename js/{src => }/i18n/nl/firstRun.js (100%) rename js/{src => }/i18n/nl/home.js (100%) rename js/{src => }/i18n/nl/index.js (100%) rename js/{src => }/i18n/nl/loadContract.js (100%) rename js/{src => }/i18n/nl/parityBar.js (100%) rename js/{src => }/i18n/nl/passwordChange.js (100%) rename js/{src => }/i18n/nl/saveContract.js (100%) rename js/{src => }/i18n/nl/settings.js (100%) rename js/{src => }/i18n/nl/shapeshift.js (100%) rename js/{src => }/i18n/nl/signer.js (100%) rename js/{src => }/i18n/nl/status.js (100%) rename js/{src => }/i18n/nl/tabBar.js (100%) rename js/{src => }/i18n/nl/transfer.js (100%) rename js/{src => }/i18n/nl/txEditor.js (100%) rename js/{src => }/i18n/nl/ui.js (100%) rename js/{src => }/i18n/nl/upgradeParity.js (100%) rename js/{src => }/i18n/nl/vaults.js (100%) rename js/{src => }/i18n/nl/verification.js (100%) rename js/{src => }/i18n/nl/wallet.js (100%) rename js/{src => }/i18n/nl/walletSettings.js (100%) rename js/{src => }/i18n/nl/web.js (100%) rename js/{src => }/i18n/nl/writeContract.js (100%) rename js/{src => }/i18n/store.js (100%) rename js/{src => }/i18n/store.spec.js (100%) rename js/{src => }/i18n/zh-Hant-TW/account.js (100%) rename js/{src => }/i18n/zh-Hant-TW/accounts.js (100%) rename js/{src => }/i18n/zh-Hant-TW/addAddress.js (100%) rename js/{src => }/i18n/zh-Hant-TW/addContract.js (100%) rename js/{src => }/i18n/zh-Hant-TW/address.js (100%) rename js/{src => }/i18n/zh-Hant-TW/addressSelect.js (100%) rename js/{src => }/i18n/zh-Hant-TW/addresses.js (100%) rename js/{src => }/i18n/zh-Hant-TW/application.js (100%) rename js/{src => }/i18n/zh-Hant-TW/connection.js (100%) rename js/{src => }/i18n/zh-Hant-TW/contract.js (100%) rename js/{src => }/i18n/zh-Hant-TW/contracts.js (100%) rename js/{src => }/i18n/zh-Hant-TW/createAccount.js (100%) rename js/{src => }/i18n/zh-Hant-TW/createWallet.js (100%) rename js/{src => }/i18n/zh-Hant-TW/dapp.js (100%) rename js/{src => }/i18n/zh-Hant-TW/dapps.js (100%) rename js/{src => }/i18n/zh-Hant-TW/deleteAccount.js (100%) rename js/{src => }/i18n/zh-Hant-TW/deployContract.js (100%) rename js/{src => }/i18n/zh-Hant-TW/details_windows.js (100%) rename js/{src => }/i18n/zh-Hant-TW/editMeta.js (100%) rename js/{src => }/i18n/zh-Hant-TW/errors.js (100%) rename js/{src => }/i18n/zh-Hant-TW/executeContract.js (100%) rename js/{src => }/i18n/zh-Hant-TW/extension.js (100%) rename js/{src => }/i18n/zh-Hant-TW/faucet.js (100%) rename js/{src => }/i18n/zh-Hant-TW/firstRun.js (100%) rename js/{src => }/i18n/zh-Hant-TW/home.js (100%) rename js/{src => }/i18n/zh-Hant-TW/index.js (100%) rename js/{src => }/i18n/zh-Hant-TW/loadContract.js (100%) rename js/{src => }/i18n/zh-Hant-TW/parityBar.js (100%) rename js/{src => }/i18n/zh-Hant-TW/passwordChange.js (100%) rename js/{src => }/i18n/zh-Hant-TW/saveContract.js (100%) rename js/{src => }/i18n/zh-Hant-TW/settings.js (100%) rename js/{src => }/i18n/zh-Hant-TW/shapeshift.js (100%) rename js/{src => }/i18n/zh-Hant-TW/signer.js (100%) rename js/{src => }/i18n/zh-Hant-TW/status.js (100%) rename js/{src => }/i18n/zh-Hant-TW/tabBar.js (100%) rename js/{src => }/i18n/zh-Hant-TW/transfer.js (100%) rename js/{src => }/i18n/zh-Hant-TW/txEditor.js (100%) rename js/{src => }/i18n/zh-Hant-TW/ui.js (100%) rename js/{src => }/i18n/zh-Hant-TW/upgradeParity.js (100%) rename js/{src => }/i18n/zh-Hant-TW/vaults.js (100%) rename js/{src => }/i18n/zh-Hant-TW/verification.js (100%) rename js/{src => }/i18n/zh-Hant-TW/wallet.js (100%) rename js/{src => }/i18n/zh-Hant-TW/walletSettings.js (100%) rename js/{src => }/i18n/zh-Hant-TW/web.js (100%) rename js/{src => }/i18n/zh-Hant-TW/writeContract.js (100%) rename js/{src => }/i18n/zh/account.js (100%) rename js/{src => }/i18n/zh/accounts.js (100%) rename js/{src => }/i18n/zh/addAddress.js (100%) rename js/{src => }/i18n/zh/addContract.js (100%) rename js/{src => }/i18n/zh/address.js (100%) rename js/{src => }/i18n/zh/addressSelect.js (100%) rename js/{src => }/i18n/zh/addresses.js (100%) rename js/{src => }/i18n/zh/application.js (100%) rename js/{src => }/i18n/zh/connection.js (100%) rename js/{src => }/i18n/zh/contract.js (100%) rename js/{src => }/i18n/zh/contracts.js (100%) rename js/{src => }/i18n/zh/createAccount.js (100%) rename js/{src => }/i18n/zh/createWallet.js (100%) rename js/{src => }/i18n/zh/dapp.js (100%) rename js/{src => }/i18n/zh/dapps.js (100%) rename js/{src => }/i18n/zh/deleteAccount.js (100%) rename js/{src => }/i18n/zh/deployContract.js (100%) rename js/{src => }/i18n/zh/details_windows.js (100%) rename js/{src => }/i18n/zh/editMeta.js (100%) rename js/{src => }/i18n/zh/errors.js (100%) rename js/{src => }/i18n/zh/executeContract.js (100%) rename js/{src => }/i18n/zh/extension.js (100%) rename js/{src => }/i18n/zh/faucet.js (100%) rename js/{src => }/i18n/zh/firstRun.js (100%) rename js/{src => }/i18n/zh/home.js (100%) rename js/{src => }/i18n/zh/index.js (100%) rename js/{src => }/i18n/zh/loadContract.js (100%) rename js/{src => }/i18n/zh/parityBar.js (100%) rename js/{src => }/i18n/zh/passwordChange.js (100%) rename js/{src => }/i18n/zh/saveContract.js (100%) rename js/{src => }/i18n/zh/settings.js (100%) rename js/{src => }/i18n/zh/shapeshift.js (100%) rename js/{src => }/i18n/zh/signer.js (100%) rename js/{src => }/i18n/zh/status.js (100%) rename js/{src => }/i18n/zh/tabBar.js (100%) rename js/{src => }/i18n/zh/transfer.js (100%) rename js/{src => }/i18n/zh/txEditor.js (100%) rename js/{src => }/i18n/zh/ui.js (100%) rename js/{src => }/i18n/zh/upgradeParity.js (100%) rename js/{src => }/i18n/zh/vaults.js (100%) rename js/{src => }/i18n/zh/verification.js (100%) rename js/{src => }/i18n/zh/wallet.js (100%) rename js/{src => }/i18n/zh/walletSettings.js (100%) rename js/{src => }/i18n/zh/web.js (100%) rename js/{src => }/i18n/zh/writeContract.js (100%) create mode 100644 js/lerna.json delete mode 100644 js/npm/jsonrpc/README.md delete mode 100644 js/npm/parity/package.json rename js/{src => packages}/abi/README.md (100%) rename js/{src => packages}/abi/abi.js (100%) rename js/{src => packages}/abi/decoder/bytesTaken.js (100%) rename js/{src => packages}/abi/decoder/bytesTaken.spec.js (100%) rename js/{src => packages}/abi/decoder/decodeResult.js (100%) rename js/{src => packages}/abi/decoder/decodeResult.spec.js (100%) rename js/{src => packages}/abi/decoder/decoder.js (100%) rename js/{src => packages}/abi/decoder/decoder.spec.js (100%) rename js/{src => packages}/abi/decoder/index.js (100%) rename js/{src => packages}/abi/encoder/encoder.js (100%) rename js/{src => packages}/abi/encoder/encoder.spec.js (100%) rename js/{src => packages}/abi/encoder/index.js (100%) rename js/{src => packages}/abi/encoder/mediate.js (100%) rename js/{src => packages}/abi/encoder/mediate.spec.js (100%) rename js/{src => packages}/abi/index.js (100%) rename js/{src => packages}/abi/package.json (100%) rename js/{src => packages}/abi/spec/constructor.js (100%) rename js/{src => packages}/abi/spec/constructor.spec.js (100%) rename js/{src => packages}/abi/spec/event/decodedLog.js (100%) rename js/{src => packages}/abi/spec/event/decodedLog.spec.js (100%) rename js/{src => packages}/abi/spec/event/decodedLogParam.js (100%) rename js/{src => packages}/abi/spec/event/decodedLogParam.spec.js (100%) rename js/{src => packages}/abi/spec/event/event.js (100%) rename js/{src => packages}/abi/spec/event/event.spec.js (100%) rename js/{src => packages}/abi/spec/event/eventParam.js (100%) rename js/{src => packages}/abi/spec/event/eventParam.spec.js (100%) rename js/{src => packages}/abi/spec/event/index.js (100%) rename js/{src => packages}/abi/spec/function.js (100%) rename js/{src => packages}/abi/spec/function.spec.js (100%) rename js/{src => packages}/abi/spec/index.js (100%) rename js/{src => packages}/abi/spec/interface.js (100%) rename js/{src => packages}/abi/spec/interface.spec.js (100%) rename js/{src => packages}/abi/spec/param.js (100%) rename js/{src => packages}/abi/spec/param.spec.js (100%) rename js/{src => packages}/abi/spec/paramType/format.js (100%) rename js/{src => packages}/abi/spec/paramType/format.spec.js (100%) rename js/{src => packages}/abi/spec/paramType/index.js (100%) rename js/{src => packages}/abi/spec/paramType/paramType.js (100%) rename js/{src => packages}/abi/spec/paramType/paramType.spec.js (100%) rename js/{src => packages}/abi/spec/paramType/types.js (100%) rename js/{src => packages}/abi/token/index.js (100%) rename js/{src => packages}/abi/token/token.js (100%) rename js/{src => packages}/abi/token/token.spec.js (100%) rename js/{src => packages}/abi/util/address.js (100%) rename js/{src => packages}/abi/util/address.spec.js (100%) rename js/{src => packages}/abi/util/pad.js (100%) rename js/{src => packages}/abi/util/pad.spec.js (100%) rename js/{src => packages}/abi/util/signature.js (100%) rename js/{src => packages}/abi/util/signature.spec.js (100%) rename js/{src => packages}/abi/util/slice.js (100%) rename js/{src => packages}/abi/util/slice.spec.js (100%) rename js/{src => packages}/abi/util/sliceAs.js (100%) rename js/{src => packages}/abi/util/sliceAs.spec.js (100%) rename js/{src => packages}/abi/util/types.js (100%) rename js/{src => packages}/abi/util/types.spec.js (100%) rename js/{npm/parity => packages/api}/README.md (100%) rename js/{src => packages}/api/api.js (98%) rename js/{src => packages}/api/api.spec.js (100%) rename js/{src => packages}/api/contract/contract.js (100%) rename js/{src => packages}/api/contract/contract.spec.js (100%) rename js/{src => packages}/api/contract/index.js (100%) rename js/{src => packages}/api/format/input.js (100%) rename js/{src => packages}/api/format/input.spec.js (100%) rename js/{src => packages}/api/format/output.js (100%) rename js/{src => packages}/api/format/output.spec.js (100%) rename js/{src => packages}/api/index.js (100%) rename js/{src/library.parity.js => packages/api/library.js} (95%) rename js/{src => packages}/api/local/accounts/account.js (100%) rename js/{src => packages}/api/local/accounts/accounts.js (100%) rename js/{src => packages}/api/local/accounts/index.js (100%) rename js/{src => packages}/api/local/ethkey/ethkey.js (100%) rename js/{src => packages}/api/local/ethkey/ethkey.wasm.js (100%) rename js/{src => packages}/api/local/ethkey/index.js (100%) rename js/{src => packages}/api/local/ethkey/index.spec.js (100%) rename js/{src => packages}/api/local/ethkey/worker.js (98%) rename js/{src => packages}/api/local/ethkey/workerPool.js (100%) rename js/{src => packages}/api/local/index.js (100%) rename js/{src => packages}/api/local/localAccountsMiddleware.js (100%) rename js/{src => packages}/api/local/localAccountsMiddleware.spec.js (100%) rename js/{src => packages}/api/local/transactions.js (100%) rename js/{src => packages}/api/local/transactions.spec.js (100%) rename js/{src => packages}/api/package.json (100%) rename js/{src => packages}/api/provider/http.js (100%) rename js/{src => packages}/api/provider/index.js (100%) rename js/{src => packages}/api/provider/postMessage.js (100%) rename js/{src => packages}/api/provider/promise.js (100%) rename js/{src => packages}/api/provider/wsSecure.js (100%) rename js/{src => packages}/api/pubsub/eth/eth.js (100%) rename js/{src => packages}/api/pubsub/eth/index.js (100%) rename js/{src => packages}/api/pubsub/index.js (100%) rename js/{src => packages}/api/pubsub/net/index.js (100%) rename js/{src => packages}/api/pubsub/net/net.js (100%) rename js/{src => packages}/api/pubsub/parity/index.js (100%) rename js/{src => packages}/api/pubsub/parity/parity.js (100%) rename js/{src => packages}/api/pubsub/pubsub.js (100%) rename js/{src => packages}/api/pubsub/pubsub.spec.js (100%) rename js/{src => packages}/api/pubsub/pubsubBase.js (100%) rename js/{src => packages}/api/rpc/db/db.js (100%) rename js/{src => packages}/api/rpc/db/db.spec.js (100%) rename js/{src => packages}/api/rpc/db/index.js (100%) rename js/{src => packages}/api/rpc/eth/eth.e2e.js (100%) rename js/{src => packages}/api/rpc/eth/eth.js (100%) rename js/{src => packages}/api/rpc/eth/eth.spec.js (100%) rename js/{src => packages}/api/rpc/eth/index.js (100%) rename js/{src => packages}/api/rpc/index.js (100%) rename js/{src => packages}/api/rpc/net/index.js (100%) rename js/{src => packages}/api/rpc/net/net.e2e.js (100%) rename js/{src => packages}/api/rpc/net/net.js (100%) rename js/{src => packages}/api/rpc/net/net.spec.js (100%) rename js/{src => packages}/api/rpc/parity/index.js (100%) rename js/{src => packages}/api/rpc/parity/parity.e2e.js (100%) rename js/{src => packages}/api/rpc/parity/parity.js (100%) rename js/{src => packages}/api/rpc/parity/parity.spec.js (100%) rename js/{src => packages}/api/rpc/personal/index.js (100%) rename js/{src => packages}/api/rpc/personal/personal.e2e.js (100%) rename js/{src => packages}/api/rpc/personal/personal.js (100%) rename js/{src => packages}/api/rpc/personal/personal.spec.js (100%) rename js/{src => packages}/api/rpc/shell/index.js (100%) rename js/{src => packages}/api/rpc/shell/shell.js (100%) rename js/{src => packages}/api/rpc/shh/index.js (100%) rename js/{src => packages}/api/rpc/shh/shh.js (100%) rename js/{src => packages}/api/rpc/signer/index.js (100%) rename js/{src => packages}/api/rpc/signer/signer.js (100%) rename js/{src => packages}/api/rpc/trace/index.js (100%) rename js/{src => packages}/api/rpc/trace/trace.e2e.js (100%) rename js/{src => packages}/api/rpc/trace/trace.js (100%) rename js/{src => packages}/api/rpc/trace/trace.spec.js (100%) rename js/{src => packages}/api/rpc/web3/index.js (100%) rename js/{src => packages}/api/rpc/web3/web3.e2e.js (100%) rename js/{src => packages}/api/rpc/web3/web3.js (100%) rename js/{src => packages}/api/rpc/web3/web3.spec.js (100%) rename js/{src => packages}/api/subscriptions/eth.js (100%) rename js/{src => packages}/api/subscriptions/eth.spec.js (100%) rename js/{src => packages}/api/subscriptions/index.js (100%) rename js/{src => packages}/api/subscriptions/logging.js (100%) rename js/{src => packages}/api/subscriptions/logging.spec.js (100%) rename js/{src => packages}/api/subscriptions/manager.js (100%) rename js/{src => packages}/api/subscriptions/manager.spec.js (100%) rename js/{src => packages}/api/subscriptions/personal.js (100%) rename js/{src => packages}/api/subscriptions/personal.spec.js (100%) rename js/{src => packages}/api/subscriptions/signer.js (100%) rename js/{src => packages}/api/transport/error.js (100%) rename js/{src => packages}/api/transport/http/http.e2e.js (100%) rename js/{src => packages}/api/transport/http/http.js (100%) rename js/{src => packages}/api/transport/http/http.spec.js (100%) rename js/{src => packages}/api/transport/http/index.js (100%) rename js/{src => packages}/api/transport/index.js (100%) rename js/{src => packages}/api/transport/jsonRpcBase.js (100%) rename js/{src => packages}/api/transport/jsonRpcBase.spec.js (100%) rename js/{src => packages}/api/transport/middleware.js (100%) rename js/{src => packages}/api/transport/middleware.spec.js (100%) rename js/{src => packages}/api/transport/wsSecure/index.js (100%) rename js/{src => packages}/api/transport/wsSecure/wsSecure.e2e.js (100%) rename js/{src => packages}/api/transport/wsSecure/wsSecure.js (100%) rename js/{src => packages}/api/transport/wsSecure/wsSecure.spec.js (100%) rename js/{src => packages}/api/util/decode.js (100%) rename js/{src => packages}/api/util/decode.spec.js (100%) rename js/{src => packages}/api/util/encode.js (100%) rename js/{src => packages}/api/util/encode.spec.js (100%) rename js/{src => packages}/api/util/format.js (100%) rename js/{src => packages}/api/util/format.spec.js (100%) rename js/{src => packages}/api/util/identity.js (100%) rename js/{src => packages}/api/util/index.js (100%) rename js/{src => packages}/api/util/sha3.js (100%) rename js/{src => packages}/api/util/sha3.spec.js (100%) rename js/{src => packages}/api/util/types.js (100%) rename js/{src => packages}/api/util/types.spec.js (100%) rename js/{src => packages}/api/util/wei.js (100%) rename js/{src => packages}/api/util/wei.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/DeleteAccount/deleteAccount.css (100%) rename js/{src/views/Account => packages/dapp-account}/DeleteAccount/deleteAccount.js (100%) rename js/{src/views/Account => packages/dapp-account}/DeleteAccount/deleteAccount.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/DeleteAccount/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/EditMeta/editMeta.js (99%) rename js/{src/views/Account => packages/dapp-account}/EditMeta/editMeta.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/EditMeta/editMeta.test.js (100%) rename js/{src/views/Account => packages/dapp-account}/EditMeta/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/EditMeta/store.js (100%) rename js/{src/views/Account => packages/dapp-account}/EditMeta/store.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/Faucet/faucet.js (98%) rename js/{src/views/Account => packages/dapp-account}/Faucet/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Faucet/store.js (100%) rename js/{src/views/Account => packages/dapp-account}/Header/header.css (100%) rename js/{src/views/Account => packages/dapp-account}/Header/header.js (100%) rename js/{src/views/Account => packages/dapp-account}/Header/header.spec.js (100%) rename js/{src/dapps/chaindeploy/ListItem => packages/dapp-account}/Header/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/PasswordManager/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/PasswordManager/passwordManager.css (100%) rename js/{src/views/Account => packages/dapp-account}/PasswordManager/passwordManager.js (100%) rename js/{src/views/Account => packages/dapp-account}/PasswordManager/passwordManager.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/PasswordManager/passwordManager.test.js (100%) rename js/{src/views/Account => packages/dapp-account}/PasswordManager/store.js (100%) rename js/{src/views/Account => packages/dapp-account}/PasswordManager/store.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/AwaitingDepositStep/awaitingDepositStep.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/AwaitingDepositStep/awaitingDepositStep.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/AwaitingDepositStep/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/AwaitingExchangeStep/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/CompletedStep/completedStep.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/CompletedStep/completedStep.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/CompletedStep/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/ErrorStep/errorStep.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/ErrorStep/errorStep.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/ErrorStep/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/OptionsStep/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/OptionsStep/optionsStep.css (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/OptionsStep/optionsStep.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/OptionsStep/optionsSteps.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/Price/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/Price/price.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/Price/price.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/Value/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/Value/value.css (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/Value/value.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/Value/value.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/shapeshift.css (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/shapeshift.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/shapeshift.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/store.js (98%) rename js/{src/views/Account => packages/dapp-account}/Shapeshift/store.spec.js (100%) rename js/{src/dapps/dappreg => packages/dapp-account}/Transactions/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Transactions/store.js (98%) rename js/{src/views/Account => packages/dapp-account}/Transactions/store.spec.js (98%) rename js/{src/views/Account => packages/dapp-account}/Transactions/transactions.css (100%) rename js/{src/views/Account => packages/dapp-account}/Transactions/transactions.js (100%) rename js/{src/views/Account => packages/dapp-account}/Transactions/transactions.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/Transactions/transactions.test.js (100%) rename js/{src/views/Account => packages/dapp-account}/Transfer/Details/details.js (100%) rename js/{src/views/Account => packages/dapp-account}/Transfer/Details/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Transfer/Details/tokenSelect.js (100%) rename js/{src/views/Account => packages/dapp-account}/Transfer/Extras/extras.js (100%) rename js/{src/views/Account => packages/dapp-account}/Transfer/Extras/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Transfer/errors.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-account}/Transfer/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Transfer/store.js (100%) rename js/{src/views/Account => packages/dapp-account}/Transfer/transfer.css (100%) rename js/{src/views/Account => packages/dapp-account}/Transfer/transfer.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/Done/done.css (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/Done/done.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/Done/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/GatherData/gatherData.css (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/GatherData/gatherData.js (98%) rename js/{src/views/Account => packages/dapp-account}/Verification/GatherData/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/QueryCode/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/QueryCode/queryCode.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/SendConfirmation/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/SendConfirmation/sendConfirmation.css (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/SendConfirmation/sendConfirmation.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/SendRequest/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/SendRequest/sendRequest.css (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/SendRequest/sendRequest.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/email-store.js (99%) rename js/{src/3rdparty => packages/dapp-account/Verification}/email-verification/index.js (100%) rename js/{src/3rdparty => packages/dapp-account/Verification}/email-verification/terms-of-service.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/how-it-works.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/sms-store.js (98%) rename js/{src/3rdparty => packages/dapp-account/Verification}/sms-verification/index.js (100%) rename js/{src/3rdparty => packages/dapp-account/Verification}/sms-verification/terms-of-service.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/store.js (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/verification.css (100%) rename js/{src/views/Account => packages/dapp-account}/Verification/verification.js (100%) rename js/{src/views/Account => packages/dapp-account}/account.css (100%) rename js/{src/views/Account => packages/dapp-account}/account.js (99%) rename js/{src/views/Account => packages/dapp-account}/account.spec.js (100%) rename js/{src/views/Account => packages/dapp-account}/account.test.js (100%) rename js/{src/views/Account => packages/dapp-account}/api.js (100%) rename js/{src/views/Account => packages/dapp-account}/index.js (100%) rename js/{src/views/Account => packages/dapp-account}/package.json (100%) rename js/{src/views/Account => packages/dapp-account}/store.js (100%) rename js/{src/views/Account => packages/dapp-account}/store.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/AccountDetails/accountDetails.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/AccountDetails/accountDetails.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/AccountDetails/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/AccountDetailsGeth/accountDetailsGeth.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/AccountDetailsGeth/accountDetailsGeth.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/AccountDetailsGeth/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/ChangeVault/changeVault.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/ChangeVault/changeVault.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/ChangeVault/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/CreationType/creationType.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/CreationType/creationType.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/CreationType/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/GethCard/gethCard.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/GethCard/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewAccount/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewAccount/newAccount.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewAccount/newAccount.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewGeth/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewGeth/newGeth.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewGeth/newGeth.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewImport/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewImport/newImport.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewImport/newImport.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewQr/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewQr/newQr.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/NewQr/newQr.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/RawKey/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/RawKey/rawKey.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/RawKey/rawKey.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/RecoveryPhrase/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/RecoveryPhrase/recoveryPhrase.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/RecoveryPhrase/recoveryPhrase.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/TypeIcon/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/TypeIcon/typeIcon.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/createAccount.css (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/createAccount.js (99%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/createAccount.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/createAccount.test.js (98%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/errors.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/print.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/recoveryPage.ejs (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/store.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateAccount/store.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/WalletDetails/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/WalletDetails/walletDetails.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/WalletDetails/walletDetails.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/WalletInfo/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/WalletInfo/walletInfo.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/WalletInfo/walletInfo.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/WalletType/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/WalletType/walletType.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/WalletType/walletType.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/createWallet.css (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/createWallet.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/createWallet.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/createWallet.test.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/createWalletStore.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/CreateWallet/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/ExportAccount/exportAccount.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/ExportAccount/exportAccount.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/ExportAccount/exportInput/exportInput.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/ExportAccount/exportInput/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/ExportAccount/exportStore.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/ExportAccount/exportStore.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/ExportAccount/index.js (100%) rename js/{src/ui => packages/dapp-accounts}/List/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/List/list.css (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/List/list.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/Summary/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/Summary/summary.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/accounts.css (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/accounts.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/accounts.spec.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/api.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/index.js (100%) rename js/{src/views/Accounts => packages/dapp-accounts}/package.json (100%) rename js/{src/views/Address => packages/dapp-address}/Delete/delete.js (100%) rename js/{src/views/Address => packages/dapp-address}/Delete/index.js (100%) rename js/{src/views/Address => packages/dapp-address}/address.css (100%) rename js/{src/views/Address => packages/dapp-address}/address.js (96%) rename js/{src/views/Address => packages/dapp-address}/api.js (100%) rename js/{src/views/Address => packages/dapp-address}/index.js (100%) rename js/{src/views/Address => packages/dapp-address}/package.json (100%) rename js/{src/views/Addresses => packages/dapp-addresses}/AddAddress/addAddress.js (100%) rename js/{src/views/Addresses => packages/dapp-addresses}/AddAddress/addAddress.spec.js (100%) rename js/{src/views/Addresses => packages/dapp-addresses}/AddAddress/index.js (100%) rename js/{src/views/Addresses => packages/dapp-addresses}/AddAddress/store.js (100%) rename js/{src/views/Addresses => packages/dapp-addresses}/AddAddress/store.spec.js (100%) rename js/{src/views/Addresses => packages/dapp-addresses}/AddAddress/store.test.js (100%) rename js/{src/views/Addresses => packages/dapp-addresses}/addresses.css (100%) rename js/{src/views/Addresses => packages/dapp-addresses}/addresses.js (98%) rename js/{src/views/Addresses => packages/dapp-addresses}/api.js (100%) rename js/{src/views/Addresses => packages/dapp-addresses}/index.js (100%) rename js/{src/views/Addresses => packages/dapp-addresses}/package.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/Application/application.css (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/Application/application.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/Application/index.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/Contract/contract.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/Contract/index.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/Dapp/dapp.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/Dapp/index.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/ListItem/Header/header.js (100%) rename js/{src/dapps/console => packages/dapp-chaindeploy/ListItem}/Header/index.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/ListItem/Icon/icon.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/ListItem/Icon/index.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/ListItem/Row/index.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/ListItem/Row/row.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/ListItem/index.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/ListItem/listItem.css (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/ListItem/listItem.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/_dapps.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/abi/jg-voting.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/badgereg.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/code/badgereg.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/code/dappreg.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/code/gavcoin.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/code/githubhint.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/code/jg-voting.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/code/registry.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/code/signaturereg.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/code/tokendeploy.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/code/tokenreg.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/code/verifyEmail.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/code/verifySms.json (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/dappreg.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/gavcoin.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/githubhint.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/index.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/jg-voting.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/registry.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/signaturereg.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/tokendeployMgr.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/tokendeployReg.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/tokenreg.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/verifyEmail.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/verifySms.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/contracts/wallet.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/console.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/dappreg.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/gavcoin.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/githubhint.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/index.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/jg-voting.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/jg-whenblock.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/localtx.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/registry.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/signaturereg.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/tokendeploy.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/tokenreg.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/dapps/web.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/index.js (96%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/parity.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/store.js (100%) rename js/{src/dapps/chaindeploy => packages/dapp-chaindeploy}/utils.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Application/application.css (100%) rename js/{src/dapps/console => packages/dapp-console}/Application/application.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Application/application.store.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Application/index.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Autocomplete/autocomplete.css (100%) rename js/{src/dapps/console => packages/dapp-console}/Autocomplete/autocomplete.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Autocomplete/autocomplete.store.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Autocomplete/index.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Console/console.css (100%) rename js/{src/dapps/console => packages/dapp-console}/Console/console.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Console/console.store.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Console/index.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Header/header.css (100%) rename js/{src/dapps/console => packages/dapp-console}/Header/header.js (100%) rename js/{src/dapps/tokendeploy/Application => packages/dapp-console}/Header/index.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Input/index.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Input/input.css (100%) rename js/{src/dapps/console => packages/dapp-console}/Input/input.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Input/input.store.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Settings/index.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Settings/settings.css (100%) rename js/{src/dapps/console => packages/dapp-console}/Settings/settings.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Settings/settings.store.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Snippets/index.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Snippets/snippets.css (100%) rename js/{src/dapps/console => packages/dapp-console}/Snippets/snippets.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Snippets/snippets.store.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Watches/index.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Watches/watches.css (100%) rename js/{src/dapps/console => packages/dapp-console}/Watches/watches.js (100%) rename js/{src/dapps/console => packages/dapp-console}/Watches/watches.store.js (100%) rename js/{src/dapps/console => packages/dapp-console}/codemirror.css (100%) rename js/{src/dapps/console => packages/dapp-console}/index.js (98%) rename js/{src/dapps/console => packages/dapp-console}/parity.js (100%) rename js/{src/dapps/console => packages/dapp-console}/utils.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/Events/Event/event.js (98%) rename js/{src/dapps/tokendeploy/Deploy => packages/dapp-contract/Events}/Event/index.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/Events/events.js (100%) rename js/{src/dapps/githubhint => packages/dapp-contract}/Events/index.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/ExecuteContract/AdvancedStep/advancedStep.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/ExecuteContract/AdvancedStep/index.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/ExecuteContract/DetailsStep/detailsStep.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/ExecuteContract/DetailsStep/detailsStep.spec.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/ExecuteContract/DetailsStep/index.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/ExecuteContract/executeContract.css (100%) rename js/{src/views/Contract => packages/dapp-contract}/ExecuteContract/executeContract.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/ExecuteContract/executeContract.spec.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/ExecuteContract/executeContract.test.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/ExecuteContract/index.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/Queries/index.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/Queries/inputQuery.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/Queries/queries.css (100%) rename js/{src/views/Contract => packages/dapp-contract}/Queries/queries.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/api.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/contract.css (100%) rename js/{src/views/Contract => packages/dapp-contract}/contract.js (98%) rename js/{src/views/Contract => packages/dapp-contract}/index.js (100%) rename js/{src/views/Contract => packages/dapp-contract}/package.json (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/AddContract/addContract.css (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/AddContract/addContract.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/AddContract/addContract.spec.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/AddContract/addContract.test.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/AddContract/index.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/AddContract/store.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/AddContract/store.spec.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/AddContract/types.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/DeployContract/DetailsStep/detailsStep.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/DeployContract/DetailsStep/index.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/DeployContract/ParametersStep/index.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/DeployContract/ParametersStep/parametersStep.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/DeployContract/deployContract.css (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/DeployContract/deployContract.js (99%) rename js/{src/views/Contracts => packages/dapp-contracts}/DeployContract/deployContract.spec.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/DeployContract/index.js (100%) rename js/{src/views/ContractDevelop => packages/dapp-contracts}/api.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/contracts.js (99%) rename js/{src/views/Contracts => packages/dapp-contracts}/index.js (100%) rename js/{src/views/Contracts => packages/dapp-contracts}/package.json (100%) rename js/{src/views/Contracts => packages/dapp-dappAccounts}/api.js (100%) rename js/{src/views/DappAccounts => packages/dapp-dappAccounts}/dappAccounts.js (100%) rename js/{src/views/DappAccounts => packages/dapp-dappAccounts}/index.js (100%) rename js/{src/views/DappAccounts => packages/dapp-dappAccounts}/package.json (100%) rename js/{src/views/DappAccounts => packages/dapp-dappAccounts}/store.js (100%) rename js/{src/views/DappMethods => packages/dapp-dappMethods}/MethodCheck/index.js (100%) rename js/{src/views/DappMethods => packages/dapp-dappMethods}/MethodCheck/methodCheck.js (100%) rename js/{src/views/DappAccounts => packages/dapp-dappMethods}/api.js (100%) rename js/{src/views/DappMethods => packages/dapp-dappMethods}/dappMethods.css (100%) rename js/{src/views/DappMethods => packages/dapp-dappMethods}/dappMethods.js (100%) rename js/{src/views/DappMethods => packages/dapp-dappMethods}/index.js (100%) rename js/{src/views/DappMethods => packages/dapp-dappMethods}/package.json (100%) rename js/{src/views/DappMethods => packages/dapp-dappMethods}/store.js (100%) rename js/{src/views/DappMethods => packages/dapp-dappVisible}/api.js (100%) rename js/{src/views/DappVisible => packages/dapp-dappVisible}/dappVisible.css (100%) rename js/{src/views/DappVisible => packages/dapp-dappVisible}/dappVisible.js (100%) rename js/{src/views/DappVisible => packages/dapp-dappVisible}/index.js (100%) rename js/{src/views/DappVisible => packages/dapp-dappVisible}/package.json (100%) rename js/{src/views/DappVisible => packages/dapp-dappVisible}/store.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Application/application.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Application/application.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Application/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Button/button.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Button/button.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Button/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Card/card.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Card/card.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Card/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/CreateDappCard/createDappCard.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/CreateDappCard/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/DappCard/dappCard.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/DappCard/dappCard.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/DappCard/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/DappModal/dappModal.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/DappModal/dappModal.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/DappModal/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Dapps/dapps.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Dapps/dapps.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Dapps/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Input/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Input/input.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Input/input.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Modal/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Modal/modal.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Modal/modal.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/ModalDelete/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/ModalDelete/modalDelete.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/ModalRegister/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/ModalRegister/modalRegister.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/ModalUpdate/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/ModalUpdate/modalUpdate.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/SelectAccount/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/SelectAccount/selectAccount.js (100%) rename js/{src/views/Account => packages/dapp-dappreg}/Transactions/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Transactions/transactions.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Transactions/transactions.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Warning/index.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Warning/warning.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/Warning/warning.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/_colors.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/_utils.css (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/dappStore.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/dappsStore.js (100%) rename js/{src/dapps/githubhint => packages/dapp-dappreg}/index.js (97%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/parity.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/utils.js (100%) rename js/{src/dapps/dappreg => packages/dapp-dappreg}/utils.spec.js (100%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/LoadContract/index.js (100%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/LoadContract/loadContract.css (100%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/LoadContract/loadContract.js (100%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/LoadContract/loadContract.spec.js (100%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/SaveContract/index.js (100%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/SaveContract/saveContract.css (100%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/SaveContract/saveContract.js (100%) rename js/{src/views/DappVisible => packages/dapp-develop}/api.js (100%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/contractDevelop.css (100%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/contractDevelop.js (99%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/index.js (100%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/package.json (100%) rename js/{src/views/ContractDevelop => packages/dapp-develop}/store.js (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/Application/application.css (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/Application/application.js (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/Application/index.js (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/Button/button.css (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/Button/button.js (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/Button/index.js (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/Events/events.css (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/Events/events.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-githubhint}/Events/index.js (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/Loading/index.js (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/Loading/loading.css (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/Loading/loading.js (100%) rename js/{src/dapps/localtx => packages/dapp-githubhint}/index.js (97%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/parity.js (100%) rename js/{src/dapps/githubhint => packages/dapp-githubhint}/services.js (100%) rename js/{src/views/Home => packages/dapp-home}/Accounts/accounts.css (100%) rename js/{src/views/Home => packages/dapp-home}/Accounts/accounts.js (100%) rename js/{src/views/Home => packages/dapp-home}/Accounts/accounts.spec.js (100%) rename js/{src/dapps/registry => packages/dapp-home}/Accounts/index.js (100%) rename js/{src/views/Home => packages/dapp-home}/Dapps/dapp.js (100%) rename js/{src/views/Home => packages/dapp-home}/Dapps/dapp.spec.js (100%) rename js/{src/views/Home => packages/dapp-home}/Dapps/dapps.css (100%) rename js/{src/views/Home => packages/dapp-home}/Dapps/dapps.js (100%) rename js/{src/views/Home => packages/dapp-home}/Dapps/dapps.spec.js (100%) rename js/{src/views/Home => packages/dapp-home}/Dapps/dapps.test.js (100%) rename js/{src/shell => packages/dapp-home}/Dapps/index.js (100%) rename js/{src/views/Home => packages/dapp-home}/News/index.js (100%) rename js/{src/views/Home => packages/dapp-home}/News/news.css (100%) rename js/{src/views/Home => packages/dapp-home}/News/news.js (100%) rename js/{src/views/Home => packages/dapp-home}/News/news.spec.js (100%) rename js/{src/views/Home => packages/dapp-home}/News/news.test.js (100%) rename js/{src/views/Home => packages/dapp-home}/News/renderers.js (100%) rename js/{src/views/Home => packages/dapp-home}/News/store.js (100%) rename js/{src/views/Home => packages/dapp-home}/News/store.spec.js (100%) rename js/{src/views/Home => packages/dapp-home}/Urls/index.js (100%) rename js/{src/views/Home => packages/dapp-home}/Urls/urls.css (100%) rename js/{src/views/Home => packages/dapp-home}/Urls/urls.js (100%) rename js/{src/views/Home => packages/dapp-home}/Urls/urls.spec.js (100%) rename js/{src/views/Home => packages/dapp-home}/api.js (100%) rename js/{src/views/Home => packages/dapp-home}/home.css (100%) rename js/{src/views/Home => packages/dapp-home}/home.js (93%) rename js/{src/views/Home => packages/dapp-home}/home.spec.js (100%) rename js/{src/views/Home => packages/dapp-home}/index.js (100%) rename js/{src/views/Home => packages/dapp-home}/package.json (100%) rename js/{src/dapps/localtx => packages/dapp-localtx}/Application/application.css (100%) rename js/{src/dapps/localtx => packages/dapp-localtx}/Application/application.js (100%) rename js/{src/dapps/localtx => packages/dapp-localtx}/Application/application.spec.js (100%) rename js/{src/dapps/localtx => packages/dapp-localtx}/Application/index.js (100%) rename js/{src/dapps/localtx => packages/dapp-localtx}/IdentityIcon/identityIcon.css (100%) rename js/{src/dapps/localtx => packages/dapp-localtx}/IdentityIcon/identityIcon.js (100%) rename js/{src/dapps/localtx => packages/dapp-localtx}/IdentityIcon/index.js (100%) rename js/{src/dapps/localtx => packages/dapp-localtx}/Transaction/index.js (100%) rename js/{src/dapps/localtx => packages/dapp-localtx}/Transaction/transaction.css (100%) rename js/{src/dapps/localtx => packages/dapp-localtx}/Transaction/transaction.js (100%) rename js/{src/dapps/localtx => packages/dapp-localtx}/Transaction/transaction.spec.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-localtx}/index.js (97%) rename js/{src/dapps/localtx => packages/dapp-localtx}/parity.js (100%) rename js/{src/views/Playground => packages/dapp-playground}/api.js (100%) rename js/{src/views/Playground => packages/dapp-playground}/index.js (100%) rename js/{src/views/Playground => packages/dapp-playground}/package.json (100%) rename js/{src/views/Playground => packages/dapp-playground}/playground.css (100%) rename js/{src/views/Playground => packages/dapp-playground}/playground.js (100%) rename js/{src/views/Playground => packages/dapp-playground}/playground.spec.js (100%) rename js/{src/views/Playground => packages/dapp-playground}/playgroundExample.js (100%) rename js/{src/views/Playground => packages/dapp-playground}/store.js (100%) rename js/{src/views/Playground => packages/dapp-playground}/store.spec.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Accounts/accounts.css (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Accounts/accounts.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Accounts/actions.js (100%) rename js/{src/ui/VaultCard => packages/dapp-registry}/Accounts/index.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Application/application.css (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Application/application.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Application/index.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Container.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Events/actions.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Events/events.css (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Events/events.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Events/index.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Events/reducers.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/IdentityIcon/identityIcon.css (100%) rename js/{src/dapps/registry => packages/dapp-registry}/IdentityIcon/identityIcon.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/IdentityIcon/index.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Lookup/actions.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Lookup/index.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Lookup/lookup.css (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Lookup/lookup.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Lookup/reducers.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Names/actions.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Names/index.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Names/names.css (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Names/names.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Names/reducers.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Records/actions.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Records/index.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Records/records.css (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Records/records.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Records/reducers.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Reverse/actions.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Reverse/index.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Reverse/reducers.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Reverse/reverse.css (100%) rename js/{src/dapps/registry => packages/dapp-registry}/Reverse/reverse.js (98%) rename js/{src/dapps/registry => packages/dapp-registry}/actions.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/addresses/accounts-reducer.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/addresses/actions.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/addresses/contacts-reducer.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/index.js (97%) rename js/{src/dapps/registry => packages/dapp-registry}/parity.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/reducers.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/store.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/ui/address.css (100%) rename js/{src/dapps/registry => packages/dapp-registry}/ui/address.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/ui/hash.css (100%) rename js/{src/dapps/registry => packages/dapp-registry}/ui/hash.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/ui/image.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/util/actions.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/util/etherscan-url.js (93%) rename js/{src/dapps/registry => packages/dapp-registry}/util/post-tx.js (100%) rename js/{src/dapps/registry => packages/dapp-registry}/util/registry.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/Background/background.css (100%) rename js/{src/views/Settings => packages/dapp-settings}/Background/background.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/Background/index.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/Node/index.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/Node/node.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/Node/node.spec.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/Node/node.test.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/Node/store.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/Node/store.spec.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/Proxy/index.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/Proxy/proxy.css (100%) rename js/{src/views/Settings => packages/dapp-settings}/Proxy/proxy.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/Views/index.js (92%) rename js/{src/views/Settings => packages/dapp-settings}/Views/views.css (100%) rename js/{src/views/Settings => packages/dapp-settings}/Views/views.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/api.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/index.js (100%) rename js/{src/views/Settings => packages/dapp-settings}/layout.css (100%) rename js/{src/views/Settings => packages/dapp-settings}/package.json (100%) rename js/{src/views/Settings => packages/dapp-settings}/settings.css (100%) rename js/{src/views/Settings => packages/dapp-settings}/settings.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Application/application.css (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Application/application.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Application/index.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Button/button.css (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Button/button.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Button/index.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Events/events.css (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Events/events.js (100%) rename js/{src/dapps/tokendeploy/Deploy => packages/dapp-signaturereg}/Events/index.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Header/header.css (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Header/header.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Header/index.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/IdentityIcon/identityIcon.css (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/IdentityIcon/identityIcon.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/IdentityIcon/index.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Import/import.css (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Import/import.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Import/index.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Loading/index.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Loading/loading.css (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/Loading/loading.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/format.js (100%) rename js/{src/dapps/dappreg => packages/dapp-signaturereg}/index.js (97%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/parity.js (100%) rename js/{src/dapps/signaturereg => packages/dapp-signaturereg}/services.js (100%) rename js/{src/views/Signer => packages/dapp-signer}/RequestsPage/index.js (100%) rename js/{src/views/Signer => packages/dapp-signer}/RequestsPage/requestsPage.css (100%) rename js/{src/views/Signer => packages/dapp-signer}/RequestsPage/requestsPage.js (96%) rename js/{src/views/Signer => packages/dapp-signer}/api.js (100%) rename js/{src/views/Signer => packages/dapp-signer}/index.js (100%) rename js/{src/views/Signer => packages/dapp-signer}/package.json (100%) rename js/{src/views/Signer => packages/dapp-signer}/signer.js (100%) rename js/{src/views/Status => packages/dapp-status}/Debug/Logs/index.js (100%) rename js/{src/views/Status => packages/dapp-status}/Debug/Logs/logs.js (100%) rename js/{src/ui/Form => packages/dapp-status/Debug}/Toggle/index.js (100%) rename js/{src/views/Status => packages/dapp-status}/Debug/Toggle/toggle.js (100%) rename js/{src/views/Status => packages/dapp-status}/Debug/debug.css (100%) rename js/{src/views/Status => packages/dapp-status}/Debug/debug.js (100%) rename js/{src/views/Status => packages/dapp-status}/Debug/index.js (100%) rename js/{src/views/Status => packages/dapp-status}/Debug/store.js (100%) rename js/{src/views/Status => packages/dapp-status}/Health/health.js (98%) rename js/{src/views/Status => packages/dapp-status}/Health/index.js (100%) rename js/{src/views/Status => packages/dapp-status}/MiningSettings/decodeExtraData.js (100%) rename js/{src/views/Status => packages/dapp-status}/MiningSettings/decodeExtraData.spec.js (100%) rename js/{src/views/Status => packages/dapp-status}/MiningSettings/index.js (100%) rename js/{src/views/Status => packages/dapp-status}/MiningSettings/miningSettings.js (100%) rename js/{src/views/Status => packages/dapp-status}/MiningSettings/numberFromString.js (100%) rename js/{src/views/Status => packages/dapp-status}/MiningSettings/numberFromString.spec.js (100%) rename js/{src/views/Status => packages/dapp-status}/Node/index.js (100%) rename js/{src/views/Status => packages/dapp-status}/Node/node.css (100%) rename js/{src/views/Status => packages/dapp-status}/Node/node.js (100%) rename js/{src/views/Status => packages/dapp-status}/Node/store.js (100%) rename js/{src/views/Status => packages/dapp-status}/Peers/Peer/index.js (100%) rename js/{src/views/Status => packages/dapp-status}/Peers/Peer/peer.js (100%) rename js/{src/views/Status => packages/dapp-status}/Peers/index.js (100%) rename js/{src/views/Status => packages/dapp-status}/Peers/peers.css (100%) rename js/{src/views/Status => packages/dapp-status}/Peers/peers.js (100%) rename js/{src/views/Status => packages/dapp-status}/api.js (100%) rename js/{src/views/Status => packages/dapp-status}/index.js (100%) rename js/{src/views/Status => packages/dapp-status}/package.json (100%) rename js/{src/views/Status => packages/dapp-status}/status.css (100%) rename js/{src/views/Status => packages/dapp-status}/status.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/AddressSelect/addressSelect.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/AddressSelect/addressSelect.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/AddressSelect/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Application/Header/header.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Application/Header/header.js (100%) rename js/{src/views/Account => packages/dapp-tokendeploy/Application}/Header/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Application/Loading/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Application/Loading/loading.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Application/Loading/loading.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Application/application.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Application/application.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Application/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Application/pages.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Container/container.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Container/container.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Container/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Deploy/Deployment/deployment.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Deploy/Deployment/deployment.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Deploy/Deployment/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Deploy/Event/event.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Deploy/Event/event.js (100%) rename js/{src/dapps/tokendeploy/Transfer => packages/dapp-tokendeploy/Deploy}/Event/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Deploy/Events/events.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Deploy/Events/events.js (100%) rename js/{src/dapps/tokendeploy/Transfer => packages/dapp-tokendeploy/Deploy}/Events/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Deploy/deploy.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Deploy/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/IdentityIcon/identityIcon.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/IdentityIcon/identityIcon.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/IdentityIcon/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Overview/Owner/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Overview/Owner/owner.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Overview/Owner/owner.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Overview/Token/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Overview/Token/token.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Overview/Token/token.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Overview/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Overview/overview.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Overview/overview.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Transfer/Event/event.js (100%) rename js/{src/views/Contract/Events => packages/dapp-tokendeploy/Transfer}/Event/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Transfer/Events/events.js (100%) rename js/{src/views/Contract => packages/dapp-tokendeploy/Transfer}/Events/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Transfer/Send/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Transfer/Send/send.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Transfer/Send/send.js (100%) rename js/{src/views/Account => packages/dapp-tokendeploy}/Transfer/index.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/Transfer/transfer.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/_form.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/_status.css (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/background.jpg (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/index.js (98%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/parity.js (100%) rename js/{src/dapps/tokendeploy => packages/dapp-tokendeploy}/services.js (99%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Accounts/AccountSelector/account-selector.css (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Accounts/AccountSelector/account-selector.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Accounts/AccountSelector/container.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Accounts/AccountSelector/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Accounts/actions.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Accounts/reducer.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Actions/Query/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Actions/Query/query.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Actions/Register/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Actions/Register/register.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Actions/actions.css (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Actions/actions.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Actions/component.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Actions/container.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Actions/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Actions/reducer.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Application/application.css (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Application/application.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Application/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Chip/chip.css (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Chip/chip.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Chip/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Container.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/IdentityIcon/identityIcon.css (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/IdentityIcon/identityIcon.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/IdentityIcon/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Inputs/Text/container.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Inputs/Text/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Inputs/Text/input-text.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Inputs/inputs.css (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Inputs/validation.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Loading/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Loading/loading.css (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Loading/loading.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Status/actions.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Status/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Status/reducer.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Status/status.css (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Status/status.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Tokens/Token/add-meta.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Tokens/Token/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Tokens/Token/token.css (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Tokens/Token/token.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Tokens/Token/tokenContainer.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Tokens/actions.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Tokens/container.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Tokens/index.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Tokens/reducer.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Tokens/tokens.css (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/Tokens/tokens.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/constants.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/index.js (97%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/parity.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/reducers.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/store.js (100%) rename js/{src/dapps/tokenreg => packages/dapp-tokenreg}/utils.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultAccounts/index.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultAccounts/vaultAccounts.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultAccounts/vaultAccounts.spec.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultCreate/index.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultCreate/vaultCreate.css (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultCreate/vaultCreate.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultCreate/vaultCreate.spec.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultLock/index.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultLock/vaultLock.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultLock/vaultLock.spec.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultMeta/index.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultMeta/vaultMeta.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultMeta/vaultMeta.spec.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultUnlock/index.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultUnlock/vaultUnlock.css (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultUnlock/vaultUnlock.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/VaultUnlock/vaultUnlock.spec.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/api.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/index.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/package.json (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/store.js (99%) rename js/{src/views/Vaults => packages/dapp-vaults}/store.spec.js (99%) rename js/{src/views/Vaults => packages/dapp-vaults}/vaults.css (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/vaults.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/vaults.spec.js (100%) rename js/{src/views/Vaults => packages/dapp-vaults}/vaults.test.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/Confirmations/confirmations.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/Confirmations/index.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/Details/details.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/Details/index.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/Transactions/index.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/Transactions/transactions.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/WalletSettings/index.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/WalletSettings/walletSettings.css (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/WalletSettings/walletSettings.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/WalletSettings/walletSettingsStore.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/api.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/index.js (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/package.json (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/wallet.css (100%) rename js/{src/views/Wallet => packages/dapp-wallet}/wallet.js (97%) rename js/{src/views/Web => packages/dapp-web}/AddressBar/addressBar.js (100%) rename js/{src/views/Web => packages/dapp-web}/AddressBar/addressBar.spec.js (100%) rename js/{src/views/Web => packages/dapp-web}/AddressBar/index.js (100%) rename js/{src/views/Web => packages/dapp-web}/api.js (100%) rename js/{src/views/Web => packages/dapp-web}/dapplink.js (100%) rename js/{src/views/Web => packages/dapp-web}/dapplink.spec.js (100%) rename js/{src/views/Web => packages/dapp-web}/index.js (100%) rename js/{src/views/Web => packages/dapp-web}/package.json (100%) rename js/{src/views/Web => packages/dapp-web}/store.js (100%) rename js/{src/views/Web => packages/dapp-web}/store.spec.js (100%) rename js/{src/views/Web => packages/dapp-web}/web.css (100%) rename js/{src/views/Web => packages/dapp-web}/web.js (100%) rename js/{src/views/Web => packages/dapp-web}/web.spec.js (100%) rename js/{src => packages}/dapps/README.md (100%) rename js/{src/views => packages/dapps}/index.ejs (100%) rename js/{src/views => packages/dapps}/package.json (73%) rename js/{src => packages}/dapps/static/.gitkeep (100%) rename js/{src => packages}/dapps/style.css (100%) rename js/{npm => packages}/etherscan/README.md (78%) rename js/{src/3rdparty => packages}/etherscan/account.js (98%) rename js/{src/3rdparty => packages}/etherscan/account.spec.js (100%) rename js/{src/3rdparty => packages}/etherscan/call.js (100%) rename js/{src/3rdparty => packages}/etherscan/helpers.spec.js (100%) rename js/{src/3rdparty => packages}/etherscan/index.js (100%) rename js/{src/library.etherscan.js => packages/etherscan/library.js} (95%) rename js/{src/3rdparty => packages}/etherscan/links.js (100%) rename js/{src/3rdparty => packages}/etherscan/links.spec.js (100%) rename js/{npm => packages}/etherscan/package.json (100%) rename js/{src/3rdparty => packages}/etherscan/stats.js (100%) rename js/{src/3rdparty => packages}/etherscan/stats.spec.js (100%) rename js/{src => packages}/jsonrpc/.gitignore (100%) rename js/{src => packages}/jsonrpc/README.md (100%) rename js/{src => packages}/jsonrpc/helpers.js (100%) rename js/{src => packages}/jsonrpc/index.js (100%) rename js/{src => packages}/jsonrpc/index.spec.js (100%) rename js/{src => packages}/jsonrpc/interfaces/db.js (100%) rename js/{src => packages}/jsonrpc/interfaces/eth.js (100%) rename js/{src => packages}/jsonrpc/interfaces/net.js (100%) rename js/{src => packages}/jsonrpc/interfaces/parity.js (100%) rename js/{src => packages}/jsonrpc/interfaces/personal.js (100%) rename js/{src => packages}/jsonrpc/interfaces/shh.js (100%) rename js/{src => packages}/jsonrpc/interfaces/signer.js (100%) rename js/{src => packages}/jsonrpc/interfaces/trace.js (100%) rename js/{src => packages}/jsonrpc/interfaces/web3.js (100%) rename js/{src/library.jsonrpc.js => packages/jsonrpc/library.js} (95%) rename js/{src => packages}/jsonrpc/package.json (100%) rename js/{src => packages}/jsonrpc/types.js (100%) rename js/{src/3rdparty => packages}/ledger/index.js (100%) rename js/{src/3rdparty => packages}/ledger/ledger.js (100%) rename js/{src/3rdparty => packages}/ledger/ledger.spec.js (98%) rename js/{npm/jsonrpc => packages/ledger}/package.json (71%) rename js/{src/3rdparty => packages}/ledger/vendor/README.md (100%) rename js/{src/3rdparty => packages}/ledger/vendor/ledger-eth.js (100%) rename js/{src/3rdparty => packages}/ledger/vendor/ledger3.js (100%) rename js/{npm => packages}/shapeshift/README.md (83%) rename js/{src/3rdparty => packages}/shapeshift/helpers.spec.js (100%) rename js/{src/3rdparty => packages}/shapeshift/index.js (84%) rename js/{src/library.shapeshift.js => packages/shapeshift/library.js} (95%) rename js/{npm => packages}/shapeshift/package.json (100%) rename js/{src/3rdparty => packages}/shapeshift/rpc.js (100%) rename js/{src/3rdparty => packages}/shapeshift/rpc.spec.js (96%) rename js/{src/3rdparty => packages}/shapeshift/shapeshift.js (100%) rename js/{src/3rdparty => packages}/shapeshift/shapeshift.spec.js (98%) rename js/{src => packages}/shared/README.md (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/LICENSE.txt (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/font.css (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-Black.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-BlackItalic.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-Bold.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-BoldItalic.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-Italic.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-Light.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-LightItalic.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-Medium.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-MediumItalic.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-Regular.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-Thin.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/ttf/Roboto-ThinItalic.ttf (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/v15/-L14Jk06m6pUHB-5mXQQnYX0hVgzZQUfRDuZrPvH3D8.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/v15/0eC6fl06luXEYWpBSJvXCIX0hVgzZQUfRDuZrPvH3D8.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/v15/Fl4y0QdOxyyTHEGMXX8kcYX0hVgzZQUfRDuZrPvH3D8.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/v15/Hgo13k-tfSpn0qi1SFdUfZBw1xU1rKptJj_0jans920.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/v15/I3S1wsgSg9YCurV6PUkTOYX0hVgzZQUfRDuZrPvH3D8.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/v15/NYDWBdD4gIq26G5XYbHsFIX0hVgzZQUfRDuZrPvH3D8.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/Roboto/v15/Pru33qjShpZSmG3z6VYwnYX0hVgzZQUfRDuZrPvH3D8.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/LICENSE.txt (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/font.css (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Bold.ttf (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/ttf/RobotoMono-BoldItalic.ttf (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Italic.ttf (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Light.ttf (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/ttf/RobotoMono-LightItalic.ttf (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Medium.ttf (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/ttf/RobotoMono-MediumItalic.ttf (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Regular.ttf (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Thin.ttf (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/ttf/RobotoMono-ThinItalic.ttf (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz-pRBTtN4E2_qSPBnw6AgMc.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz0ExlR2MysFCBK8OirNw2kM.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2MSHb9EAJwuSzGfuRChQzQ.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2dsm03krrxlabhmVQFB99s.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9Dnm4qiMZlH5rhYv_7LI2Y.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9TIkQYohD4BpHvJ3NvbHoA.woff2 (100%) rename js/{src => packages}/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59FzyJ0caWjaSBdV-xZbEgst_k.woff2 (100%) rename js/{src => packages}/shared/assets/images/certifications/unknown.svg (100%) rename js/{src => packages}/shared/assets/images/contracts/ethereum-black-64x64.png (100%) rename js/{src => packages}/shared/assets/images/contracts/ethereum-black.png (100%) rename js/{src => packages}/shared/assets/images/contracts/ethereum-white.png (100%) rename js/{src => packages}/shared/assets/images/contracts/unknown-64x64.png (100%) rename js/{src => packages}/shared/assets/images/contracts/unknown.png (100%) rename js/{src => packages}/shared/assets/images/dapps/blocks-350.jpg (100%) rename js/{src => packages}/shared/assets/images/dapps/close.svg (100%) rename js/{src => packages}/shared/assets/images/dapps/plus.svg (100%) rename js/{src => packages}/shared/assets/images/dapps/signature.png (100%) rename js/{src => packages}/shared/assets/images/parity-logo-black-no-text.ico (100%) rename js/{src => packages}/shared/assets/images/parity-logo-black-no-text.png (100%) rename js/{src => packages}/shared/assets/images/parity-logo-black-no-text.svg (100%) rename js/{src => packages}/shared/assets/images/parity-logo-black.svg (100%) rename js/{src => packages}/shared/assets/images/parity-logo-white-no-text.svg (100%) rename js/{src => packages}/shared/assets/images/parity-logo-white.svg (100%) rename js/{src => packages}/shared/assets/images/paritybar.png (100%) rename js/{src => packages}/shared/assets/images/shapeshift-btn.png (100%) rename js/{src => packages}/shared/assets/images/shapeshift-logo.png (100%) rename js/{src => packages}/shared/config/dappsBuiltin.json (100%) rename js/{src => packages}/shared/config/dappsViews.json (98%) rename js/{src/views/Settings/Views/defaults.js => packages/shared/config/defaultViews.js} (100%) rename js/{src => packages}/shared/config/index.js (100%) rename js/{src => packages}/shared/contracts/abi/badgereg.json (100%) rename js/{src => packages}/shared/contracts/abi/basiccoin.json (100%) rename js/{src => packages}/shared/contracts/abi/basiccoinmanager.json (100%) rename js/{src => packages}/shared/contracts/abi/certifier.json (100%) rename js/{src => packages}/shared/contracts/abi/dappreg.json (100%) rename js/{src => packages}/shared/contracts/abi/eip20.json (100%) rename js/{src => packages}/shared/contracts/abi/email-verification.json (100%) rename js/{src => packages}/shared/contracts/abi/gavcoin.json (100%) rename js/{src => packages}/shared/contracts/abi/githubhint.json (100%) rename js/{src => packages}/shared/contracts/abi/index.js (100%) rename js/{src => packages}/shared/contracts/abi/old-wallet.json (100%) rename js/{src => packages}/shared/contracts/abi/owned.json (100%) rename js/{src => packages}/shared/contracts/abi/registry.json (100%) rename js/{src => packages}/shared/contracts/abi/registry2.json (100%) rename js/{src => packages}/shared/contracts/abi/signaturereg.json (100%) rename js/{src => packages}/shared/contracts/abi/sms-verification.json (100%) rename js/{src => packages}/shared/contracts/abi/tokenreg.json (100%) rename js/{src => packages}/shared/contracts/abi/wallet.json (100%) rename js/{src => packages}/shared/contracts/badgereg.js (98%) rename js/{src => packages}/shared/contracts/code/index.js (100%) rename js/{src => packages}/shared/contracts/code/wallet.js (100%) rename js/{src => packages}/shared/contracts/contracts.js (100%) rename js/{src => packages}/shared/contracts/dappreg.js (100%) rename js/{src => packages}/shared/contracts/githubhint.js (100%) rename js/{src => packages}/shared/contracts/githubhint.spec.js (100%) rename js/{src => packages}/shared/contracts/index.js (100%) rename js/{src => packages}/shared/contracts/registry.js (100%) rename js/{src => packages}/shared/contracts/registry.spec.js (98%) rename js/{src => packages}/shared/contracts/signaturereg.js (100%) rename js/{src => packages}/shared/contracts/snippets/enhanced-wallet.sol (100%) rename js/{src => packages}/shared/contracts/snippets/human-standard-token.sol (100%) rename js/{src => packages}/shared/contracts/snippets/standard-token.sol (100%) rename js/{src => packages}/shared/contracts/snippets/token.sol (100%) rename js/{src => packages}/shared/contracts/snippets/wallet.sol (100%) rename js/{src => packages}/shared/contracts/tokenreg.js (100%) rename js/{src => packages}/shared/contracts/verification.js (100%) rename js/{src => packages}/shared/environment/empty.js (100%) rename js/{src => packages}/shared/environment/index.js (100%) rename js/{src => packages}/shared/environment/integration-tests/fake-backend.js (100%) rename js/{src => packages}/shared/environment/integration-tests/index.js (100%) rename js/{src => packages}/shared/environment/perf-debug/index.js (100%) rename js/{src => packages}/shared/environment/perf-debug/why-update.js (100%) rename js/{src => packages}/shared/environment/tests/index.js (100%) rename js/{src => packages}/shared/environment/tests/test-utils.js (100%) rename js/{src => packages}/shared/mobx/hardwareStore.js (97%) rename js/{src => packages}/shared/mobx/hardwareStore.spec.js (100%) rename js/{src => packages}/shared/mobx/historyStore.js (100%) rename js/{src => packages}/shared/mobx/historyStore.spec.js (100%) rename js/{src => packages}/shared/package.json (100%) rename js/{src => packages}/shared/redux/actions.js (100%) rename js/{src => packages}/shared/redux/index.js (100%) rename js/{src => packages}/shared/redux/middleware.js (100%) rename js/{src => packages}/shared/redux/providers/apiActions.js (100%) rename js/{src => packages}/shared/redux/providers/apiReducer.js (100%) rename js/{src => packages}/shared/redux/providers/balances.js (100%) rename js/{src => packages}/shared/redux/providers/balancesActions.js (100%) rename js/{src => packages}/shared/redux/providers/balancesReducer.js (100%) rename js/{src => packages}/shared/redux/providers/certifications/actions.js (100%) rename js/{src => packages}/shared/redux/providers/certifications/middleware.js (100%) rename js/{src => packages}/shared/redux/providers/certifications/reducer.js (100%) rename js/{src => packages}/shared/redux/providers/chainMiddleware.js (100%) rename js/{src => packages}/shared/redux/providers/chainMiddleware.spec.js (98%) rename js/{src => packages}/shared/redux/providers/index.js (100%) rename js/{src => packages}/shared/redux/providers/personal.js (100%) rename js/{src => packages}/shared/redux/providers/personalActions.js (100%) rename js/{src => packages}/shared/redux/providers/personalReducer.js (100%) rename js/{src => packages}/shared/redux/providers/registry/actions.js (100%) rename js/{src => packages}/shared/redux/providers/registry/middleware.js (96%) rename js/{src => packages}/shared/redux/providers/registry/reducer.js (100%) rename js/{src => packages}/shared/redux/providers/requestsActions.js (98%) rename js/{src => packages}/shared/redux/providers/requestsActions.spec.js (100%) rename js/{src => packages}/shared/redux/providers/requestsReducer.js (100%) rename js/{src => packages}/shared/redux/providers/settings/actions.js (100%) rename js/{src => packages}/shared/redux/providers/settings/middleware.js (97%) rename js/{src => packages}/shared/redux/providers/settings/reducers.js (95%) rename js/{src => packages}/shared/redux/providers/signer.js (100%) rename js/{src => packages}/shared/redux/providers/signerActions.js (100%) rename js/{src => packages}/shared/redux/providers/signerMiddleware.js (98%) rename js/{src => packages}/shared/redux/providers/signerMiddleware.spec.js (100%) rename js/{src => packages}/shared/redux/providers/signerReducer.js (100%) rename js/{src => packages}/shared/redux/providers/snackbarActions.js (100%) rename js/{src => packages}/shared/redux/providers/snackbarReducer.js (100%) rename js/{src => packages}/shared/redux/providers/status.js (97%) rename js/{src => packages}/shared/redux/providers/statusActions.js (100%) rename js/{src => packages}/shared/redux/providers/statusReducer.js (100%) rename js/{src => packages}/shared/redux/providers/tokensActions.js (93%) rename js/{src => packages}/shared/redux/providers/tokensReducer.js (100%) rename js/{src => packages}/shared/redux/providers/walletActions.js (98%) rename js/{src => packages}/shared/redux/providers/walletReducer.js (100%) rename js/{src => packages}/shared/redux/providers/worker.js (95%) rename js/{src => packages}/shared/redux/providers/workerActions.js (100%) rename js/{src => packages}/shared/redux/providers/workerReducer.js (100%) rename js/{src => packages}/shared/redux/providers/workerWrapper.js (100%) rename js/{src => packages}/shared/redux/reducers.js (100%) rename js/{src => packages}/shared/redux/store.js (100%) rename js/{src => packages}/shared/redux/util.js (100%) rename js/{src => packages}/shared/util/abi.js (100%) rename js/{src => packages}/shared/util/constants.js (100%) rename js/{src => packages}/shared/util/dapps.js (97%) rename js/{src => packages}/shared/util/messages.js (100%) rename js/{src => packages}/shared/util/notifications.js (95%) rename js/{src => packages}/shared/util/proptypes.js (100%) rename js/{src => packages}/shared/util/signer.js (100%) rename js/{src => packages}/shared/util/solidity.js (100%) rename js/{src => packages}/shared/util/subscribe-to-events.js (100%) rename js/{src => packages}/shared/util/subscribe-to-events.spec.js (100%) rename js/{src => packages}/shared/util/subscribe-to-events.test.js (100%) rename js/{npm/parity/test/smoke.spec.js => packages/shared/util/testnet.js} (75%) rename js/{src => packages}/shared/util/tokens.js (97%) rename js/{src => packages}/shared/util/tx.js (100%) rename js/{src => packages}/shared/util/validation.js (100%) rename js/{src => packages}/shared/util/validation.spec.js (100%) rename js/{src => packages}/shared/util/wallets.js (100%) rename js/{src => packages}/ui/AccountCard/accountCard.css (100%) rename js/{src => packages}/ui/AccountCard/accountCard.example.js (97%) rename js/{src => packages}/ui/AccountCard/accountCard.js (96%) rename js/{src => packages}/ui/AccountCard/accountCard.spec.js (100%) rename js/{src => packages}/ui/AccountCard/index.js (100%) rename js/{src => packages}/ui/Actionbar/Export/export.js (95%) rename js/{src => packages}/ui/Actionbar/Export/index.js (100%) rename js/{src => packages}/ui/Actionbar/Import/import.css (100%) rename js/{src => packages}/ui/Actionbar/Import/import.js (96%) rename js/{src => packages}/ui/Actionbar/Import/index.js (100%) rename js/{src => packages}/ui/Actionbar/Search/index.js (100%) rename js/{src => packages}/ui/Actionbar/Search/search.css (100%) rename js/{src => packages}/ui/Actionbar/Search/search.js (97%) rename js/{src => packages}/ui/Actionbar/Sort/index.js (100%) rename js/{src => packages}/ui/Actionbar/Sort/sort.js (95%) rename js/{src => packages}/ui/Actionbar/Sort/sortStore.js (100%) rename js/{src => packages}/ui/Actionbar/actionbar.css (100%) rename js/{src => packages}/ui/Actionbar/actionbar.js (100%) rename js/{src => packages}/ui/Actionbar/actionbar.spec.js (100%) rename js/{src => packages}/ui/Actionbar/index.js (100%) rename js/{src => packages}/ui/Badge/badge.css (100%) rename js/{src => packages}/ui/Badge/badge.js (100%) rename js/{src => packages}/ui/Badge/badge.spec.js (100%) rename js/{src => packages}/ui/Badge/index.js (100%) rename js/{src => packages}/ui/Balance/balance.css (100%) rename js/{src => packages}/ui/Balance/balance.js (98%) rename js/{src => packages}/ui/Balance/balance.spec.js (100%) rename js/{src => packages}/ui/Balance/index.js (100%) rename js/{src => packages}/ui/BlockStatus/blockStatus.css (100%) rename js/{src => packages}/ui/BlockStatus/blockStatus.js (100%) rename js/{src => packages}/ui/BlockStatus/blockStatus.spec.js (100%) rename js/{src => packages}/ui/BlockStatus/index.js (100%) rename js/{src => packages}/ui/Button/button.css (100%) rename js/{src => packages}/ui/Button/button.js (100%) rename js/{src => packages}/ui/Button/button.spec.js (100%) rename js/{src => packages}/ui/Button/index.js (100%) rename js/{src => packages}/ui/Certifications/certifications.css (100%) rename js/{src => packages}/ui/Certifications/certifications.js (98%) rename js/{src => packages}/ui/Certifications/index.js (100%) rename js/{src => packages}/ui/ConfirmDialog/confirmDialog.css (100%) rename js/{src => packages}/ui/ConfirmDialog/confirmDialog.js (100%) rename js/{src => packages}/ui/ConfirmDialog/confirmDialog.spec.js (100%) rename js/{src => packages}/ui/ConfirmDialog/index.js (100%) rename js/{src => packages}/ui/Container/Title/Actions/actions.js (100%) rename js/{src => packages}/ui/Container/Title/Actions/index.js (100%) rename js/{src => packages}/ui/Container/Title/Byline/byline.js (100%) rename js/{src => packages}/ui/Container/Title/Byline/index.js (100%) rename js/{src => packages}/ui/Container/Title/Description/description.js (100%) rename js/{src => packages}/ui/Container/Title/Description/index.js (100%) rename js/{src => packages}/ui/Container/Title/index.js (100%) rename js/{src => packages}/ui/Container/Title/title.css (100%) rename js/{src => packages}/ui/Container/Title/title.js (100%) rename js/{src => packages}/ui/Container/Title/title.spec.js (100%) rename js/{src => packages}/ui/Container/container.css (100%) rename js/{src => packages}/ui/Container/container.js (100%) rename js/{src => packages}/ui/Container/container.spec.js (100%) rename js/{src => packages}/ui/Container/index.js (100%) rename js/{src => packages}/ui/ContextProvider/contextProvider.js (100%) rename js/{src => packages}/ui/ContextProvider/index.js (100%) rename js/{src => packages}/ui/CopyToClipboard/copyToClipboard.css (100%) rename js/{src => packages}/ui/CopyToClipboard/copyToClipboard.js (98%) rename js/{src => packages}/ui/CopyToClipboard/index.js (100%) rename js/{src => packages}/ui/CurrencySymbol/currencySymbol.example.js (95%) rename js/{src => packages}/ui/CurrencySymbol/currencySymbol.js (100%) rename js/{src => packages}/ui/CurrencySymbol/currencySymbol.spec.js (100%) rename js/{src => packages}/ui/CurrencySymbol/index.js (100%) rename js/{src => packages}/ui/DappCard/dappCard.css (100%) rename js/{src => packages}/ui/DappCard/dappCard.js (94%) rename js/{src => packages}/ui/DappCard/index.js (100%) rename js/{src => packages}/ui/DappIcon/dappIcon.css (100%) rename js/{src => packages}/ui/DappIcon/dappIcon.js (97%) rename js/{src => packages}/ui/DappIcon/dappIcon.spec.js (100%) rename js/{src => packages}/ui/DappIcon/index.js (100%) rename js/{src => packages}/ui/DappLink/dappLink.css (100%) rename js/{src => packages}/ui/DappLink/dappLink.js (100%) rename js/{src => packages}/ui/DappLink/index.js (100%) rename js/{src => packages}/ui/Editor/editor.js (97%) rename js/{src => packages}/ui/Editor/index.js (100%) rename js/{src => packages}/ui/Editor/mode-solidity.js (100%) rename js/{src => packages}/ui/Errors/actions.js (100%) rename js/{src => packages}/ui/Errors/errors.css (100%) rename js/{src => packages}/ui/Errors/errors.js (98%) rename js/{src => packages}/ui/Errors/index.js (100%) rename js/{src => packages}/ui/Errors/middleware.js (100%) rename js/{src => packages}/ui/Errors/reducers.js (100%) rename js/{src => packages}/ui/Features/constants.js (100%) rename js/{src => packages}/ui/Features/defaults.js (100%) rename js/{src => packages}/ui/Features/defaults.spec.js (100%) rename js/{src => packages}/ui/Features/features.css (100%) rename js/{src => packages}/ui/Features/features.js (96%) rename js/{src => packages}/ui/Features/features.spec.js (100%) rename js/{src => packages}/ui/Features/index.js (100%) rename js/{src => packages}/ui/Features/store.js (100%) rename js/{src => packages}/ui/Features/store.spec.js (100%) rename js/{src => packages}/ui/Form/AddressSelect/addressSelect.css (100%) rename js/{src => packages}/ui/Form/AddressSelect/addressSelect.js (98%) rename js/{src => packages}/ui/Form/AddressSelect/addressSelectStore.js (100%) rename js/{src => packages}/ui/Form/AddressSelect/index.js (100%) rename js/{src => packages}/ui/Form/Checkbox/checkbox.js (100%) rename js/{src => packages}/ui/Form/Checkbox/index.js (100%) rename js/{src => packages}/ui/Form/DappUrlInput/dappUrlInput.js (100%) rename js/{src => packages}/ui/Form/DappUrlInput/dappUrlInput.spec.js (100%) rename js/{src => packages}/ui/Form/DappUrlInput/index.js (100%) rename js/{src => packages}/ui/Form/Dropdown/dropdown.css (100%) rename js/{src => packages}/ui/Form/Dropdown/dropdown.js (100%) rename js/{src => packages}/ui/Form/Dropdown/index.js (100%) rename js/{src => packages}/ui/Form/FileSelect/fileSelect.css (100%) rename js/{src => packages}/ui/Form/FileSelect/fileSelect.js (100%) rename js/{src => packages}/ui/Form/FileSelect/fileSelect.spec.js (100%) rename js/{src => packages}/ui/Form/FileSelect/index.js (100%) rename js/{src => packages}/ui/Form/Input/index.js (100%) rename js/{src => packages}/ui/Form/Input/input.css (100%) rename js/{src => packages}/ui/Form/Input/input.js (98%) rename js/{src => packages}/ui/Form/InputAddress/index.js (100%) rename js/{src => packages}/ui/Form/InputAddress/inputAddress.css (100%) rename js/{src => packages}/ui/Form/InputAddress/inputAddress.js (98%) rename js/{src => packages}/ui/Form/InputAddressSelect/index.js (100%) rename js/{src => packages}/ui/Form/InputAddressSelect/inputAddressSelect.js (100%) rename js/{src => packages}/ui/Form/InputChip/Chip/chip.css (100%) rename js/{src => packages}/ui/Form/InputChip/Chip/chip.js (97%) rename js/{src => packages}/ui/Form/InputChip/Chip/index.js (100%) rename js/{src => packages}/ui/Form/InputChip/index.js (100%) rename js/{src => packages}/ui/Form/InputChip/inputChip.js (98%) rename js/{src => packages}/ui/Form/InputDateTime/index.js (100%) rename js/{src => packages}/ui/Form/InputDateTime/inputDateTime.css (100%) rename js/{src => packages}/ui/Form/InputDateTime/inputDateTime.js (97%) rename js/{src => packages}/ui/Form/Label/index.js (100%) rename js/{src => packages}/ui/Form/Label/label.css (100%) rename js/{src => packages}/ui/Form/Label/label.js (100%) rename js/{src => packages}/ui/Form/LabelWrapper/index.js (100%) rename js/{src => packages}/ui/Form/LabelWrapper/labelWrapper.js (100%) rename js/{src => packages}/ui/Form/PasswordStrength/index.js (100%) rename js/{src => packages}/ui/Form/PasswordStrength/passwordStrength.css (100%) rename js/{src => packages}/ui/Form/PasswordStrength/passwordStrength.js (96%) rename js/{src => packages}/ui/Form/PasswordStrength/passwordStrength.spec.js (100%) rename js/{src => packages}/ui/Form/RadioButtons/index.js (100%) rename js/{src => packages}/ui/Form/RadioButtons/radioButtons.css (100%) rename js/{src => packages}/ui/Form/RadioButtons/radioButtons.js (100%) rename js/{src => packages}/ui/Form/Slider/index.js (100%) rename js/{src => packages}/ui/Form/Slider/slider.css (100%) rename js/{src => packages}/ui/Form/Slider/slider.js (100%) rename js/{src/views/Status/Debug => packages/ui/Form}/Toggle/index.js (100%) rename js/{src => packages}/ui/Form/Toggle/toggle.js (100%) rename js/{src => packages}/ui/Form/TypedInput/index.js (100%) rename js/{src => packages}/ui/Form/TypedInput/typedInput.css (100%) rename js/{src => packages}/ui/Form/TypedInput/typedInput.js (97%) rename js/{src => packages}/ui/Form/TypedInput/typedInput.spec.js (100%) rename js/{src => packages}/ui/Form/VaultSelect/VaultSelector/index.js (100%) rename js/{src => packages}/ui/Form/VaultSelect/VaultSelector/vaultSelector.js (94%) rename js/{src => packages}/ui/Form/VaultSelect/VaultSelector/vaultSelector.spec.js (100%) rename js/{src => packages}/ui/Form/VaultSelect/index.js (100%) rename js/{src => packages}/ui/Form/VaultSelect/vaultSelect.js (98%) rename js/{src => packages}/ui/Form/VaultSelect/vaultSelect.spec.js (100%) rename js/{src => packages}/ui/Form/form.css (100%) rename js/{src => packages}/ui/Form/form.js (100%) rename js/{src => packages}/ui/Form/index.js (100%) rename js/{src => packages}/ui/GasPriceEditor/gasPriceEditor.css (100%) rename js/{src => packages}/ui/GasPriceEditor/gasPriceEditor.js (100%) rename js/{src => packages}/ui/GasPriceEditor/gasPriceEditor.spec.js (100%) rename js/{src => packages}/ui/GasPriceEditor/index.js (100%) rename js/{src => packages}/ui/GasPriceEditor/store.js (100%) rename js/{src => packages}/ui/GasPriceEditor/store.spec.js (100%) rename js/{src => packages}/ui/GasPriceSelector/CustomBar/customBar.js (100%) rename js/{src => packages}/ui/GasPriceSelector/CustomBar/index.js (100%) rename js/{src => packages}/ui/GasPriceSelector/CustomCursor/customCursor.js (100%) rename js/{src => packages}/ui/GasPriceSelector/CustomCursor/index.js (100%) rename js/{src => packages}/ui/GasPriceSelector/CustomShape/customShape.js (100%) rename js/{src => packages}/ui/GasPriceSelector/CustomShape/index.js (100%) rename js/{src => packages}/ui/GasPriceSelector/CustomTooltip/customTooltip.js (100%) rename js/{src => packages}/ui/GasPriceSelector/CustomTooltip/index.js (100%) rename js/{src => packages}/ui/GasPriceSelector/gasPriceSelector.css (100%) rename js/{src => packages}/ui/GasPriceSelector/gasPriceSelector.js (99%) rename js/{src => packages}/ui/GasPriceSelector/index.js (100%) rename js/{src => packages}/ui/GasPriceSelector/util.js (100%) rename js/{src => packages}/ui/IconCache/iconCache.js (100%) rename js/{src => packages}/ui/IconCache/index.js (100%) rename js/{src => packages}/ui/Icons/index.js (100%) rename js/{src => packages}/ui/Icons/index.spec.js (100%) rename js/{src => packages}/ui/IdentityIcon/identityIcon.css (100%) rename js/{src => packages}/ui/IdentityIcon/identityIcon.js (97%) rename js/{src => packages}/ui/IdentityIcon/identityIcon.spec.js (100%) rename js/{src => packages}/ui/IdentityIcon/index.js (100%) rename js/{src => packages}/ui/IdentityName/identityName.js (98%) rename js/{src => packages}/ui/IdentityName/identityName.spec.js (100%) rename js/{src => packages}/ui/IdentityName/index.js (100%) rename js/{src => packages}/ui/LanguageSelector/index.js (100%) rename js/{src => packages}/ui/LanguageSelector/languageSelector.js (100%) rename js/{src => packages}/ui/LanguageSelector/langugeSelector.spec.js (100%) rename js/{src => packages}/ui/List/Item/index.js (100%) rename js/{src => packages}/ui/List/Item/item.css (100%) rename js/{src => packages}/ui/List/Item/item.js (100%) rename js/{src/views/Accounts => packages/ui}/List/index.js (100%) rename js/{src => packages}/ui/List/list.css (100%) rename js/{src => packages}/ui/List/list.js (100%) rename js/{src => packages}/ui/Loading/index.js (100%) rename js/{src => packages}/ui/Loading/loading.css (100%) rename js/{src => packages}/ui/Loading/loading.js (100%) rename js/{src => packages}/ui/MethodDecoding/index.js (100%) rename js/{src => packages}/ui/MethodDecoding/methodDecoding.css (100%) rename js/{src => packages}/ui/MethodDecoding/methodDecoding.js (99%) rename js/{src => packages}/ui/MethodDecoding/methodDecodingStore.js (100%) rename js/{src => packages}/ui/Modal/Busy/busy.css (100%) rename js/{src => packages}/ui/Modal/Busy/busy.js (100%) rename js/{src => packages}/ui/Modal/Busy/index.js (100%) rename js/{src => packages}/ui/Modal/Completed/completed.css (100%) rename js/{src => packages}/ui/Modal/Completed/completed.js (100%) rename js/{src/shell/FirstRun => packages/ui/Modal}/Completed/index.js (100%) rename js/{src => packages}/ui/Modal/index.js (100%) rename js/{src => packages}/ui/ModalBox/index.js (100%) rename js/{src => packages}/ui/ModalBox/modalBox.css (100%) rename js/{src => packages}/ui/ModalBox/modalBox.js (100%) rename js/{src => packages}/ui/ModalBox/modalBox.spec.js (100%) rename js/{src => packages}/ui/Page/index.js (100%) rename js/{src => packages}/ui/Page/page.css (100%) rename js/{src => packages}/ui/Page/page.js (100%) rename js/{src => packages}/ui/Page/page.spec.js (100%) rename js/{src => packages}/ui/ParityBackground/index.js (100%) rename js/{src => packages}/ui/ParityBackground/parityBackground.js (100%) rename js/{src => packages}/ui/Popup/index.js (100%) rename js/{src => packages}/ui/Popup/popup.js (100%) rename js/{src => packages}/ui/Portal/index.js (100%) rename js/{src => packages}/ui/Portal/portal.css (100%) rename js/{src => packages}/ui/Portal/portal.example.js (96%) rename js/{src => packages}/ui/Portal/portal.js (97%) rename js/{src => packages}/ui/Portal/portal.spec.js (100%) rename js/{src => packages}/ui/Progress/index.js (100%) rename js/{src => packages}/ui/Progress/progress.js (100%) rename js/{src => packages}/ui/QrCode/index.js (100%) rename js/{src => packages}/ui/QrCode/qrCode.css (100%) rename js/{src => packages}/ui/QrCode/qrCode.example.js (95%) rename js/{src => packages}/ui/QrCode/qrCode.js (100%) rename js/{src => packages}/ui/QrCode/qrCode.spec.js (100%) rename js/{src => packages}/ui/QrCode/qrSize.js (100%) rename js/{src => packages}/ui/QrScan/index.js (100%) rename js/{src => packages}/ui/QrScan/qrScan.css (100%) rename js/{src => packages}/ui/QrScan/qrScan.js (100%) rename js/{src => packages}/ui/QrScan/qrScan.spec.js (100%) rename js/{src => packages}/ui/REDAME.md (100%) rename js/{src => packages}/ui/ScrollableText/index.js (100%) rename js/{src => packages}/ui/ScrollableText/scrollableText.css (100%) rename js/{src => packages}/ui/ScrollableText/scrollableText.js (100%) rename js/{src => packages}/ui/SectionList/Overlay/index.js (100%) rename js/{src => packages}/ui/SectionList/Overlay/overlay.css (100%) rename js/{src => packages}/ui/SectionList/Overlay/overlay.js (100%) rename js/{src => packages}/ui/SectionList/array.js (100%) rename js/{src => packages}/ui/SectionList/array.spec.js (100%) rename js/{src => packages}/ui/SectionList/index.js (100%) rename js/{src => packages}/ui/SectionList/sectionList.css (100%) rename js/{src => packages}/ui/SectionList/sectionList.example.js (96%) rename js/{src => packages}/ui/SectionList/sectionList.js (100%) rename js/{src => packages}/ui/SectionList/sectionList.spec.js (100%) rename js/{src => packages}/ui/SelectionList/index.js (100%) rename js/{src => packages}/ui/SelectionList/selectionList.css (100%) rename js/{src => packages}/ui/SelectionList/selectionList.js (97%) rename js/{src => packages}/ui/SelectionList/selectionList.spec.js (100%) rename js/{src => packages}/ui/ShortenedHash/index.js (100%) rename js/{src => packages}/ui/ShortenedHash/shortenedHash.css (100%) rename js/{src => packages}/ui/ShortenedHash/shortenedHash.js (100%) rename js/{src => packages}/ui/SignerIcon/index.js (100%) rename js/{src => packages}/ui/SignerIcon/signerIcon.js (100%) rename js/{src/shell => packages/ui}/Snackbar/index.js (100%) rename js/{src => packages}/ui/Snackbar/snackbar.css (100%) rename js/{src => packages}/ui/Snackbar/snackbar.js (100%) rename js/{src => packages}/ui/StackEventListener/index.js (100%) rename js/{src => packages}/ui/StackEventListener/stackEventListener.js (100%) rename js/{src => packages}/ui/StatusIndicator/index.js (100%) rename js/{src => packages}/ui/StatusIndicator/statusIndicator.css (97%) rename js/{src => packages}/ui/StatusIndicator/statusIndicator.js (100%) rename js/{src => packages}/ui/Steps/Step/index.js (100%) rename js/{src => packages}/ui/Steps/Step/step.js (100%) rename js/{src => packages}/ui/Steps/index.js (100%) rename js/{src => packages}/ui/Steps/steps.js (100%) rename js/{src => packages}/ui/Steps/steps.spec.js (100%) rename js/{src => packages}/ui/Tabs/Tab/index.js (100%) rename js/{src => packages}/ui/Tabs/Tab/tab.js (100%) rename js/{src => packages}/ui/Tabs/index.js (100%) rename js/{src => packages}/ui/Tabs/tabs.js (100%) rename js/{src => packages}/ui/Tags/index.js (100%) rename js/{src => packages}/ui/Tags/tags.css (100%) rename js/{src => packages}/ui/Tags/tags.js (100%) create mode 100644 js/packages/ui/Theme/index.js create mode 100644 js/packages/ui/Theme/theme.js create mode 100644 js/packages/ui/Theme/theme.spec.js rename js/{src => packages}/ui/Title/Waiting/index.js (100%) rename js/{src => packages}/ui/Title/Waiting/waiting.js (96%) rename js/{src => packages}/ui/Title/Waiting/waiting.spec.js (100%) rename js/{src => packages}/ui/Title/index.js (100%) rename js/{src => packages}/ui/Title/title.css (100%) rename js/{src => packages}/ui/Title/title.js (95%) rename js/{src => packages}/ui/Title/title.spec.js (100%) rename js/{src => packages}/ui/TokenImage/index.js (100%) rename js/{src => packages}/ui/TokenImage/tokenImage.js (97%) rename js/{src => packages}/ui/TxHash/index.js (100%) rename js/{src => packages}/ui/TxHash/txHash.css (100%) rename js/{src => packages}/ui/TxHash/txHash.js (97%) rename js/{src => packages}/ui/TxHash/txHash.spec.js (100%) rename js/{src => packages}/ui/TxList/TxRow/index.js (100%) rename js/{src => packages}/ui/TxList/TxRow/txRow.js (97%) rename js/{src => packages}/ui/TxList/TxRow/txRow.spec.js (100%) rename js/{src => packages}/ui/TxList/index.js (100%) rename js/{src => packages}/ui/TxList/store.js (100%) rename js/{src => packages}/ui/TxList/store.spec.js (100%) rename js/{src => packages}/ui/TxList/txList.css (100%) rename js/{src => packages}/ui/TxList/txList.js (100%) rename js/{src => packages}/ui/TxList/txList.spec.js (100%) rename js/{src => packages}/ui/VaultCard/Accounts/accounts.js (95%) rename js/{src => packages}/ui/VaultCard/Accounts/accounts.spec.js (100%) rename js/{src/views/Home => packages/ui/VaultCard}/Accounts/index.js (100%) rename js/{src => packages}/ui/VaultCard/Buttons/buttons.js (93%) rename js/{src => packages}/ui/VaultCard/Buttons/index.js (100%) rename js/{src => packages}/ui/VaultCard/Layout/index.js (100%) rename js/{src => packages}/ui/VaultCard/Layout/layout.css (100%) rename js/{src => packages}/ui/VaultCard/Layout/layout.js (95%) rename js/{src => packages}/ui/VaultCard/Layout/layout.spec.js (100%) rename js/{src => packages}/ui/VaultCard/index.js (100%) rename js/{src => packages}/ui/VaultCard/vaultCard.css (100%) rename js/{src => packages}/ui/VaultCard/vaultCard.js (97%) rename js/{src => packages}/ui/VaultCard/vaultCard.spec.js (100%) rename js/{src => packages}/ui/VaultTag/index.js (100%) rename js/{src => packages}/ui/VaultTag/vaultTag.css (100%) rename js/{src => packages}/ui/VaultTag/vaultTag.js (96%) rename js/{src => packages}/ui/Warning/index.js (100%) rename js/{src => packages}/ui/Warning/warning.css (100%) rename js/{src => packages}/ui/Warning/warning.js (100%) rename js/{src => packages}/ui/_colors.css (100%) rename js/{src => packages}/ui/index.js (99%) rename js/{src => packages}/ui/package.json (100%) rename js/src/{views/Application => Application.orig}/Status/status.js (98%) rename js/src/{views/Application => Application.orig}/TabBar/tabBar.css (100%) rename js/src/{views/Application => Application.orig}/TabBar/tabBar.js (98%) rename js/src/{shell => }/Application/application.css (100%) rename js/src/{shell => }/Application/application.js (100%) rename js/src/{shell => }/Application/index.js (100%) rename js/src/{shell => }/Application/store.js (100%) rename js/src/{shell => }/Connection/connection.css (92%) rename js/src/{shell => }/Connection/connection.js (100%) rename js/src/{shell => }/Connection/connection.spec.js (99%) rename js/src/{shell => }/Connection/index.js (100%) rename js/src/{shell => }/Dapp/dapp.css (100%) rename js/src/{shell => }/Dapp/dapp.js (100%) rename js/src/{shell => }/Dapp/index.js (100%) rename js/src/{shell => }/DappRequests/Request/index.js (100%) rename js/src/{shell => }/DappRequests/Request/request.js (100%) rename js/src/{shell => }/DappRequests/dappRequests.css (100%) rename js/src/{shell => }/DappRequests/dappRequests.js (100%) rename js/src/{shell => }/DappRequests/filteredRequests.js (100%) rename js/src/{shell => }/DappRequests/index.js (100%) rename js/src/{shell => }/DappRequests/store.js (100%) rename js/src/{shell => }/Dapps/dappStore.spec.js (99%) rename js/src/{shell => }/Dapps/dapps.css (97%) rename js/src/{shell => }/Dapps/dapps.js (100%) rename js/src/{shell => }/Dapps/dappsStore.js (100%) rename js/src/{views/Home => }/Dapps/index.js (100%) rename js/src/{shell => }/Extension/extension.css (100%) rename js/src/{shell => }/Extension/extension.js (100%) rename js/src/{shell => }/Extension/index.js (100%) rename js/src/{shell => }/Extension/store.js (100%) rename js/src/{shell => }/FirstRun/Completed/completed.js (100%) rename js/src/{ui/Modal => FirstRun}/Completed/index.js (100%) rename js/src/{shell => }/FirstRun/TnC/index.js (100%) rename js/src/{shell => }/FirstRun/TnC/tnc.js (100%) rename js/src/{shell => }/FirstRun/TnC/tnc.md (100%) rename js/src/{shell => }/FirstRun/Welcome/index.js (100%) rename js/src/{shell => }/FirstRun/Welcome/welcome.js (100%) rename js/src/{shell => }/FirstRun/firstRun.css (98%) rename js/src/{shell => }/FirstRun/firstRun.js (95%) rename js/src/{shell => }/FirstRun/firstRun.spec.js (97%) rename js/src/{shell => }/FirstRun/index.js (100%) rename js/src/{shell => }/ParityBar/accountStore.js (100%) rename js/src/{shell => }/ParityBar/accountStore.spec.js (98%) rename js/src/{shell => }/ParityBar/index.js (100%) rename js/src/{shell => }/ParityBar/parityBar.css (99%) rename js/src/{shell => }/ParityBar/parityBar.js (99%) rename js/src/{shell => }/ParityBar/parityBar.spec.js (99%) rename js/src/{shell => }/ParityBar/parityBar.test.js (100%) rename js/src/{shell => }/Requests/index.js (100%) rename js/src/{shell => }/Requests/requests.css (98%) rename js/src/{shell => }/Requests/requests.js (100%) rename js/src/{shell => }/Requests/savedRequests.js (100%) rename js/src/{shell => }/Requests/savedRequests.spec.js (98%) rename js/src/{shell => }/Signer/Embedded/embedded.css (100%) rename js/src/{shell => }/Signer/Embedded/embedded.js (100%) rename js/src/{shell => }/Signer/Embedded/index.js (100%) rename js/src/{shell => }/Signer/_layout.css (100%) rename js/src/{shell => }/Signer/components/Account/AccountLink/accountLink.css (100%) rename js/src/{shell => }/Signer/components/Account/AccountLink/accountLink.js (100%) rename js/src/{shell => }/Signer/components/Account/AccountLink/index.js (100%) rename js/src/{shell => }/Signer/components/Account/account.css (100%) rename js/src/{shell => }/Signer/components/Account/account.js (100%) rename js/src/{shell => }/Signer/components/Account/index.js (100%) rename js/src/{shell => }/Signer/components/DecryptRequest/decryptRequest.js (100%) rename js/src/{shell => }/Signer/components/DecryptRequest/index.js (100%) rename js/src/{shell => }/Signer/components/RequestOrigin/index.js (100%) rename js/src/{shell => }/Signer/components/RequestOrigin/requestOrigin.css (100%) rename js/src/{shell => }/Signer/components/RequestOrigin/requestOrigin.js (100%) rename js/src/{shell => }/Signer/components/RequestOrigin/requestOrigin.spec.js (100%) rename js/src/{shell => }/Signer/components/RequestPending/index.js (100%) rename js/src/{shell => }/Signer/components/RequestPending/requestPending.js (100%) rename js/src/{shell => }/Signer/components/RequestPending/requestPending.spec.js (100%) rename js/src/{shell => }/Signer/components/SignRequest/index.js (100%) rename js/src/{shell => }/Signer/components/SignRequest/signRequest.css (100%) rename js/src/{shell => }/Signer/components/SignRequest/signRequest.js (100%) rename js/src/{shell => }/Signer/components/SignRequest/signRequest.spec.js (100%) rename js/src/{shell => }/Signer/components/TransactionMainDetails/index.js (100%) rename js/src/{shell => }/Signer/components/TransactionMainDetails/transactionMainDetails.css (100%) rename js/src/{shell => }/Signer/components/TransactionMainDetails/transactionMainDetails.js (100%) rename js/src/{shell => }/Signer/components/TransactionPending/index.js (100%) rename js/src/{shell => }/Signer/components/TransactionPending/transactionPending.css (100%) rename js/src/{shell => }/Signer/components/TransactionPending/transactionPending.js (100%) rename js/src/{shell => }/Signer/components/TransactionPendingForm/index.js (100%) rename js/src/{shell => }/Signer/components/TransactionPendingForm/transactionPendingForm.css (100%) rename js/src/{shell => }/Signer/components/TransactionPendingForm/transactionPendingForm.js (100%) rename js/src/{shell => }/Signer/components/TransactionPendingFormConfirm/index.js (100%) rename js/src/{shell => }/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.css (100%) rename js/src/{shell => }/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.js (99%) rename js/src/{shell => }/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.spec.js (100%) rename js/src/{shell => }/Signer/components/TransactionPendingFormReject/index.js (100%) rename js/src/{shell => }/Signer/components/TransactionPendingFormReject/transactionPendingFormReject.css (100%) rename js/src/{shell => }/Signer/components/TransactionPendingFormReject/transactionPendingFormReject.js (100%) rename js/src/{shell => }/Signer/components/TxHashLink/index.js (100%) rename js/src/{shell => }/Signer/components/TxHashLink/txHashLink.js (96%) rename js/src/{shell => }/Signer/components/util/logger.js (100%) rename js/src/{shell => }/Signer/components/util/react.js (100%) rename js/src/{shell => }/Signer/components/util/transaction.js (100%) rename js/src/{shell => }/Signer/components/util/transaction.spec.js (97%) rename js/src/{shell => }/Signer/store.js (100%) rename js/src/{shell => }/Signer/utils/extension.js (100%) rename js/src/{shell => }/Signer/utils/qrscan.js (100%) rename js/src/{shell => }/Signer/utils/utils.js (100%) rename js/src/{ui => }/Snackbar/index.js (100%) rename js/src/{shell => }/Snackbar/snackbar.js (100%) rename js/src/{shell => }/Status/Consensus/consensus.js (100%) rename js/src/{shell => }/Status/Consensus/index.js (100%) rename js/src/{shell => }/Status/Upgrade/index.js (100%) rename js/src/{shell => }/Status/Upgrade/upgrade.js (100%) rename js/src/{shell => }/Status/index.js (100%) rename js/src/{shell => }/Status/status.css (100%) rename js/src/{shell => }/Status/status.js (64%) create mode 100644 js/src/Status/store.js rename js/src/{shell => }/SyncWarning/index.js (100%) rename js/src/{shell => }/SyncWarning/syncWarning.css (100%) rename js/src/{shell => }/SyncWarning/syncWarning.js (100%) rename js/src/{shell => }/SyncWarning/syncWarning.spec.js (97%) rename js/src/{shell => }/UpgradeParity/index.js (100%) rename js/src/{shell => }/UpgradeParity/store.js (100%) rename js/src/{shell => }/UpgradeParity/store.spec.js (97%) rename js/src/{shell => }/UpgradeParity/upgradeParity.css (100%) rename js/src/{shell => }/UpgradeParity/upgradeParity.js (100%) delete mode 100644 js/src/api/README.md delete mode 100644 js/src/dapps/index.ejs delete mode 100644 js/src/dapps/package.json rename js/src/{shell => }/embed.js (82%) rename js/src/{shell => }/index.ejs (100%) rename js/src/{shell => }/index.js (98%) delete mode 100644 js/src/shell/README.md delete mode 100644 js/src/shell/package.json delete mode 100644 js/src/views/README.md rename js/{npm/test => test/npm}/mocha.config.js (100%) rename js/{npm/test => test/npm}/mocha.opts (100%) diff --git a/js/src/i18n/_default/account.js b/js/i18n/_default/account.js similarity index 100% rename from js/src/i18n/_default/account.js rename to js/i18n/_default/account.js diff --git a/js/src/i18n/_default/accounts.js b/js/i18n/_default/accounts.js similarity index 100% rename from js/src/i18n/_default/accounts.js rename to js/i18n/_default/accounts.js diff --git a/js/src/i18n/_default/addAddress.js b/js/i18n/_default/addAddress.js similarity index 100% rename from js/src/i18n/_default/addAddress.js rename to js/i18n/_default/addAddress.js diff --git a/js/src/i18n/_default/addContract.js b/js/i18n/_default/addContract.js similarity index 100% rename from js/src/i18n/_default/addContract.js rename to js/i18n/_default/addContract.js diff --git a/js/src/i18n/_default/address.js b/js/i18n/_default/address.js similarity index 100% rename from js/src/i18n/_default/address.js rename to js/i18n/_default/address.js diff --git a/js/src/i18n/_default/addressSelect.js b/js/i18n/_default/addressSelect.js similarity index 100% rename from js/src/i18n/_default/addressSelect.js rename to js/i18n/_default/addressSelect.js diff --git a/js/src/i18n/_default/addresses.js b/js/i18n/_default/addresses.js similarity index 100% rename from js/src/i18n/_default/addresses.js rename to js/i18n/_default/addresses.js diff --git a/js/src/i18n/_default/application.js b/js/i18n/_default/application.js similarity index 100% rename from js/src/i18n/_default/application.js rename to js/i18n/_default/application.js diff --git a/js/src/i18n/_default/connection.js b/js/i18n/_default/connection.js similarity index 100% rename from js/src/i18n/_default/connection.js rename to js/i18n/_default/connection.js diff --git a/js/src/i18n/_default/contract.js b/js/i18n/_default/contract.js similarity index 100% rename from js/src/i18n/_default/contract.js rename to js/i18n/_default/contract.js diff --git a/js/src/i18n/_default/contracts.js b/js/i18n/_default/contracts.js similarity index 100% rename from js/src/i18n/_default/contracts.js rename to js/i18n/_default/contracts.js diff --git a/js/src/i18n/_default/createAccount.js b/js/i18n/_default/createAccount.js similarity index 100% rename from js/src/i18n/_default/createAccount.js rename to js/i18n/_default/createAccount.js diff --git a/js/src/i18n/_default/createWallet.js b/js/i18n/_default/createWallet.js similarity index 100% rename from js/src/i18n/_default/createWallet.js rename to js/i18n/_default/createWallet.js diff --git a/js/src/i18n/_default/dapp.js b/js/i18n/_default/dapp.js similarity index 100% rename from js/src/i18n/_default/dapp.js rename to js/i18n/_default/dapp.js diff --git a/js/src/i18n/_default/dapps.js b/js/i18n/_default/dapps.js similarity index 100% rename from js/src/i18n/_default/dapps.js rename to js/i18n/_default/dapps.js diff --git a/js/src/i18n/_default/deleteAccount.js b/js/i18n/_default/deleteAccount.js similarity index 100% rename from js/src/i18n/_default/deleteAccount.js rename to js/i18n/_default/deleteAccount.js diff --git a/js/src/i18n/_default/deployContract.js b/js/i18n/_default/deployContract.js similarity index 100% rename from js/src/i18n/_default/deployContract.js rename to js/i18n/_default/deployContract.js diff --git a/js/src/i18n/_default/details_windows.js b/js/i18n/_default/details_windows.js similarity index 100% rename from js/src/i18n/_default/details_windows.js rename to js/i18n/_default/details_windows.js diff --git a/js/src/i18n/_default/editMeta.js b/js/i18n/_default/editMeta.js similarity index 100% rename from js/src/i18n/_default/editMeta.js rename to js/i18n/_default/editMeta.js diff --git a/js/src/i18n/_default/errors.js b/js/i18n/_default/errors.js similarity index 100% rename from js/src/i18n/_default/errors.js rename to js/i18n/_default/errors.js diff --git a/js/src/i18n/_default/executeContract.js b/js/i18n/_default/executeContract.js similarity index 100% rename from js/src/i18n/_default/executeContract.js rename to js/i18n/_default/executeContract.js diff --git a/js/src/i18n/_default/extension.js b/js/i18n/_default/extension.js similarity index 100% rename from js/src/i18n/_default/extension.js rename to js/i18n/_default/extension.js diff --git a/js/src/i18n/_default/faucet.js b/js/i18n/_default/faucet.js similarity index 100% rename from js/src/i18n/_default/faucet.js rename to js/i18n/_default/faucet.js diff --git a/js/src/i18n/_default/firstRun.js b/js/i18n/_default/firstRun.js similarity index 100% rename from js/src/i18n/_default/firstRun.js rename to js/i18n/_default/firstRun.js diff --git a/js/src/i18n/_default/home.js b/js/i18n/_default/home.js similarity index 100% rename from js/src/i18n/_default/home.js rename to js/i18n/_default/home.js diff --git a/js/src/i18n/_default/index.js b/js/i18n/_default/index.js similarity index 100% rename from js/src/i18n/_default/index.js rename to js/i18n/_default/index.js diff --git a/js/src/i18n/_default/loadContract.js b/js/i18n/_default/loadContract.js similarity index 100% rename from js/src/i18n/_default/loadContract.js rename to js/i18n/_default/loadContract.js diff --git a/js/src/i18n/_default/parityBar.js b/js/i18n/_default/parityBar.js similarity index 100% rename from js/src/i18n/_default/parityBar.js rename to js/i18n/_default/parityBar.js diff --git a/js/src/i18n/_default/passwordChange.js b/js/i18n/_default/passwordChange.js similarity index 100% rename from js/src/i18n/_default/passwordChange.js rename to js/i18n/_default/passwordChange.js diff --git a/js/src/i18n/_default/saveContract.js b/js/i18n/_default/saveContract.js similarity index 100% rename from js/src/i18n/_default/saveContract.js rename to js/i18n/_default/saveContract.js diff --git a/js/src/i18n/_default/settings.js b/js/i18n/_default/settings.js similarity index 100% rename from js/src/i18n/_default/settings.js rename to js/i18n/_default/settings.js diff --git a/js/src/i18n/_default/shapeshift.js b/js/i18n/_default/shapeshift.js similarity index 100% rename from js/src/i18n/_default/shapeshift.js rename to js/i18n/_default/shapeshift.js diff --git a/js/src/i18n/_default/signer.js b/js/i18n/_default/signer.js similarity index 100% rename from js/src/i18n/_default/signer.js rename to js/i18n/_default/signer.js diff --git a/js/src/i18n/_default/status.js b/js/i18n/_default/status.js similarity index 100% rename from js/src/i18n/_default/status.js rename to js/i18n/_default/status.js diff --git a/js/src/i18n/_default/tabBar.js b/js/i18n/_default/tabBar.js similarity index 100% rename from js/src/i18n/_default/tabBar.js rename to js/i18n/_default/tabBar.js diff --git a/js/src/i18n/_default/transfer.js b/js/i18n/_default/transfer.js similarity index 100% rename from js/src/i18n/_default/transfer.js rename to js/i18n/_default/transfer.js diff --git a/js/src/i18n/_default/txEditor.js b/js/i18n/_default/txEditor.js similarity index 100% rename from js/src/i18n/_default/txEditor.js rename to js/i18n/_default/txEditor.js diff --git a/js/src/i18n/_default/ui.js b/js/i18n/_default/ui.js similarity index 100% rename from js/src/i18n/_default/ui.js rename to js/i18n/_default/ui.js diff --git a/js/src/i18n/_default/upgradeParity.js b/js/i18n/_default/upgradeParity.js similarity index 100% rename from js/src/i18n/_default/upgradeParity.js rename to js/i18n/_default/upgradeParity.js diff --git a/js/src/i18n/_default/vaults.js b/js/i18n/_default/vaults.js similarity index 100% rename from js/src/i18n/_default/vaults.js rename to js/i18n/_default/vaults.js diff --git a/js/src/i18n/_default/verification.js b/js/i18n/_default/verification.js similarity index 100% rename from js/src/i18n/_default/verification.js rename to js/i18n/_default/verification.js diff --git a/js/src/i18n/_default/wallet.js b/js/i18n/_default/wallet.js similarity index 100% rename from js/src/i18n/_default/wallet.js rename to js/i18n/_default/wallet.js diff --git a/js/src/i18n/_default/walletSettings.js b/js/i18n/_default/walletSettings.js similarity index 100% rename from js/src/i18n/_default/walletSettings.js rename to js/i18n/_default/walletSettings.js diff --git a/js/src/i18n/_default/web.js b/js/i18n/_default/web.js similarity index 100% rename from js/src/i18n/_default/web.js rename to js/i18n/_default/web.js diff --git a/js/src/i18n/_default/writeContract.js b/js/i18n/_default/writeContract.js similarity index 100% rename from js/src/i18n/_default/writeContract.js rename to js/i18n/_default/writeContract.js diff --git a/js/src/i18n/constants.js b/js/i18n/constants.js similarity index 100% rename from js/src/i18n/constants.js rename to js/i18n/constants.js diff --git a/js/src/i18n/de/index.js b/js/i18n/de/index.js similarity index 100% rename from js/src/i18n/de/index.js rename to js/i18n/de/index.js diff --git a/js/src/i18n/de/settings.js b/js/i18n/de/settings.js similarity index 100% rename from js/src/i18n/de/settings.js rename to js/i18n/de/settings.js diff --git a/js/src/i18n/en/index.js b/js/i18n/en/index.js similarity index 100% rename from js/src/i18n/en/index.js rename to js/i18n/en/index.js diff --git a/js/src/i18n/en/settings.js b/js/i18n/en/settings.js similarity index 100% rename from js/src/i18n/en/settings.js rename to js/i18n/en/settings.js diff --git a/js/src/i18n/index.js b/js/i18n/index.js similarity index 100% rename from js/src/i18n/index.js rename to js/i18n/index.js diff --git a/js/src/i18n/languages.js b/js/i18n/languages.js similarity index 100% rename from js/src/i18n/languages.js rename to js/i18n/languages.js diff --git a/js/src/i18n/languages.spec.js b/js/i18n/languages.spec.js similarity index 100% rename from js/src/i18n/languages.spec.js rename to js/i18n/languages.spec.js diff --git a/js/src/i18n/nl/account.js b/js/i18n/nl/account.js similarity index 100% rename from js/src/i18n/nl/account.js rename to js/i18n/nl/account.js diff --git a/js/src/i18n/nl/accounts.js b/js/i18n/nl/accounts.js similarity index 100% rename from js/src/i18n/nl/accounts.js rename to js/i18n/nl/accounts.js diff --git a/js/src/i18n/nl/addAddress.js b/js/i18n/nl/addAddress.js similarity index 100% rename from js/src/i18n/nl/addAddress.js rename to js/i18n/nl/addAddress.js diff --git a/js/src/i18n/nl/addContract.js b/js/i18n/nl/addContract.js similarity index 100% rename from js/src/i18n/nl/addContract.js rename to js/i18n/nl/addContract.js diff --git a/js/src/i18n/nl/address.js b/js/i18n/nl/address.js similarity index 100% rename from js/src/i18n/nl/address.js rename to js/i18n/nl/address.js diff --git a/js/src/i18n/nl/addressSelect.js b/js/i18n/nl/addressSelect.js similarity index 100% rename from js/src/i18n/nl/addressSelect.js rename to js/i18n/nl/addressSelect.js diff --git a/js/src/i18n/nl/addresses.js b/js/i18n/nl/addresses.js similarity index 100% rename from js/src/i18n/nl/addresses.js rename to js/i18n/nl/addresses.js diff --git a/js/src/i18n/nl/application.js b/js/i18n/nl/application.js similarity index 100% rename from js/src/i18n/nl/application.js rename to js/i18n/nl/application.js diff --git a/js/src/i18n/nl/connection.js b/js/i18n/nl/connection.js similarity index 100% rename from js/src/i18n/nl/connection.js rename to js/i18n/nl/connection.js diff --git a/js/src/i18n/nl/contract.js b/js/i18n/nl/contract.js similarity index 100% rename from js/src/i18n/nl/contract.js rename to js/i18n/nl/contract.js diff --git a/js/src/i18n/nl/contracts.js b/js/i18n/nl/contracts.js similarity index 100% rename from js/src/i18n/nl/contracts.js rename to js/i18n/nl/contracts.js diff --git a/js/src/i18n/nl/createAccount.js b/js/i18n/nl/createAccount.js similarity index 100% rename from js/src/i18n/nl/createAccount.js rename to js/i18n/nl/createAccount.js diff --git a/js/src/i18n/nl/createWallet.js b/js/i18n/nl/createWallet.js similarity index 100% rename from js/src/i18n/nl/createWallet.js rename to js/i18n/nl/createWallet.js diff --git a/js/src/i18n/nl/dapp.js b/js/i18n/nl/dapp.js similarity index 100% rename from js/src/i18n/nl/dapp.js rename to js/i18n/nl/dapp.js diff --git a/js/src/i18n/nl/dapps.js b/js/i18n/nl/dapps.js similarity index 100% rename from js/src/i18n/nl/dapps.js rename to js/i18n/nl/dapps.js diff --git a/js/src/i18n/nl/deleteAccount.js b/js/i18n/nl/deleteAccount.js similarity index 100% rename from js/src/i18n/nl/deleteAccount.js rename to js/i18n/nl/deleteAccount.js diff --git a/js/src/i18n/nl/deployContract.js b/js/i18n/nl/deployContract.js similarity index 100% rename from js/src/i18n/nl/deployContract.js rename to js/i18n/nl/deployContract.js diff --git a/js/src/i18n/nl/details_windows.js b/js/i18n/nl/details_windows.js similarity index 100% rename from js/src/i18n/nl/details_windows.js rename to js/i18n/nl/details_windows.js diff --git a/js/src/i18n/nl/editMeta.js b/js/i18n/nl/editMeta.js similarity index 100% rename from js/src/i18n/nl/editMeta.js rename to js/i18n/nl/editMeta.js diff --git a/js/src/i18n/nl/errors.js b/js/i18n/nl/errors.js similarity index 100% rename from js/src/i18n/nl/errors.js rename to js/i18n/nl/errors.js diff --git a/js/src/i18n/nl/executeContract.js b/js/i18n/nl/executeContract.js similarity index 100% rename from js/src/i18n/nl/executeContract.js rename to js/i18n/nl/executeContract.js diff --git a/js/src/i18n/nl/extension.js b/js/i18n/nl/extension.js similarity index 100% rename from js/src/i18n/nl/extension.js rename to js/i18n/nl/extension.js diff --git a/js/src/i18n/nl/faucet.js b/js/i18n/nl/faucet.js similarity index 100% rename from js/src/i18n/nl/faucet.js rename to js/i18n/nl/faucet.js diff --git a/js/src/i18n/nl/firstRun.js b/js/i18n/nl/firstRun.js similarity index 100% rename from js/src/i18n/nl/firstRun.js rename to js/i18n/nl/firstRun.js diff --git a/js/src/i18n/nl/home.js b/js/i18n/nl/home.js similarity index 100% rename from js/src/i18n/nl/home.js rename to js/i18n/nl/home.js diff --git a/js/src/i18n/nl/index.js b/js/i18n/nl/index.js similarity index 100% rename from js/src/i18n/nl/index.js rename to js/i18n/nl/index.js diff --git a/js/src/i18n/nl/loadContract.js b/js/i18n/nl/loadContract.js similarity index 100% rename from js/src/i18n/nl/loadContract.js rename to js/i18n/nl/loadContract.js diff --git a/js/src/i18n/nl/parityBar.js b/js/i18n/nl/parityBar.js similarity index 100% rename from js/src/i18n/nl/parityBar.js rename to js/i18n/nl/parityBar.js diff --git a/js/src/i18n/nl/passwordChange.js b/js/i18n/nl/passwordChange.js similarity index 100% rename from js/src/i18n/nl/passwordChange.js rename to js/i18n/nl/passwordChange.js diff --git a/js/src/i18n/nl/saveContract.js b/js/i18n/nl/saveContract.js similarity index 100% rename from js/src/i18n/nl/saveContract.js rename to js/i18n/nl/saveContract.js diff --git a/js/src/i18n/nl/settings.js b/js/i18n/nl/settings.js similarity index 100% rename from js/src/i18n/nl/settings.js rename to js/i18n/nl/settings.js diff --git a/js/src/i18n/nl/shapeshift.js b/js/i18n/nl/shapeshift.js similarity index 100% rename from js/src/i18n/nl/shapeshift.js rename to js/i18n/nl/shapeshift.js diff --git a/js/src/i18n/nl/signer.js b/js/i18n/nl/signer.js similarity index 100% rename from js/src/i18n/nl/signer.js rename to js/i18n/nl/signer.js diff --git a/js/src/i18n/nl/status.js b/js/i18n/nl/status.js similarity index 100% rename from js/src/i18n/nl/status.js rename to js/i18n/nl/status.js diff --git a/js/src/i18n/nl/tabBar.js b/js/i18n/nl/tabBar.js similarity index 100% rename from js/src/i18n/nl/tabBar.js rename to js/i18n/nl/tabBar.js diff --git a/js/src/i18n/nl/transfer.js b/js/i18n/nl/transfer.js similarity index 100% rename from js/src/i18n/nl/transfer.js rename to js/i18n/nl/transfer.js diff --git a/js/src/i18n/nl/txEditor.js b/js/i18n/nl/txEditor.js similarity index 100% rename from js/src/i18n/nl/txEditor.js rename to js/i18n/nl/txEditor.js diff --git a/js/src/i18n/nl/ui.js b/js/i18n/nl/ui.js similarity index 100% rename from js/src/i18n/nl/ui.js rename to js/i18n/nl/ui.js diff --git a/js/src/i18n/nl/upgradeParity.js b/js/i18n/nl/upgradeParity.js similarity index 100% rename from js/src/i18n/nl/upgradeParity.js rename to js/i18n/nl/upgradeParity.js diff --git a/js/src/i18n/nl/vaults.js b/js/i18n/nl/vaults.js similarity index 100% rename from js/src/i18n/nl/vaults.js rename to js/i18n/nl/vaults.js diff --git a/js/src/i18n/nl/verification.js b/js/i18n/nl/verification.js similarity index 100% rename from js/src/i18n/nl/verification.js rename to js/i18n/nl/verification.js diff --git a/js/src/i18n/nl/wallet.js b/js/i18n/nl/wallet.js similarity index 100% rename from js/src/i18n/nl/wallet.js rename to js/i18n/nl/wallet.js diff --git a/js/src/i18n/nl/walletSettings.js b/js/i18n/nl/walletSettings.js similarity index 100% rename from js/src/i18n/nl/walletSettings.js rename to js/i18n/nl/walletSettings.js diff --git a/js/src/i18n/nl/web.js b/js/i18n/nl/web.js similarity index 100% rename from js/src/i18n/nl/web.js rename to js/i18n/nl/web.js diff --git a/js/src/i18n/nl/writeContract.js b/js/i18n/nl/writeContract.js similarity index 100% rename from js/src/i18n/nl/writeContract.js rename to js/i18n/nl/writeContract.js diff --git a/js/src/i18n/store.js b/js/i18n/store.js similarity index 100% rename from js/src/i18n/store.js rename to js/i18n/store.js diff --git a/js/src/i18n/store.spec.js b/js/i18n/store.spec.js similarity index 100% rename from js/src/i18n/store.spec.js rename to js/i18n/store.spec.js diff --git a/js/src/i18n/zh-Hant-TW/account.js b/js/i18n/zh-Hant-TW/account.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/account.js rename to js/i18n/zh-Hant-TW/account.js diff --git a/js/src/i18n/zh-Hant-TW/accounts.js b/js/i18n/zh-Hant-TW/accounts.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/accounts.js rename to js/i18n/zh-Hant-TW/accounts.js diff --git a/js/src/i18n/zh-Hant-TW/addAddress.js b/js/i18n/zh-Hant-TW/addAddress.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/addAddress.js rename to js/i18n/zh-Hant-TW/addAddress.js diff --git a/js/src/i18n/zh-Hant-TW/addContract.js b/js/i18n/zh-Hant-TW/addContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/addContract.js rename to js/i18n/zh-Hant-TW/addContract.js diff --git a/js/src/i18n/zh-Hant-TW/address.js b/js/i18n/zh-Hant-TW/address.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/address.js rename to js/i18n/zh-Hant-TW/address.js diff --git a/js/src/i18n/zh-Hant-TW/addressSelect.js b/js/i18n/zh-Hant-TW/addressSelect.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/addressSelect.js rename to js/i18n/zh-Hant-TW/addressSelect.js diff --git a/js/src/i18n/zh-Hant-TW/addresses.js b/js/i18n/zh-Hant-TW/addresses.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/addresses.js rename to js/i18n/zh-Hant-TW/addresses.js diff --git a/js/src/i18n/zh-Hant-TW/application.js b/js/i18n/zh-Hant-TW/application.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/application.js rename to js/i18n/zh-Hant-TW/application.js diff --git a/js/src/i18n/zh-Hant-TW/connection.js b/js/i18n/zh-Hant-TW/connection.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/connection.js rename to js/i18n/zh-Hant-TW/connection.js diff --git a/js/src/i18n/zh-Hant-TW/contract.js b/js/i18n/zh-Hant-TW/contract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/contract.js rename to js/i18n/zh-Hant-TW/contract.js diff --git a/js/src/i18n/zh-Hant-TW/contracts.js b/js/i18n/zh-Hant-TW/contracts.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/contracts.js rename to js/i18n/zh-Hant-TW/contracts.js diff --git a/js/src/i18n/zh-Hant-TW/createAccount.js b/js/i18n/zh-Hant-TW/createAccount.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/createAccount.js rename to js/i18n/zh-Hant-TW/createAccount.js diff --git a/js/src/i18n/zh-Hant-TW/createWallet.js b/js/i18n/zh-Hant-TW/createWallet.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/createWallet.js rename to js/i18n/zh-Hant-TW/createWallet.js diff --git a/js/src/i18n/zh-Hant-TW/dapp.js b/js/i18n/zh-Hant-TW/dapp.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/dapp.js rename to js/i18n/zh-Hant-TW/dapp.js diff --git a/js/src/i18n/zh-Hant-TW/dapps.js b/js/i18n/zh-Hant-TW/dapps.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/dapps.js rename to js/i18n/zh-Hant-TW/dapps.js diff --git a/js/src/i18n/zh-Hant-TW/deleteAccount.js b/js/i18n/zh-Hant-TW/deleteAccount.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/deleteAccount.js rename to js/i18n/zh-Hant-TW/deleteAccount.js diff --git a/js/src/i18n/zh-Hant-TW/deployContract.js b/js/i18n/zh-Hant-TW/deployContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/deployContract.js rename to js/i18n/zh-Hant-TW/deployContract.js diff --git a/js/src/i18n/zh-Hant-TW/details_windows.js b/js/i18n/zh-Hant-TW/details_windows.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/details_windows.js rename to js/i18n/zh-Hant-TW/details_windows.js diff --git a/js/src/i18n/zh-Hant-TW/editMeta.js b/js/i18n/zh-Hant-TW/editMeta.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/editMeta.js rename to js/i18n/zh-Hant-TW/editMeta.js diff --git a/js/src/i18n/zh-Hant-TW/errors.js b/js/i18n/zh-Hant-TW/errors.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/errors.js rename to js/i18n/zh-Hant-TW/errors.js diff --git a/js/src/i18n/zh-Hant-TW/executeContract.js b/js/i18n/zh-Hant-TW/executeContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/executeContract.js rename to js/i18n/zh-Hant-TW/executeContract.js diff --git a/js/src/i18n/zh-Hant-TW/extension.js b/js/i18n/zh-Hant-TW/extension.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/extension.js rename to js/i18n/zh-Hant-TW/extension.js diff --git a/js/src/i18n/zh-Hant-TW/faucet.js b/js/i18n/zh-Hant-TW/faucet.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/faucet.js rename to js/i18n/zh-Hant-TW/faucet.js diff --git a/js/src/i18n/zh-Hant-TW/firstRun.js b/js/i18n/zh-Hant-TW/firstRun.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/firstRun.js rename to js/i18n/zh-Hant-TW/firstRun.js diff --git a/js/src/i18n/zh-Hant-TW/home.js b/js/i18n/zh-Hant-TW/home.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/home.js rename to js/i18n/zh-Hant-TW/home.js diff --git a/js/src/i18n/zh-Hant-TW/index.js b/js/i18n/zh-Hant-TW/index.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/index.js rename to js/i18n/zh-Hant-TW/index.js diff --git a/js/src/i18n/zh-Hant-TW/loadContract.js b/js/i18n/zh-Hant-TW/loadContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/loadContract.js rename to js/i18n/zh-Hant-TW/loadContract.js diff --git a/js/src/i18n/zh-Hant-TW/parityBar.js b/js/i18n/zh-Hant-TW/parityBar.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/parityBar.js rename to js/i18n/zh-Hant-TW/parityBar.js diff --git a/js/src/i18n/zh-Hant-TW/passwordChange.js b/js/i18n/zh-Hant-TW/passwordChange.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/passwordChange.js rename to js/i18n/zh-Hant-TW/passwordChange.js diff --git a/js/src/i18n/zh-Hant-TW/saveContract.js b/js/i18n/zh-Hant-TW/saveContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/saveContract.js rename to js/i18n/zh-Hant-TW/saveContract.js diff --git a/js/src/i18n/zh-Hant-TW/settings.js b/js/i18n/zh-Hant-TW/settings.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/settings.js rename to js/i18n/zh-Hant-TW/settings.js diff --git a/js/src/i18n/zh-Hant-TW/shapeshift.js b/js/i18n/zh-Hant-TW/shapeshift.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/shapeshift.js rename to js/i18n/zh-Hant-TW/shapeshift.js diff --git a/js/src/i18n/zh-Hant-TW/signer.js b/js/i18n/zh-Hant-TW/signer.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/signer.js rename to js/i18n/zh-Hant-TW/signer.js diff --git a/js/src/i18n/zh-Hant-TW/status.js b/js/i18n/zh-Hant-TW/status.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/status.js rename to js/i18n/zh-Hant-TW/status.js diff --git a/js/src/i18n/zh-Hant-TW/tabBar.js b/js/i18n/zh-Hant-TW/tabBar.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/tabBar.js rename to js/i18n/zh-Hant-TW/tabBar.js diff --git a/js/src/i18n/zh-Hant-TW/transfer.js b/js/i18n/zh-Hant-TW/transfer.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/transfer.js rename to js/i18n/zh-Hant-TW/transfer.js diff --git a/js/src/i18n/zh-Hant-TW/txEditor.js b/js/i18n/zh-Hant-TW/txEditor.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/txEditor.js rename to js/i18n/zh-Hant-TW/txEditor.js diff --git a/js/src/i18n/zh-Hant-TW/ui.js b/js/i18n/zh-Hant-TW/ui.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/ui.js rename to js/i18n/zh-Hant-TW/ui.js diff --git a/js/src/i18n/zh-Hant-TW/upgradeParity.js b/js/i18n/zh-Hant-TW/upgradeParity.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/upgradeParity.js rename to js/i18n/zh-Hant-TW/upgradeParity.js diff --git a/js/src/i18n/zh-Hant-TW/vaults.js b/js/i18n/zh-Hant-TW/vaults.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/vaults.js rename to js/i18n/zh-Hant-TW/vaults.js diff --git a/js/src/i18n/zh-Hant-TW/verification.js b/js/i18n/zh-Hant-TW/verification.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/verification.js rename to js/i18n/zh-Hant-TW/verification.js diff --git a/js/src/i18n/zh-Hant-TW/wallet.js b/js/i18n/zh-Hant-TW/wallet.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/wallet.js rename to js/i18n/zh-Hant-TW/wallet.js diff --git a/js/src/i18n/zh-Hant-TW/walletSettings.js b/js/i18n/zh-Hant-TW/walletSettings.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/walletSettings.js rename to js/i18n/zh-Hant-TW/walletSettings.js diff --git a/js/src/i18n/zh-Hant-TW/web.js b/js/i18n/zh-Hant-TW/web.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/web.js rename to js/i18n/zh-Hant-TW/web.js diff --git a/js/src/i18n/zh-Hant-TW/writeContract.js b/js/i18n/zh-Hant-TW/writeContract.js similarity index 100% rename from js/src/i18n/zh-Hant-TW/writeContract.js rename to js/i18n/zh-Hant-TW/writeContract.js diff --git a/js/src/i18n/zh/account.js b/js/i18n/zh/account.js similarity index 100% rename from js/src/i18n/zh/account.js rename to js/i18n/zh/account.js diff --git a/js/src/i18n/zh/accounts.js b/js/i18n/zh/accounts.js similarity index 100% rename from js/src/i18n/zh/accounts.js rename to js/i18n/zh/accounts.js diff --git a/js/src/i18n/zh/addAddress.js b/js/i18n/zh/addAddress.js similarity index 100% rename from js/src/i18n/zh/addAddress.js rename to js/i18n/zh/addAddress.js diff --git a/js/src/i18n/zh/addContract.js b/js/i18n/zh/addContract.js similarity index 100% rename from js/src/i18n/zh/addContract.js rename to js/i18n/zh/addContract.js diff --git a/js/src/i18n/zh/address.js b/js/i18n/zh/address.js similarity index 100% rename from js/src/i18n/zh/address.js rename to js/i18n/zh/address.js diff --git a/js/src/i18n/zh/addressSelect.js b/js/i18n/zh/addressSelect.js similarity index 100% rename from js/src/i18n/zh/addressSelect.js rename to js/i18n/zh/addressSelect.js diff --git a/js/src/i18n/zh/addresses.js b/js/i18n/zh/addresses.js similarity index 100% rename from js/src/i18n/zh/addresses.js rename to js/i18n/zh/addresses.js diff --git a/js/src/i18n/zh/application.js b/js/i18n/zh/application.js similarity index 100% rename from js/src/i18n/zh/application.js rename to js/i18n/zh/application.js diff --git a/js/src/i18n/zh/connection.js b/js/i18n/zh/connection.js similarity index 100% rename from js/src/i18n/zh/connection.js rename to js/i18n/zh/connection.js diff --git a/js/src/i18n/zh/contract.js b/js/i18n/zh/contract.js similarity index 100% rename from js/src/i18n/zh/contract.js rename to js/i18n/zh/contract.js diff --git a/js/src/i18n/zh/contracts.js b/js/i18n/zh/contracts.js similarity index 100% rename from js/src/i18n/zh/contracts.js rename to js/i18n/zh/contracts.js diff --git a/js/src/i18n/zh/createAccount.js b/js/i18n/zh/createAccount.js similarity index 100% rename from js/src/i18n/zh/createAccount.js rename to js/i18n/zh/createAccount.js diff --git a/js/src/i18n/zh/createWallet.js b/js/i18n/zh/createWallet.js similarity index 100% rename from js/src/i18n/zh/createWallet.js rename to js/i18n/zh/createWallet.js diff --git a/js/src/i18n/zh/dapp.js b/js/i18n/zh/dapp.js similarity index 100% rename from js/src/i18n/zh/dapp.js rename to js/i18n/zh/dapp.js diff --git a/js/src/i18n/zh/dapps.js b/js/i18n/zh/dapps.js similarity index 100% rename from js/src/i18n/zh/dapps.js rename to js/i18n/zh/dapps.js diff --git a/js/src/i18n/zh/deleteAccount.js b/js/i18n/zh/deleteAccount.js similarity index 100% rename from js/src/i18n/zh/deleteAccount.js rename to js/i18n/zh/deleteAccount.js diff --git a/js/src/i18n/zh/deployContract.js b/js/i18n/zh/deployContract.js similarity index 100% rename from js/src/i18n/zh/deployContract.js rename to js/i18n/zh/deployContract.js diff --git a/js/src/i18n/zh/details_windows.js b/js/i18n/zh/details_windows.js similarity index 100% rename from js/src/i18n/zh/details_windows.js rename to js/i18n/zh/details_windows.js diff --git a/js/src/i18n/zh/editMeta.js b/js/i18n/zh/editMeta.js similarity index 100% rename from js/src/i18n/zh/editMeta.js rename to js/i18n/zh/editMeta.js diff --git a/js/src/i18n/zh/errors.js b/js/i18n/zh/errors.js similarity index 100% rename from js/src/i18n/zh/errors.js rename to js/i18n/zh/errors.js diff --git a/js/src/i18n/zh/executeContract.js b/js/i18n/zh/executeContract.js similarity index 100% rename from js/src/i18n/zh/executeContract.js rename to js/i18n/zh/executeContract.js diff --git a/js/src/i18n/zh/extension.js b/js/i18n/zh/extension.js similarity index 100% rename from js/src/i18n/zh/extension.js rename to js/i18n/zh/extension.js diff --git a/js/src/i18n/zh/faucet.js b/js/i18n/zh/faucet.js similarity index 100% rename from js/src/i18n/zh/faucet.js rename to js/i18n/zh/faucet.js diff --git a/js/src/i18n/zh/firstRun.js b/js/i18n/zh/firstRun.js similarity index 100% rename from js/src/i18n/zh/firstRun.js rename to js/i18n/zh/firstRun.js diff --git a/js/src/i18n/zh/home.js b/js/i18n/zh/home.js similarity index 100% rename from js/src/i18n/zh/home.js rename to js/i18n/zh/home.js diff --git a/js/src/i18n/zh/index.js b/js/i18n/zh/index.js similarity index 100% rename from js/src/i18n/zh/index.js rename to js/i18n/zh/index.js diff --git a/js/src/i18n/zh/loadContract.js b/js/i18n/zh/loadContract.js similarity index 100% rename from js/src/i18n/zh/loadContract.js rename to js/i18n/zh/loadContract.js diff --git a/js/src/i18n/zh/parityBar.js b/js/i18n/zh/parityBar.js similarity index 100% rename from js/src/i18n/zh/parityBar.js rename to js/i18n/zh/parityBar.js diff --git a/js/src/i18n/zh/passwordChange.js b/js/i18n/zh/passwordChange.js similarity index 100% rename from js/src/i18n/zh/passwordChange.js rename to js/i18n/zh/passwordChange.js diff --git a/js/src/i18n/zh/saveContract.js b/js/i18n/zh/saveContract.js similarity index 100% rename from js/src/i18n/zh/saveContract.js rename to js/i18n/zh/saveContract.js diff --git a/js/src/i18n/zh/settings.js b/js/i18n/zh/settings.js similarity index 100% rename from js/src/i18n/zh/settings.js rename to js/i18n/zh/settings.js diff --git a/js/src/i18n/zh/shapeshift.js b/js/i18n/zh/shapeshift.js similarity index 100% rename from js/src/i18n/zh/shapeshift.js rename to js/i18n/zh/shapeshift.js diff --git a/js/src/i18n/zh/signer.js b/js/i18n/zh/signer.js similarity index 100% rename from js/src/i18n/zh/signer.js rename to js/i18n/zh/signer.js diff --git a/js/src/i18n/zh/status.js b/js/i18n/zh/status.js similarity index 100% rename from js/src/i18n/zh/status.js rename to js/i18n/zh/status.js diff --git a/js/src/i18n/zh/tabBar.js b/js/i18n/zh/tabBar.js similarity index 100% rename from js/src/i18n/zh/tabBar.js rename to js/i18n/zh/tabBar.js diff --git a/js/src/i18n/zh/transfer.js b/js/i18n/zh/transfer.js similarity index 100% rename from js/src/i18n/zh/transfer.js rename to js/i18n/zh/transfer.js diff --git a/js/src/i18n/zh/txEditor.js b/js/i18n/zh/txEditor.js similarity index 100% rename from js/src/i18n/zh/txEditor.js rename to js/i18n/zh/txEditor.js diff --git a/js/src/i18n/zh/ui.js b/js/i18n/zh/ui.js similarity index 100% rename from js/src/i18n/zh/ui.js rename to js/i18n/zh/ui.js diff --git a/js/src/i18n/zh/upgradeParity.js b/js/i18n/zh/upgradeParity.js similarity index 100% rename from js/src/i18n/zh/upgradeParity.js rename to js/i18n/zh/upgradeParity.js diff --git a/js/src/i18n/zh/vaults.js b/js/i18n/zh/vaults.js similarity index 100% rename from js/src/i18n/zh/vaults.js rename to js/i18n/zh/vaults.js diff --git a/js/src/i18n/zh/verification.js b/js/i18n/zh/verification.js similarity index 100% rename from js/src/i18n/zh/verification.js rename to js/i18n/zh/verification.js diff --git a/js/src/i18n/zh/wallet.js b/js/i18n/zh/wallet.js similarity index 100% rename from js/src/i18n/zh/wallet.js rename to js/i18n/zh/wallet.js diff --git a/js/src/i18n/zh/walletSettings.js b/js/i18n/zh/walletSettings.js similarity index 100% rename from js/src/i18n/zh/walletSettings.js rename to js/i18n/zh/walletSettings.js diff --git a/js/src/i18n/zh/web.js b/js/i18n/zh/web.js similarity index 100% rename from js/src/i18n/zh/web.js rename to js/i18n/zh/web.js diff --git a/js/src/i18n/zh/writeContract.js b/js/i18n/zh/writeContract.js similarity index 100% rename from js/src/i18n/zh/writeContract.js rename to js/i18n/zh/writeContract.js diff --git a/js/lerna.json b/js/lerna.json new file mode 100644 index 0000000000..b34dd47c1f --- /dev/null +++ b/js/lerna.json @@ -0,0 +1,7 @@ +{ + "lerna": "2.0.0", + "packages": [ + "packages/*" + ], + "version": "0.0.0" +} diff --git a/js/npm/jsonrpc/README.md b/js/npm/jsonrpc/README.md deleted file mode 100644 index e9678864b4..0000000000 --- a/js/npm/jsonrpc/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# @parity/jsonrpc - -JSON and JS interface defintions for RPC calls. - -[https://github.com/paritytech/parity/tree/master/js/src/jsonrpc](https://github.com/paritytech/parity/tree/master/js/src/jsonrpc) diff --git a/js/npm/parity/package.json b/js/npm/parity/package.json deleted file mode 100644 index c43da096d3..0000000000 --- a/js/npm/parity/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@parity/parity.js", - "description": "The Parity Promise-based API & ABI library for interfacing with Ethereum over RPC", - "version": "0.0.0", - "main": "library.js", - "author": "Parity Team ", - "maintainers": [ - "Jaco Greeff" - ], - "contributors": [], - "license": "GPL-3.0", - "repository": { - "type": "git", - "url": "git+https://github.com/paritytech/parity.git" - }, - "keywords": [ - "Ethereum", - "ABI", - "API", - "RPC", - "Parity", - "Promise" - ], - "scripts": { - }, - "devDependencies": { - }, - "dependencies": { - "bignumber.js": "~2.3.0", - "js-sha3": "~0.5.2", - "node-fetch": "~1.6.3" - } -} diff --git a/js/package-lock.json b/js/package-lock.json index ca1be89ac9..3c1281b31c 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -1,21 +1,21 @@ { "name": "parity.js", - "version": "1.7.101", + "version": "1.8.3", "lockfileVersion": 1, "requires": true, "dependencies": { "@parity/abi": { - "version": "file:src/abi", + "version": "file:packages/abi", "requires": { "bignumber.js": "3.0.1", "js-sha3": "0.5.5" } }, "@parity/api": { - "version": "file:src/api", + "version": "file:packages/api", "requires": { - "@parity/abi": "file:src/abi", - "@parity/jsonrpc": "file:src/jsonrpc", + "@parity/abi": "file:packages/abi", + "@parity/jsonrpc": "file:packages/jsonrpc", "bignumber.js": "3.0.1", "blockies": "0.0.2", "es6-error": "4.0.0", @@ -28,11 +28,18 @@ } }, "@parity/dapps": { - "version": "file:src/dapps", + "version": "file:packages/dapps", "requires": { + "base32.js": "0.1.0", + "bytes": "2.4.0", + "format-number": "2.0.1", "material-ui": "0.16.5", + "phoneformat.js": "1.0.3", "react-codemirror": "0.3.0", + "react-element-to-jsx-string": "6.0.0", "react-inspector": "github:paritytech/react-inspector#73b5214261a5131821eb9088f58d7e5f31210c23", + "react-markdown": "2.4.4", + "rlp": "2.0.0", "validator": "6.2.0" }, "dependencies": { @@ -42,11 +49,26 @@ } } }, + "@parity/etherscan": { + "version": "file:packages/etherscan", + "requires": { + "node-fetch": "1.6.3" + } + }, "@parity/jsonrpc": { - "version": "file:src/jsonrpc" + "version": "file:packages/jsonrpc" + }, + "@parity/ledger": { + "version": "file:packages/ledger" + }, + "@parity/shapeshift": { + "version": "file:packages/shapeshift", + "requires": { + "node-fetch": "1.6.3" + } }, "@parity/shared": { - "version": "file:src/shared", + "version": "file:packages/shared", "requires": { "mobx": "2.6.4", "mobx-react": "4.0.3", @@ -60,15 +82,8 @@ "yargs": "6.6.0" } }, - "@parity/shell": { - "version": "file:src/shell", - "requires": { - "qs": "6.3.0", - "useragent.js": "0.5.6" - } - }, "@parity/ui": { - "version": "file:src/ui", + "version": "file:packages/ui", "requires": { "bignumber.js": "3.0.1", "brace": "0.9.0", @@ -93,18 +108,6 @@ "zxcvbn": "4.4.1" } }, - "@parity/views": { - "version": "file:src/views", - "requires": { - "base32.js": "0.1.0", - "bytes": "2.4.0", - "format-number": "2.0.1", - "phoneformat.js": "1.0.3", - "react-element-to-jsx-string": "6.0.0", - "react-markdown": "2.4.4", - "rlp": "2.0.0" - } - }, "@parity/wordlist": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@parity/wordlist/-/wordlist-1.0.1.tgz", @@ -189,6 +192,12 @@ } } }, + "add-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", + "integrity": "sha1-anmQQ3ynNtXhKI25K9MmbV9csqo=", + "dev": true + }, "ajv": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.2.2.tgz", @@ -354,6 +363,12 @@ "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", "dev": true }, + "array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=", + "dev": true + }, "array-union": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", @@ -499,7 +514,7 @@ "dev": true, "requires": { "browserslist": "1.7.7", - "caniuse-db": "1.0.30000701", + "caniuse-db": "1.0.30000704", "normalize-range": "0.1.2", "num2fraction": "1.2.2", "postcss": "5.2.17", @@ -1415,7 +1430,7 @@ "babel-plugin-transform-exponentiation-operator": "6.24.1", "babel-plugin-transform-regenerator": "6.24.1", "browserslist": "1.7.7", - "electron-to-chromium": "1.3.15", + "electron-to-chromium": "1.3.16", "invariant": "2.2.2" } }, @@ -1987,8 +2002,8 @@ "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "dev": true, "requires": { - "caniuse-db": "1.0.30000701", - "electron-to-chromium": "1.3.15" + "caniuse-db": "1.0.30000704", + "electron-to-chromium": "1.3.16" } }, "buffer": { @@ -2050,6 +2065,12 @@ "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", "dev": true }, + "byline": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz", + "integrity": "sha1-dBxSFkaOrcRXsDQQEYrXfejB3bE=", + "dev": true + }, "bytes": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/bytes/-/bytes-2.4.0.tgz", @@ -2108,15 +2129,15 @@ "dev": true, "requires": { "browserslist": "1.7.7", - "caniuse-db": "1.0.30000701", + "caniuse-db": "1.0.30000704", "lodash.memoize": "4.1.2", "lodash.uniq": "4.5.0" } }, "caniuse-db": { - "version": "1.0.30000701", - "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000701.tgz", - "integrity": "sha1-LjKwaZO/Pb2QtD2T8E4m0Rr93Lo=", + "version": "1.0.30000704", + "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000704.tgz", + "integrity": "sha1-jFqm/tgFjmXHDywfXWP3CIZQcFw=", "dev": true }, "capture-stack-trace": { @@ -2400,6 +2421,16 @@ "integrity": "sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE=", "dev": true }, + "cmd-shim": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-2.0.2.tgz", + "integrity": "sha1-b8vamUg6j9FdfTChlspp1oii79s=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "mkdirp": "0.5.1" + } + }, "co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -2420,9 +2451,9 @@ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" }, "codemirror": { - "version": "5.27.4", - "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.27.4.tgz", - "integrity": "sha512-oOpSTMT3gj27u8NSkkrciuIpCqID3dvb8UGpS7eEm/F1x1DVinp6+ROLR+B8hXdxqVFpCl2NrR2BQe7zd3uH7g==" + "version": "5.28.0", + "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.28.0.tgz", + "integrity": "sha512-E/Z6050shti9v9ivl0dUClVRM4xaH204jsJmEpNYC6KDTlQwAz+5DdhLzn0tjaL/Mp1P0J1uhZokcSP2RFSwlA==" }, "collapse-white-space": { "version": "1.0.3", @@ -2525,6 +2556,16 @@ "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=", "dev": true }, + "columnify": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.5.4.tgz", + "integrity": "sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs=", + "dev": true, + "requires": { + "strip-ansi": "3.0.1", + "wcwidth": "1.0.1" + } + }, "combined-stream": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", @@ -2534,6 +2575,12 @@ "delayed-stream": "1.0.0" } }, + "command-join": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/command-join/-/command-join-2.0.0.tgz", + "integrity": "sha1-Uui5hPSHLZUv8b3IuYOX0nxxRM8=", + "dev": true + }, "commander": { "version": "2.11.0", "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", @@ -2568,6 +2615,16 @@ "xss-filters": "1.2.7" } }, + "compare-func": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-1.3.2.tgz", + "integrity": "sha1-md0LpFfh+bxyKxLAjsM+6rMfpkg=", + "dev": true, + "requires": { + "array-ify": "1.0.0", + "dot-prop": "3.0.0" + } + }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -2628,171 +2685,538 @@ "integrity": "sha1-w+VpiMU8ZRJ/tG1AMqOpACRv3JQ=", "dev": true }, - "convert-source-map": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz", - "integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=" - }, - "cookie": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", - "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", - "dev": true - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", - "dev": true - }, - "copy-to-clipboard": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.0.6.tgz", - "integrity": "sha1-E8Cb/qBAil3Fu5h/7js5hlGMnWk=", + "conventional-changelog": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-1.1.4.tgz", + "integrity": "sha1-EIvHUMKjF+IA4vm0E8qqH4x++js=", + "dev": true, "requires": { - "toggle-selection": "1.0.5" + "conventional-changelog-angular": "1.4.0", + "conventional-changelog-atom": "0.1.1", + "conventional-changelog-codemirror": "0.1.0", + "conventional-changelog-core": "1.9.0", + "conventional-changelog-ember": "0.2.6", + "conventional-changelog-eslint": "0.1.0", + "conventional-changelog-express": "0.1.0", + "conventional-changelog-jquery": "0.1.0", + "conventional-changelog-jscs": "0.1.0", + "conventional-changelog-jshint": "0.1.0" } }, - "copy-webpack-plugin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.0.1.tgz", - "integrity": "sha1-lyjjg7lDFgUNDHRjlY8rhcCqggA=", + "conventional-changelog-angular": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-1.4.0.tgz", + "integrity": "sha512-ukKX22lJl9ewogze1hKbBuff/dGMG2uyGpOhhw0ehhlv6GtdeCxj51YfGOZ5qC89WwsHT7SDXFzBKidwH3pwmQ==", "dev": true, "requires": { - "bluebird": "2.11.0", - "fs-extra": "0.26.7", - "glob": "6.0.4", - "is-glob": "3.1.0", - "loader-utils": "0.2.17", - "lodash": "4.17.2", - "minimatch": "3.0.4", - "node-dir": "0.1.17" + "compare-func": "1.3.2", + "github-url-from-git": "1.5.0", + "q": "1.5.0", + "read-pkg-up": "2.0.0" }, "dependencies": { - "glob": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", - "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=", + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, "requires": { - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" + "locate-path": "2.0.0" } }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true + "load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "strip-bom": "3.0.0" + } }, - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", "dev": true, "requires": { - "is-extglob": "2.1.1" + "pify": "2.3.0" } }, - "loader-utils": { - "version": "0.2.17", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", - "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", "dev": true, "requires": { - "big.js": "3.1.3", - "emojis-list": "2.1.0", - "json5": "0.5.1", - "object-assign": "4.1.1" + "load-json-file": "2.0.0", + "normalize-package-data": "2.4.0", + "path-type": "2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "2.1.0", + "read-pkg": "2.0.0" } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true } } }, - "core-js": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz", - "integrity": "sha1-TekR5mew6ukSTjQlS1OupvxhjT4=" - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + "conventional-changelog-atom": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-0.1.1.tgz", + "integrity": "sha512-6Nlu/+MiD4gi7k3Z+N1vMJWpaPSdvFPWzPGnH4OXewHAxiAl0L/TT9CGgA01fosPxmYr4hMNtD7kyN0tkg8vIA==", + "dev": true, + "requires": { + "q": "1.5.0" + } }, - "cosmiconfig": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-2.1.3.tgz", - "integrity": "sha1-lSdx6w3dwcs/ovb75RpSLpOz7go=", + "conventional-changelog-cli": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/conventional-changelog-cli/-/conventional-changelog-cli-1.3.2.tgz", + "integrity": "sha512-Z89mXKV0IIB0q8tNvIIZtNNrun3MUuQC0YJPzsF2t5UyaqmqnOpLNLHX28+Pwi+aHI2LQjEar1OmEoZgYP+6Kw==", "dev": true, "requires": { - "is-directory": "0.3.1", - "js-yaml": "3.6.1", - "minimist": "1.2.0", - "object-assign": "4.1.1", - "os-homedir": "1.0.2", - "parse-json": "2.2.0", - "require-from-string": "1.2.1" + "add-stream": "1.0.0", + "conventional-changelog": "1.1.4", + "lodash": "4.17.2", + "meow": "3.7.0", + "tempfile": "1.1.1" }, "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "tempfile": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-1.1.1.tgz", + "integrity": "sha1-W8xOrsxKsscH2LwR2ZzMmiyyh/I=", + "dev": true, + "requires": { + "os-tmpdir": "1.0.2", + "uuid": "2.0.3" + } + }, + "uuid": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", + "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", "dev": true } } }, - "coveralls": { - "version": "2.11.16", - "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-2.11.16.tgz", - "integrity": "sha1-2pBhJlFC3e6VT2g3kSK+l76KtLE=", + "conventional-changelog-codemirror": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-0.1.0.tgz", + "integrity": "sha1-dXelkdv5tTjnoVCn7mL2WihyszQ=", "dev": true, "requires": { - "js-yaml": "3.6.1", - "lcov-parse": "0.0.10", - "log-driver": "1.2.5", - "minimist": "1.2.0", - "request": "2.79.0" + "q": "1.5.0" + } + }, + "conventional-changelog-core": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-1.9.0.tgz", + "integrity": "sha1-3l37wJGEdlZQjUo4njXJobxJ5/Q=", + "dev": true, + "requires": { + "conventional-changelog-writer": "1.4.1", + "conventional-commits-parser": "1.3.0", + "dateformat": "1.0.12", + "get-pkg-repo": "1.4.0", + "git-raw-commits": "1.2.0", + "git-remote-origin-url": "2.0.0", + "git-semver-tags": "1.2.1", + "lodash": "4.17.2", + "normalize-package-data": "2.4.0", + "q": "1.5.0", + "read-pkg": "1.1.0", + "read-pkg-up": "1.0.1", + "through2": "2.0.3" }, "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dateformat": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz", + "integrity": "sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk=", + "dev": true, + "requires": { + "get-stdin": "4.0.1", + "meow": "3.7.0" + } + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", "dev": true + }, + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "dev": true, + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } } } }, - "create-ecdh": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz", - "integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=", + "conventional-changelog-ember": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-0.2.6.tgz", + "integrity": "sha1-i3NVQZ9RJ0k8TFYkc6svx5LxwrY=", "dev": true, "requires": { - "bn.js": "4.11.7", - "elliptic": "6.4.0" + "q": "1.5.0" } }, - "create-error-class": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", - "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", + "conventional-changelog-eslint": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-0.1.0.tgz", + "integrity": "sha1-pSQR6ZngUBzlALhWsKZD0DMJB+I=", "dev": true, "requires": { - "capture-stack-trace": "1.0.0" + "q": "1.5.0" } }, - "create-hash": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.1.3.tgz", - "integrity": "sha1-YGBCrIuSYnUPSDyt2rD1gZFy2P0=", + "conventional-changelog-express": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-0.1.0.tgz", + "integrity": "sha1-VcbIQcgRliA2wDe9vZZKVK4xD84=", + "dev": true, "requires": { - "cipher-base": "1.0.4", - "inherits": "2.0.3", - "ripemd160": "2.0.1", - "sha.js": "2.4.8" + "q": "1.5.0" + } + }, + "conventional-changelog-jquery": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz", + "integrity": "sha1-Agg5cWLjhGmG5xJztsecW1+A9RA=", + "dev": true, + "requires": { + "q": "1.5.0" + } + }, + "conventional-changelog-jscs": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jscs/-/conventional-changelog-jscs-0.1.0.tgz", + "integrity": "sha1-BHnrRDzH1yxYvwvPDvHURKkvDlw=", + "dev": true, + "requires": { + "q": "1.5.0" + } + }, + "conventional-changelog-jshint": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-0.1.0.tgz", + "integrity": "sha1-AMq46aMxdIer2UxNhGcTQpGNKgc=", + "dev": true, + "requires": { + "compare-func": "1.3.2", + "q": "1.5.0" + } + }, + "conventional-changelog-writer": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-1.4.1.tgz", + "integrity": "sha1-P0y00APrtWmJ0w00WJO1KkNjnI4=", + "dev": true, + "requires": { + "compare-func": "1.3.2", + "conventional-commits-filter": "1.0.0", + "dateformat": "1.0.12", + "handlebars": "4.0.10", + "json-stringify-safe": "5.0.1", + "lodash": "4.17.2", + "meow": "3.7.0", + "semver": "5.3.0", + "split": "1.0.0", + "through2": "2.0.3" + }, + "dependencies": { + "dateformat": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz", + "integrity": "sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk=", + "dev": true, + "requires": { + "get-stdin": "4.0.1", + "meow": "3.7.0" + } + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + }, + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "dev": true, + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + } + } + }, + "conventional-commits-filter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-1.0.0.tgz", + "integrity": "sha1-b8KmWTcrw/IznPn//34bA0S5MDk=", + "dev": true, + "requires": { + "is-subset": "0.1.1", + "modify-values": "1.0.0" + } + }, + "conventional-commits-parser": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-1.3.0.tgz", + "integrity": "sha1-4ye1MZThp61dxjR57pCZpSsCSGU=", + "dev": true, + "requires": { + "is-text-path": "1.0.1", + "JSONStream": "1.3.1", + "lodash": "4.17.2", + "meow": "3.7.0", + "split2": "2.1.1", + "through2": "2.0.3", + "trim-off-newlines": "1.0.1" + }, + "dependencies": { + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "dev": true, + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + } + } + }, + "conventional-recommended-bump": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-1.0.1.tgz", + "integrity": "sha512-2FrE8UJwt2EKpICi/E7P+xqyYUysdfMnFYiGV+7ANzJsixkBOrBKrKlCEV2NllCjR0XOmNfnA/mgozC5jAhhGQ==", + "dev": true, + "requires": { + "concat-stream": "1.6.0", + "conventional-commits-filter": "1.0.0", + "conventional-commits-parser": "2.0.0", + "git-raw-commits": "1.2.0", + "git-semver-tags": "1.2.1", + "meow": "3.7.0", + "object-assign": "4.1.1" + }, + "dependencies": { + "conventional-commits-parser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-2.0.0.tgz", + "integrity": "sha512-8od6g684Fhi5Vpp4ABRv/RBsW1AY6wSHbJHEK6FGTv+8jvAAnlABniZu/FVmX9TcirkHepaEsa1QGkRvbg0CKw==", + "dev": true, + "requires": { + "is-text-path": "1.0.1", + "JSONStream": "1.3.1", + "lodash": "4.17.2", + "meow": "3.7.0", + "split2": "2.1.1", + "through2": "2.0.3", + "trim-off-newlines": "1.0.1" + } + }, + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "dev": true, + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + } + } + }, + "convert-source-map": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz", + "integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=" + }, + "cookie": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", + "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", + "dev": true + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "copy-to-clipboard": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.0.6.tgz", + "integrity": "sha1-E8Cb/qBAil3Fu5h/7js5hlGMnWk=", + "requires": { + "toggle-selection": "1.0.5" + } + }, + "copy-webpack-plugin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.0.1.tgz", + "integrity": "sha1-lyjjg7lDFgUNDHRjlY8rhcCqggA=", + "dev": true, + "requires": { + "bluebird": "2.11.0", + "fs-extra": "0.26.7", + "glob": "6.0.4", + "is-glob": "3.1.0", + "loader-utils": "0.2.17", + "lodash": "4.17.2", + "minimatch": "3.0.4", + "node-dir": "0.1.17" + }, + "dependencies": { + "glob": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", + "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=", + "dev": true, + "requires": { + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + }, + "loader-utils": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", + "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", + "dev": true, + "requires": { + "big.js": "3.1.3", + "emojis-list": "2.1.0", + "json5": "0.5.1", + "object-assign": "4.1.1" + } + } + } + }, + "core-js": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz", + "integrity": "sha1-TekR5mew6ukSTjQlS1OupvxhjT4=" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "cosmiconfig": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-2.1.3.tgz", + "integrity": "sha1-lSdx6w3dwcs/ovb75RpSLpOz7go=", + "dev": true, + "requires": { + "is-directory": "0.3.1", + "js-yaml": "3.6.1", + "minimist": "1.2.0", + "object-assign": "4.1.1", + "os-homedir": "1.0.2", + "parse-json": "2.2.0", + "require-from-string": "1.2.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, + "coveralls": { + "version": "2.11.16", + "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-2.11.16.tgz", + "integrity": "sha1-2pBhJlFC3e6VT2g3kSK+l76KtLE=", + "dev": true, + "requires": { + "js-yaml": "3.6.1", + "lcov-parse": "0.0.10", + "log-driver": "1.2.5", + "minimist": "1.2.0", + "request": "2.79.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, + "create-ecdh": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz", + "integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=", + "dev": true, + "requires": { + "bn.js": "4.11.7", + "elliptic": "6.4.0" + } + }, + "create-error-class": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", + "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", + "dev": true, + "requires": { + "capture-stack-trace": "1.0.0" + } + }, + "create-hash": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.1.3.tgz", + "integrity": "sha1-YGBCrIuSYnUPSDyt2rD1gZFy2P0=", + "requires": { + "cipher-base": "1.0.4", + "inherits": "2.0.3", + "ripemd160": "2.0.1", + "sha.js": "2.4.8" } }, "create-hmac": { @@ -3192,6 +3616,15 @@ "d3-time": "1.0.7" } }, + "dargs": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz", + "integrity": "sha1-A6nbtLXC8Tm/FK5T8LiipqhvThc=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, "dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", @@ -3402,6 +3835,12 @@ } } }, + "dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, "deep-eql": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz", @@ -3445,6 +3884,15 @@ "strip-bom": "2.0.0" } }, + "defaults": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", + "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "dev": true, + "requires": { + "clone": "1.0.2" + } + }, "define-properties": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", @@ -3551,7 +3999,7 @@ "dev": true, "requires": { "browserslist": "1.7.7", - "caniuse-db": "1.0.30000701", + "caniuse-db": "1.0.30000704", "css-rule-stream": "1.1.0", "duplexer2": "0.0.2", "jsonfilter": "1.1.2", @@ -3712,6 +4160,15 @@ "domelementtype": "1.3.0" } }, + "dot-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-3.0.0.tgz", + "integrity": "sha1-G3CK8JSknJoOfbyteQq6U52sEXc=", + "dev": true, + "requires": { + "is-obj": "1.0.1" + } + }, "download": { "version": "4.4.3", "resolved": "https://registry.npmjs.org/download/-/download-4.4.3.tgz", @@ -3870,9 +4327,9 @@ } }, "electron-to-chromium": { - "version": "1.3.15", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.15.tgz", - "integrity": "sha1-CDl5NIkcvPrrvRi4KpW1pIETg2k=", + "version": "1.3.16", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.16.tgz", + "integrity": "sha1-0OAmc1dUdwkBrjAaIWZMukXZL30=", "dev": true }, "element-resize-detector": { @@ -3939,7 +4396,7 @@ "graceful-fs": "4.1.11", "memory-fs": "0.4.1", "object-assign": "4.1.1", - "tapable": "0.2.6" + "tapable": "0.2.7" } }, "entities": { @@ -3948,26 +4405,33 @@ "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=" }, "enzyme": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/enzyme/-/enzyme-2.7.1.tgz", - "integrity": "sha1-djcOHZnpH3MJG7jEMUt8EozC1iE=", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/enzyme/-/enzyme-2.9.1.tgz", + "integrity": "sha1-B9XOaRJBJA+4F78sSxjW5TAkDfY=", "dev": true, "requires": { "cheerio": "0.22.0", "function.prototype.name": "1.0.2", "is-subset": "0.1.1", - "lodash": "4.17.2", + "lodash": "4.17.4", "object-is": "1.0.1", "object.assign": "4.0.4", "object.entries": "1.0.4", "object.values": "1.0.4", - "uuid": "2.0.3" + "prop-types": "15.5.10", + "uuid": "3.1.0" }, "dependencies": { + "lodash": { + "version": "4.17.4", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", + "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", + "dev": true + }, "uuid": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", - "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz", + "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==", "dev": true } } @@ -4589,6 +5053,17 @@ "is-extendable": "0.1.1" } }, + "external-editor": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.0.4.tgz", + "integrity": "sha1-HtkZnanL/i7y96MbL96LDRI2iXI=", + "dev": true, + "requires": { + "iconv-lite": "0.4.18", + "jschardet": "1.5.0", + "tmp": "0.0.31" + } + }, "extglob": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", @@ -4690,7 +5165,7 @@ "object-assign": "4.1.1", "promise": "7.3.1", "setimmediate": "1.0.5", - "ua-parser-js": "0.7.13" + "ua-parser-js": "0.7.14" }, "dependencies": { "core-js": { @@ -6009,6 +6484,37 @@ "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", + "integrity": "sha1-xztInAbYDMVTbCyFP54FIyBWly0=", + "dev": true, + "requires": { + "hosted-git-info": "2.5.0", + "meow": "3.7.0", + "normalize-package-data": "2.4.0", + "parse-github-repo-url": "1.4.0", + "through2": "2.0.3" + }, + "dependencies": { + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "dev": true, + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + } + } + }, + "get-port": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.1.0.tgz", + "integrity": "sha1-7wGxioTKZIaXD/meVERhQac//T4=", + "dev": true + }, "get-proxy": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/get-proxy/-/get-proxy-1.1.0.tgz", @@ -6057,11 +6563,71 @@ "logalot": "2.1.0" } }, + "git-raw-commits": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-1.2.0.tgz", + "integrity": "sha1-DzqL/ZmuDy2LkiTViJKXXppS0Dw=", + "dev": true, + "requires": { + "dargs": "4.1.0", + "lodash.template": "4.4.0", + "meow": "3.7.0", + "split2": "2.1.1", + "through2": "2.0.3" + }, + "dependencies": { + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "dev": true, + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + } + } + }, + "git-remote-origin-url": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", + "integrity": "sha1-UoJlna4hBxRaERJhEq0yFuxfpl8=", + "dev": true, + "requires": { + "gitconfiglocal": "1.0.0", + "pify": "2.3.0" + } + }, + "git-semver-tags": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-1.2.1.tgz", + "integrity": "sha512-fFyxtzTHCTQKwB4clA2AInVrlflBbVbbJD4NWwmxKXHUgsU/K9kmHNlkPLqFiuy9xu9q3lNopghR4VXeQwZbTQ==", + "dev": true, + "requires": { + "meow": "3.7.0", + "semver": "5.3.0" + } + }, + "gitconfiglocal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", + "integrity": "sha1-QdBF84UaXqiPA/JMocYXgRRGS5s=", + "dev": true, + "requires": { + "ini": "1.3.4" + } + }, "github-from-package": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", "integrity": "sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=" }, + "github-url-from-git": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/github-url-from-git/-/github-url-from-git-1.5.0.tgz", + "integrity": "sha1-+YX+3MCpqledyI16/waNVcxiUaA=", + "dev": true + }, "glob": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", @@ -7465,6 +8031,15 @@ "integrity": "sha1-L2suF5LB9bs2UZrKqdZcDSb+hT0=", "dev": true }, + "is-text-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", + "integrity": "sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4=", + "dev": true, + "requires": { + "text-extensions": "1.5.0" + } + }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", @@ -7700,6 +8275,12 @@ "dev": true, "optional": true }, + "jschardet": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/jschardet/-/jschardet-1.5.0.tgz", + "integrity": "sha512-+Q8JsoEQbrdE+a/gg1F9XO92gcKXgpE5UACqr0sIubjDmBEkd+OOWPGzQeMrWSLxd73r4dHxBeRW7edHu5LmJQ==", + "dev": true + }, "jsdom": { "version": "9.11.0", "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-9.11.0.tgz", @@ -7803,6 +8384,22 @@ "through2": "0.6.5" }, "dependencies": { + "jsonparse": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-0.0.5.tgz", + "integrity": "sha1-MwVCrT8KZUZlt3jz6y2an6UHrGQ=", + "dev": true + }, + "JSONStream": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-0.8.4.tgz", + "integrity": "sha1-kWV9/m/4V0gwZhMrRhi2Lo9Ih70=", + "dev": true, + "requires": { + "jsonparse": "0.0.5", + "through": "2.3.8" + } + }, "minimist": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", @@ -7817,9 +8414,9 @@ "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=" }, "jsonparse": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-0.0.5.tgz", - "integrity": "sha1-MwVCrT8KZUZlt3jz6y2an6UHrGQ=", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", "dev": true }, "jsonpointer": { @@ -7829,12 +8426,12 @@ "dev": true }, "JSONStream": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-0.8.4.tgz", - "integrity": "sha1-kWV9/m/4V0gwZhMrRhi2Lo9Ih70=", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.1.tgz", + "integrity": "sha1-cH92HgHa6eFvG8+TcDt4xwlmV5o=", "dev": true, "requires": { - "jsonparse": "0.0.5", + "jsonparse": "1.3.1", "through": "2.3.8" } }, @@ -7960,74 +8557,491 @@ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, - "postcss-opacity": { + "postcss-opacity": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-opacity/-/postcss-opacity-3.0.0.tgz", + "integrity": "sha1-eHm8xzRAW/dKpsgcORdiBS/FWyk=", + "dev": true, + "requires": { + "postcss": "5.2.17" + } + }, + "postcss-reporter": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-1.4.1.tgz", + "integrity": "sha1-wTbwpbFhkV83ndN2XGEHX357mvI=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "lodash": "4.17.2", + "log-symbols": "1.0.2", + "postcss": "5.2.17" + } + } + } + }, + "lazy-cache": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", + "dev": true + }, + "lazy-req": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/lazy-req/-/lazy-req-1.1.0.tgz", + "integrity": "sha1-va6+rTD42CQDnODOFJ1Nqge6H6w=", + "dev": true + }, + "lazystream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz", + "integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=", + "dev": true, + "requires": { + "readable-stream": "2.3.3" + } + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "requires": { + "invert-kv": "1.0.0" + } + }, + "lcov-parse": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz", + "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=", + "dev": true + }, + "ldjson-stream": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ldjson-stream/-/ldjson-stream-1.2.1.tgz", + "integrity": "sha1-kb7O2lrE7SsX5kn7d356v6AYnCs=", + "dev": true, + "requires": { + "split2": "0.2.1", + "through2": "0.6.5" + }, + "dependencies": { + "split2": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/split2/-/split2-0.2.1.tgz", + "integrity": "sha1-At2smtwD7Au3jBKC7Aecpuha6QA=", + "dev": true, + "requires": { + "through2": "0.6.5" + } + } + } + }, + "lerna": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lerna/-/lerna-2.0.0.tgz", + "integrity": "sha1-Sacv5w4Grr/X6iPvsqtBq+YOvuo=", + "dev": true, + "requires": { + "async": "1.5.2", + "chalk": "1.1.3", + "cmd-shim": "2.0.2", + "columnify": "1.5.4", + "command-join": "2.0.0", + "conventional-changelog-cli": "1.3.2", + "conventional-recommended-bump": "1.0.1", + "dedent": "0.7.0", + "execa": "0.6.3", + "find-up": "2.1.0", + "fs-extra": "3.0.1", + "get-port": "3.1.0", + "glob": "7.1.2", + "globby": "6.1.0", + "graceful-fs": "4.1.11", + "inquirer": "3.2.0", + "is-ci": "1.0.10", + "load-json-file": "2.0.0", + "lodash": "4.17.4", + "minimatch": "3.0.4", + "npmlog": "4.1.2", + "p-finally": "1.0.0", + "path-exists": "3.0.0", + "read-cmd-shim": "1.0.1", + "read-pkg": "2.0.0", + "rimraf": "2.6.1", + "safe-buffer": "5.1.1", + "semver": "5.3.0", + "signal-exit": "3.0.2", + "strong-log-transformer": "1.0.6", + "temp-write": "3.3.0", + "write-file-atomic": "2.1.0", + "write-json-file": "2.2.0", + "write-pkg": "3.1.0", + "yargs": "8.0.2" + }, + "dependencies": { + "ansi-escapes": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-2.0.0.tgz", + "integrity": "sha1-W65SvkJIeN2Xg+iRDj/Cki6DyBs=", + "dev": true + }, + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.1.0.tgz", + "integrity": "sha1-CcIC1ckX7CMYjKpcnLkXnNlUd1A=", + "dev": true, + "requires": { + "color-convert": "1.9.0" + } + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + }, + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "dev": true, + "requires": { + "restore-cursor": "2.0.0" + } + }, + "execa": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.6.3.tgz", + "integrity": "sha1-V7aaWU8IF1nGnlNw8NF7nLEWWP4=", + "dev": true, + "requires": { + "cross-spawn": "5.1.0", + "get-stream": "3.0.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" + } + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5" + } + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "2.0.0" + } + }, + "fs-extra": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-3.0.1.tgz", + "integrity": "sha1-N5TzeMWLNC6n27sjCVEJxLO2IpE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "3.0.1", + "universalify": "0.1.1" + } + }, + "globby": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", + "dev": true, + "requires": { + "array-union": "1.0.2", + "glob": "7.1.2", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", + "dev": true + }, + "inquirer": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.2.0.tgz", + "integrity": "sha512-4CyUYMP7lOBkiUU1rR24WGrfRX6SucwbY2Mqb1PdApU24wnTIk4TsnkQwV72dDdIKZ2ycLP+fWCV+tA7wwgoew==", + "dev": true, + "requires": { + "ansi-escapes": "2.0.0", + "chalk": "2.0.1", + "cli-cursor": "2.1.0", + "cli-width": "2.1.0", + "external-editor": "2.0.4", + "figures": "2.0.0", + "lodash": "4.17.4", + "mute-stream": "0.0.7", + "run-async": "2.3.0", + "rx-lite": "4.0.8", + "rx-lite-aggregates": "4.0.8", + "string-width": "2.1.1", + "strip-ansi": "4.0.0", + "through": "2.3.8" + }, + "dependencies": { + "chalk": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.0.1.tgz", + "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", + "dev": true, + "requires": { + "ansi-styles": "3.1.0", + "escape-string-regexp": "1.0.5", + "supports-color": "4.2.0" + } + } + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "jsonfile": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-3.0.1.tgz", + "integrity": "sha1-pezG9l9T9mLEQVx2daAzHQmS7GY=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11" + } + }, + "load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "strip-bom": "3.0.0" + } + }, + "lodash": { + "version": "4.17.4", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", + "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", + "dev": true + }, + "mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", + "dev": true + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "dev": true, + "requires": { + "mimic-fn": "1.1.0" + } + }, + "os-locale": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.0.0.tgz", + "integrity": "sha1-FZGN7VEFIrge565aMJ1U9jn8OaQ=", + "dev": true, + "requires": { + "execa": "0.5.1", + "lcid": "1.0.0", + "mem": "1.1.0" + }, + "dependencies": { + "cross-spawn": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-4.0.2.tgz", + "integrity": "sha1-e5JHYhwjrf3ThWAEqCPL45dCTUE=", + "dev": true, + "requires": { + "lru-cache": "4.1.1", + "which": "1.2.14" + } + }, + "execa": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.5.1.tgz", + "integrity": "sha1-3j+4XLjW6RyFvLzrFkWBeFy1ezY=", + "dev": true, + "requires": { + "cross-spawn": "4.0.2", + "get-stream": "2.3.1", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" + } + }, + "get-stream": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz", + "integrity": "sha1-Xzj5PzRgCWZu4BUKBUFn+Rvdld4=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "pinkie-promise": "2.0.1" + } + } + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "2.3.0" + } + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "2.0.0", + "normalize-package-data": "2.4.0", + "path-type": "2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "2.1.0", + "read-pkg": "2.0.0" + } + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "dev": true, + "requires": { + "onetime": "2.0.1", + "signal-exit": "3.0.2" + } + }, + "run-async": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", + "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "dev": true, + "requires": { + "is-promise": "2.1.0" + } + }, + "rx-lite": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", + "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + }, + "strip-bom": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-opacity/-/postcss-opacity-3.0.0.tgz", - "integrity": "sha1-eHm8xzRAW/dKpsgcORdiBS/FWyk=", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "supports-color": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.2.0.tgz", + "integrity": "sha512-Ts0Mu/A1S1aZxEJNG88I4Oc9rcZSBFNac5e27yh4j2mqbhZSSzR1Ah79EYwSn9Zuh7lrlGD2cVGzw1RKGzyLSg==", "dev": true, "requires": { - "postcss": "5.2.17" + "has-flag": "2.0.0" } }, - "postcss-reporter": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-1.4.1.tgz", - "integrity": "sha1-wTbwpbFhkV83ndN2XGEHX357mvI=", + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, + "yargs": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", + "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", "dev": true, "requires": { - "chalk": "1.1.3", - "lodash": "4.17.2", - "log-symbols": "1.0.2", - "postcss": "5.2.17" + "camelcase": "4.1.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.2", + "os-locale": "2.0.0", + "read-pkg-up": "2.0.0", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "2.1.1", + "which-module": "2.0.0", + "y18n": "3.2.1", + "yargs-parser": "7.0.0" + } + }, + "yargs-parser": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", + "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", + "dev": true, + "requires": { + "camelcase": "4.1.0" } } } }, - "lazy-cache": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", - "dev": true - }, - "lazy-req": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/lazy-req/-/lazy-req-1.1.0.tgz", - "integrity": "sha1-va6+rTD42CQDnODOFJ1Nqge6H6w=", - "dev": true - }, - "lazystream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz", - "integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=", - "dev": true, - "requires": { - "readable-stream": "2.3.3" - } - }, - "lcid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", - "requires": { - "invert-kv": "1.0.0" - } - }, - "lcov-parse": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz", - "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=", - "dev": true - }, - "ldjson-stream": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ldjson-stream/-/ldjson-stream-1.2.1.tgz", - "integrity": "sha1-kb7O2lrE7SsX5kn7d356v6AYnCs=", - "dev": true, - "requires": { - "split2": "0.2.1", - "through2": "0.6.5" - } - }, "levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", @@ -8551,6 +9565,15 @@ "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", "dev": true }, + "mem": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", + "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", + "dev": true, + "requires": { + "mimic-fn": "1.1.0" + } + }, "memory-fs": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", @@ -8663,6 +9686,12 @@ "mime-db": "1.27.0" } }, + "mimic-fn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz", + "integrity": "sha1-5md4PZLonb00KBi1IwudYqZyrRg=", + "dev": true + }, "min-document": { "version": "2.19.0", "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", @@ -8807,6 +9836,12 @@ "integrity": "sha1-hfWKCqg7wdtMp9FLQtj53WY+dWk=", "dev": true }, + "modify-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.0.tgz", + "integrity": "sha1-4rbN65zhn5kxelNyLz2/XfXqqrI=", + "dev": true + }, "moment": { "version": "2.17.0", "resolved": "https://registry.npmjs.org/moment/-/moment-2.17.0.tgz", @@ -8944,7 +9979,7 @@ "lodash": "4.17.2", "mkdirp": "0.5.1", "propagate": "0.4.0", - "qs": "6.3.0" + "qs": "6.3.2" } }, "node-abi": { @@ -9371,6 +10406,12 @@ "pbkdf2": "3.0.12" } }, + "parse-github-repo-url": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.0.tgz", + "integrity": "sha1-KGxT4smWLgZBZJ7jrJUI/KTdlZw=", + "dev": true + }, "parse-glob": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", @@ -9919,7 +10960,7 @@ "integrity": "sha1-thTJcgvmgW6u41+zpfqh26agXds=", "dev": true, "requires": { - "postcss": "6.0.6" + "postcss": "6.0.8" }, "dependencies": { "ansi-styles": { @@ -9949,9 +10990,9 @@ "dev": true }, "postcss": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.6.tgz", - "integrity": "sha1-u6TVjohPx4yEDRU54Q7dqruPc70=", + "version": "6.0.8", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.8.tgz", + "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", "dev": true, "requires": { "chalk": "2.0.1", @@ -9977,7 +11018,7 @@ "dev": true, "requires": { "css-selector-tokenizer": "0.7.0", - "postcss": "6.0.6" + "postcss": "6.0.8" }, "dependencies": { "ansi-styles": { @@ -10007,9 +11048,9 @@ "dev": true }, "postcss": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.6.tgz", - "integrity": "sha1-u6TVjohPx4yEDRU54Q7dqruPc70=", + "version": "6.0.8", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.8.tgz", + "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", "dev": true, "requires": { "chalk": "2.0.1", @@ -10035,7 +11076,7 @@ "dev": true, "requires": { "css-selector-tokenizer": "0.7.0", - "postcss": "6.0.6" + "postcss": "6.0.8" }, "dependencies": { "ansi-styles": { @@ -10065,9 +11106,9 @@ "dev": true }, "postcss": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.6.tgz", - "integrity": "sha1-u6TVjohPx4yEDRU54Q7dqruPc70=", + "version": "6.0.8", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.8.tgz", + "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", "dev": true, "requires": { "chalk": "2.0.1", @@ -10093,7 +11134,7 @@ "dev": true, "requires": { "icss-replace-symbols": "1.1.0", - "postcss": "6.0.6" + "postcss": "6.0.8" }, "dependencies": { "ansi-styles": { @@ -10123,9 +11164,9 @@ "dev": true }, "postcss": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.6.tgz", - "integrity": "sha1-u6TVjohPx4yEDRU54Q7dqruPc70=", + "version": "6.0.8", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.8.tgz", + "integrity": "sha512-G6WnRmdTt2jvJvY+aY+M0AO4YlbxE+slKPZb+jG2P2U9Tyxi3h1fYZ/DgiFU6DC6bv3XIEJoZt+f/kNh8BrWFw==", "dev": true, "requires": { "chalk": "2.0.1", @@ -10570,9 +11611,10 @@ "integrity": "sha1-8YZUY/F4ZUfrsJDnxDC/PK9DoBc=" }, "qs": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.0.tgz", - "integrity": "sha1-9AOyZPI7wBIox0ExtAfxjV6l1EI=" + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", + "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=", + "dev": true }, "query-string": { "version": "4.3.4", @@ -10758,7 +11800,7 @@ "integrity": "sha1-zWvW70WOweA1z9iz/nswyMeIPGw=", "requires": { "classnames": "2.2.5", - "codemirror": "5.27.4", + "codemirror": "5.28.0", "lodash.debounce": "4.0.8" } }, @@ -11039,6 +12081,15 @@ "pify": "2.3.0" } }, + "read-cmd-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz", + "integrity": "sha1-LV0Vd4ajfAVdIgd8MsU/gynpHHs=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11" + } + }, "read-file-stdin": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/read-file-stdin/-/read-file-stdin-0.2.1.tgz", @@ -11186,7 +12237,7 @@ "error-stack-parser": "1.3.6", "object-assign": "4.1.1", "prop-types": "15.5.10", - "sourcemapped-stacktrace": "1.1.6" + "sourcemapped-stacktrace": "1.1.7" } }, "redent": { @@ -11455,7 +12506,7 @@ "json-stringify-safe": "5.0.1", "mime-types": "2.1.15", "oauth-sign": "0.8.2", - "qs": "6.3.0", + "qs": "6.3.2", "stringstream": "0.0.5", "tough-cookie": "2.3.2", "tunnel-agent": "0.4.3", @@ -11621,6 +12672,15 @@ "integrity": "sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI=", "dev": true }, + "rx-lite-aggregates": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", + "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", + "dev": true, + "requires": { + "rx-lite": "3.1.2" + } + }, "safe-buffer": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", @@ -11942,6 +13002,12 @@ "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", "dev": true }, + "slide": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", + "integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=", + "dev": true + }, "sntp": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", @@ -12019,9 +13085,9 @@ } }, "sourcemapped-stacktrace": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/sourcemapped-stacktrace/-/sourcemapped-stacktrace-1.1.6.tgz", - "integrity": "sha1-ES2HSclCw807Yw36yVFFd7hqOlE=", + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/sourcemapped-stacktrace/-/sourcemapped-stacktrace-1.1.7.tgz", + "integrity": "sha512-pgHNUACbafkQ+M5zR00NSOtSKBc/i40prgN+SY07J/pghClwVNWNTTMa0JuXj4lriR2TvMKcPAHw5KN9tVFRhA==", "dev": true, "requires": { "source-map": "0.5.6" @@ -12057,13 +13123,34 @@ "integrity": "sha1-8bBoQkzjF64HR42V3jwhz4Xo1Wc=", "dev": true }, + "split": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.0.tgz", + "integrity": "sha1-xDlc5oOrzSVLwo/h2rtuXCfc/64=", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, "split2": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/split2/-/split2-0.2.1.tgz", - "integrity": "sha1-At2smtwD7Au3jBKC7Aecpuha6QA=", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/split2/-/split2-2.1.1.tgz", + "integrity": "sha1-eh9VHhdqkOzTNF9yRqDP4XXvT9A=", "dev": true, "requires": { - "through2": "0.6.5" + "through2": "2.0.3" + }, + "dependencies": { + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "dev": true, + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + } } }, "sprintf-js": { @@ -12320,6 +13407,27 @@ "escape-string-regexp": "1.0.5" } }, + "strong-log-transformer": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-1.0.6.tgz", + "integrity": "sha1-9/uTdYpppXEUAYEnfuoMLrEwH6M=", + "dev": true, + "requires": { + "byline": "5.0.0", + "duplexer": "0.1.1", + "minimist": "0.1.0", + "moment": "2.17.0", + "through": "2.3.8" + }, + "dependencies": { + "minimist": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz", + "integrity": "sha1-md9lelJXTCHJBXSX33QnkLK0wN4=", + "dev": true + } + } + }, "style-loader": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.13.1.tgz", @@ -12427,7 +13535,7 @@ "postcss-value-parser": "3.3.0", "resolve-from": "3.0.0", "specificity": "0.3.1", - "string-width": "2.1.0", + "string-width": "2.1.1", "style-search": "0.1.0", "stylehacks": "2.3.2", "sugarss": "0.2.0", @@ -12507,9 +13615,9 @@ "dev": true }, "string-width": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.0.tgz", - "integrity": "sha1-AwZkVh/BRslCPsfZeP4kV0N/5tA=", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "requires": { "is-fullwidth-code-point": "2.0.0", @@ -12536,7 +13644,7 @@ "chalk": "1.1.3", "lodash": "4.17.4", "slice-ansi": "0.0.4", - "string-width": "2.1.0" + "string-width": "2.1.1" } } } @@ -12651,7 +13759,7 @@ "chalk": "1.1.3", "lodash": "4.17.2", "slice-ansi": "0.0.4", - "string-width": "2.1.0" + "string-width": "2.1.1" }, "dependencies": { "ajv": { @@ -12677,9 +13785,9 @@ "dev": true }, "string-width": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.0.tgz", - "integrity": "sha1-AwZkVh/BRslCPsfZeP4kV0N/5tA=", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "requires": { "is-fullwidth-code-point": "2.0.0", @@ -12698,9 +13806,9 @@ } }, "tapable": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.6.tgz", - "integrity": "sha1-IGvo4YiGC1FEJTdebxrom/sB/Y0=", + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.7.tgz", + "integrity": "sha1-5GwNqsuyuKmLmwzqD0BSEFgX7Vw=", "dev": true }, "tar-fs": { @@ -12731,6 +13839,28 @@ "integrity": "sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=", "dev": true }, + "temp-write": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/temp-write/-/temp-write-3.3.0.tgz", + "integrity": "sha1-walt4rNgYTQuroH0T/ABrsj2Fak=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "is-stream": "1.1.0", + "make-dir": "1.0.0", + "pify": "2.3.0", + "temp-dir": "1.0.0", + "uuid": "3.1.0" + }, + "dependencies": { + "uuid": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz", + "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==", + "dev": true + } + } + }, "tempfile": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-2.0.0.tgz", @@ -12749,6 +13879,12 @@ } } }, + "text-extensions": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.5.0.tgz", + "integrity": "sha1-0cstFLXQvEW/3Kigikc/aMfrDLw=", + "dev": true + }, "text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -12840,6 +13976,15 @@ "setimmediate": "1.0.5" } }, + "tmp": { + "version": "0.0.31", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.31.tgz", + "integrity": "sha1-jzirlDjhcxXl29izZX6L+yd65Kc=", + "dev": true, + "requires": { + "os-tmpdir": "1.0.2" + } + }, "to-absolute-glob": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz", @@ -12902,6 +14047,12 @@ "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=" }, + "trim-off-newlines": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz", + "integrity": "sha1-n5up2e+odkw4dpi8v+sshI8RrbM=", + "dev": true + }, "trim-repeated": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz", @@ -12994,9 +14145,9 @@ "integrity": "sha1-t60WWm+WJVhReoZ8XEv5OZ/Pfpg=" }, "ua-parser-js": { - "version": "0.7.13", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.13.tgz", - "integrity": "sha1-zZ3S+GSTs/RNvu7zeA/adMXuFL4=" + "version": "0.7.14", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.14.tgz", + "integrity": "sha1-EQ1T+kw/MmwSEpK76skE0uAzh8o=" }, "uglify-js": { "version": "2.8.22", @@ -13096,6 +14247,12 @@ "through2-filter": "2.0.0" } }, + "universalify": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz", + "integrity": "sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc=", + "dev": true + }, "unpipe": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", @@ -13403,6 +14560,15 @@ } } }, + "wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", + "dev": true, + "requires": { + "defaults": "1.0.3" + } + }, "web3": { "version": "0.17.0-beta", "resolved": "https://registry.npmjs.org/web3/-/web3-0.17.0-beta.tgz", @@ -13446,7 +14612,7 @@ "node-libs-browser": "2.0.0", "source-map": "0.5.6", "supports-color": "3.2.3", - "tapable": "0.2.6", + "tapable": "0.2.7", "uglify-js": "2.8.22", "watchpack": "1.4.0", "webpack-sources": "0.1.5", @@ -13700,12 +14866,66 @@ "mkdirp": "0.5.1" } }, + "write-file-atomic": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.1.0.tgz", + "integrity": "sha512-0TZ20a+xcIl4u0+Mj5xDH2yOWdmQiXlKf9Hm+TgDXjTMsEYb+gDrmb8e8UNAzMCitX8NBqG4Z/FUQIyzv/R1JQ==", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "imurmurhash": "0.1.4", + "slide": "1.1.6" + } + }, "write-file-stdout": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/write-file-stdout/-/write-file-stdout-0.0.2.tgz", "integrity": "sha1-wlLXx8WxtAKJdjDjRTx7/mkNnKE=", "dev": true }, + "write-json-file": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-2.2.0.tgz", + "integrity": "sha1-UYYlBruzthnu+reFnx/WxtBTCHY=", + "dev": true, + "requires": { + "detect-indent": "5.0.0", + "graceful-fs": "4.1.11", + "make-dir": "1.0.0", + "pify": "2.3.0", + "sort-keys": "1.1.2", + "write-file-atomic": "2.1.0" + }, + "dependencies": { + "detect-indent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", + "integrity": "sha1-OHHMCmoALow+Wzz38zYmRnXwa50=", + "dev": true + } + } + }, + "write-pkg": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/write-pkg/-/write-pkg-3.1.0.tgz", + "integrity": "sha1-AwqZlMyZk9JbTnWp8aGSNgcpHOk=", + "dev": true, + "requires": { + "sort-keys": "2.0.0", + "write-json-file": "2.2.0" + }, + "dependencies": { + "sort-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", + "integrity": "sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg=", + "dev": true, + "requires": { + "is-plain-obj": "1.1.0" + } + } + } + }, "xml-char-classes": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/xml-char-classes/-/xml-char-classes-1.0.0.tgz", diff --git a/js/package.json b/js/package.json index 908ed0875f..e941fbba93 100644 --- a/js/package.json +++ b/js/package.json @@ -57,9 +57,9 @@ "lint:js:fix": "eslint --fix --ignore-path .gitignore ./src/", "start": "npm run clean && npm install && npm run build:lib && npm run build:dll && npm run start:app", "start:app": "node webpack/dev.server", - "test": "NODE_ENV=test mocha --compilers ejs:ejsify 'src/**/*.spec.js'", - "test:coverage": "NODE_ENV=test istanbul cover _mocha -- --compilers ejs:ejsify 'src/**/*.spec.js'", - "test:e2e": "NODE_ENV=test mocha 'src/**/*.e2e.js'", + "test": "NODE_ENV=test mocha --compilers ejs:ejsify 'src/**/*.spec.js' 'packages/**/*.spec.js'", + "test:coverage": "NODE_ENV=test istanbul cover _mocha -- --compilers ejs:ejsify 'src/**/*.spec.js' 'packages/**/*.spec.js'", + "test:e2e": "NODE_ENV=test mocha 'src/**/*.e2e.js' 'packages/**/*.e2e.js'", "test:npm": "(cd .npmjs && npm i) && node test/npmParity && node test/npmJsonRpc && (rm -rf .npmjs/node_modules)", "prepush": "npm run lint:cached" }, @@ -99,7 +99,7 @@ "ejs-loader": "0.3.0", "ejsify": "1.0.0", "empty-module": "0.0.2", - "enzyme": "2.7.1", + "enzyme": "2.9.1", "eslint": "3.16.1", "eslint-config-semistandard": "7.0.0", "eslint-config-standard": "6.2.1", @@ -122,6 +122,7 @@ "istanbul": "1.0.0-alpha.2", "jsdom": "9.11.0", "json-loader": "0.5.4", + "lerna": "^2.0.0", "markdown-loader": "2.0.0", "mocha": "3.2.0", "mock-local-storage": "1.0.2", @@ -159,14 +160,15 @@ "yargs": "6.6.0" }, "dependencies": { - "@parity/abi": "file:src/abi", - "@parity/api": "file:src/api", - "@parity/dapps": "file:src/dapps", - "@parity/jsonrpc": "file:src/jsonrpc", - "@parity/shared": "file:src/shared", - "@parity/shell": "file:src/shell", - "@parity/ui": "file:src/ui", - "@parity/views": "file:src/views", + "@parity/abi": "file:packages/abi", + "@parity/api": "file:packages/api", + "@parity/dapps": "file:packages/dapps", + "@parity/etherscan": "file:packages/etherscan", + "@parity/jsonrpc": "file:packages/jsonrpc", + "@parity/ledger": "file:packages/ledger", + "@parity/shapeshift": "file:packages/shapeshift", + "@parity/shared": "file:packages/shared", + "@parity/ui": "file:packages/ui", "@parity/wordlist": "1.0.1", "es6-error": "4.0.0", "es6-promise": "4.0.5", @@ -196,6 +198,7 @@ "sw-toolbox": "^3.6.0", "u2f-api": "0.0.9", "u2f-api-polyfill": "0.4.3", + "useragent.js": "0.5.6", "utf8": "2.1.2", "web3": "0.17.0-beta", "whatwg-fetch": "2.0.1", diff --git a/js/src/abi/README.md b/js/packages/abi/README.md similarity index 100% rename from js/src/abi/README.md rename to js/packages/abi/README.md diff --git a/js/src/abi/abi.js b/js/packages/abi/abi.js similarity index 100% rename from js/src/abi/abi.js rename to js/packages/abi/abi.js diff --git a/js/src/abi/decoder/bytesTaken.js b/js/packages/abi/decoder/bytesTaken.js similarity index 100% rename from js/src/abi/decoder/bytesTaken.js rename to js/packages/abi/decoder/bytesTaken.js diff --git a/js/src/abi/decoder/bytesTaken.spec.js b/js/packages/abi/decoder/bytesTaken.spec.js similarity index 100% rename from js/src/abi/decoder/bytesTaken.spec.js rename to js/packages/abi/decoder/bytesTaken.spec.js diff --git a/js/src/abi/decoder/decodeResult.js b/js/packages/abi/decoder/decodeResult.js similarity index 100% rename from js/src/abi/decoder/decodeResult.js rename to js/packages/abi/decoder/decodeResult.js diff --git a/js/src/abi/decoder/decodeResult.spec.js b/js/packages/abi/decoder/decodeResult.spec.js similarity index 100% rename from js/src/abi/decoder/decodeResult.spec.js rename to js/packages/abi/decoder/decodeResult.spec.js diff --git a/js/src/abi/decoder/decoder.js b/js/packages/abi/decoder/decoder.js similarity index 100% rename from js/src/abi/decoder/decoder.js rename to js/packages/abi/decoder/decoder.js diff --git a/js/src/abi/decoder/decoder.spec.js b/js/packages/abi/decoder/decoder.spec.js similarity index 100% rename from js/src/abi/decoder/decoder.spec.js rename to js/packages/abi/decoder/decoder.spec.js diff --git a/js/src/abi/decoder/index.js b/js/packages/abi/decoder/index.js similarity index 100% rename from js/src/abi/decoder/index.js rename to js/packages/abi/decoder/index.js diff --git a/js/src/abi/encoder/encoder.js b/js/packages/abi/encoder/encoder.js similarity index 100% rename from js/src/abi/encoder/encoder.js rename to js/packages/abi/encoder/encoder.js diff --git a/js/src/abi/encoder/encoder.spec.js b/js/packages/abi/encoder/encoder.spec.js similarity index 100% rename from js/src/abi/encoder/encoder.spec.js rename to js/packages/abi/encoder/encoder.spec.js diff --git a/js/src/abi/encoder/index.js b/js/packages/abi/encoder/index.js similarity index 100% rename from js/src/abi/encoder/index.js rename to js/packages/abi/encoder/index.js diff --git a/js/src/abi/encoder/mediate.js b/js/packages/abi/encoder/mediate.js similarity index 100% rename from js/src/abi/encoder/mediate.js rename to js/packages/abi/encoder/mediate.js diff --git a/js/src/abi/encoder/mediate.spec.js b/js/packages/abi/encoder/mediate.spec.js similarity index 100% rename from js/src/abi/encoder/mediate.spec.js rename to js/packages/abi/encoder/mediate.spec.js diff --git a/js/src/abi/index.js b/js/packages/abi/index.js similarity index 100% rename from js/src/abi/index.js rename to js/packages/abi/index.js diff --git a/js/src/abi/package.json b/js/packages/abi/package.json similarity index 100% rename from js/src/abi/package.json rename to js/packages/abi/package.json diff --git a/js/src/abi/spec/constructor.js b/js/packages/abi/spec/constructor.js similarity index 100% rename from js/src/abi/spec/constructor.js rename to js/packages/abi/spec/constructor.js diff --git a/js/src/abi/spec/constructor.spec.js b/js/packages/abi/spec/constructor.spec.js similarity index 100% rename from js/src/abi/spec/constructor.spec.js rename to js/packages/abi/spec/constructor.spec.js diff --git a/js/src/abi/spec/event/decodedLog.js b/js/packages/abi/spec/event/decodedLog.js similarity index 100% rename from js/src/abi/spec/event/decodedLog.js rename to js/packages/abi/spec/event/decodedLog.js diff --git a/js/src/abi/spec/event/decodedLog.spec.js b/js/packages/abi/spec/event/decodedLog.spec.js similarity index 100% rename from js/src/abi/spec/event/decodedLog.spec.js rename to js/packages/abi/spec/event/decodedLog.spec.js diff --git a/js/src/abi/spec/event/decodedLogParam.js b/js/packages/abi/spec/event/decodedLogParam.js similarity index 100% rename from js/src/abi/spec/event/decodedLogParam.js rename to js/packages/abi/spec/event/decodedLogParam.js diff --git a/js/src/abi/spec/event/decodedLogParam.spec.js b/js/packages/abi/spec/event/decodedLogParam.spec.js similarity index 100% rename from js/src/abi/spec/event/decodedLogParam.spec.js rename to js/packages/abi/spec/event/decodedLogParam.spec.js diff --git a/js/src/abi/spec/event/event.js b/js/packages/abi/spec/event/event.js similarity index 100% rename from js/src/abi/spec/event/event.js rename to js/packages/abi/spec/event/event.js diff --git a/js/src/abi/spec/event/event.spec.js b/js/packages/abi/spec/event/event.spec.js similarity index 100% rename from js/src/abi/spec/event/event.spec.js rename to js/packages/abi/spec/event/event.spec.js diff --git a/js/src/abi/spec/event/eventParam.js b/js/packages/abi/spec/event/eventParam.js similarity index 100% rename from js/src/abi/spec/event/eventParam.js rename to js/packages/abi/spec/event/eventParam.js diff --git a/js/src/abi/spec/event/eventParam.spec.js b/js/packages/abi/spec/event/eventParam.spec.js similarity index 100% rename from js/src/abi/spec/event/eventParam.spec.js rename to js/packages/abi/spec/event/eventParam.spec.js diff --git a/js/src/abi/spec/event/index.js b/js/packages/abi/spec/event/index.js similarity index 100% rename from js/src/abi/spec/event/index.js rename to js/packages/abi/spec/event/index.js diff --git a/js/src/abi/spec/function.js b/js/packages/abi/spec/function.js similarity index 100% rename from js/src/abi/spec/function.js rename to js/packages/abi/spec/function.js diff --git a/js/src/abi/spec/function.spec.js b/js/packages/abi/spec/function.spec.js similarity index 100% rename from js/src/abi/spec/function.spec.js rename to js/packages/abi/spec/function.spec.js diff --git a/js/src/abi/spec/index.js b/js/packages/abi/spec/index.js similarity index 100% rename from js/src/abi/spec/index.js rename to js/packages/abi/spec/index.js diff --git a/js/src/abi/spec/interface.js b/js/packages/abi/spec/interface.js similarity index 100% rename from js/src/abi/spec/interface.js rename to js/packages/abi/spec/interface.js diff --git a/js/src/abi/spec/interface.spec.js b/js/packages/abi/spec/interface.spec.js similarity index 100% rename from js/src/abi/spec/interface.spec.js rename to js/packages/abi/spec/interface.spec.js diff --git a/js/src/abi/spec/param.js b/js/packages/abi/spec/param.js similarity index 100% rename from js/src/abi/spec/param.js rename to js/packages/abi/spec/param.js diff --git a/js/src/abi/spec/param.spec.js b/js/packages/abi/spec/param.spec.js similarity index 100% rename from js/src/abi/spec/param.spec.js rename to js/packages/abi/spec/param.spec.js diff --git a/js/src/abi/spec/paramType/format.js b/js/packages/abi/spec/paramType/format.js similarity index 100% rename from js/src/abi/spec/paramType/format.js rename to js/packages/abi/spec/paramType/format.js diff --git a/js/src/abi/spec/paramType/format.spec.js b/js/packages/abi/spec/paramType/format.spec.js similarity index 100% rename from js/src/abi/spec/paramType/format.spec.js rename to js/packages/abi/spec/paramType/format.spec.js diff --git a/js/src/abi/spec/paramType/index.js b/js/packages/abi/spec/paramType/index.js similarity index 100% rename from js/src/abi/spec/paramType/index.js rename to js/packages/abi/spec/paramType/index.js diff --git a/js/src/abi/spec/paramType/paramType.js b/js/packages/abi/spec/paramType/paramType.js similarity index 100% rename from js/src/abi/spec/paramType/paramType.js rename to js/packages/abi/spec/paramType/paramType.js diff --git a/js/src/abi/spec/paramType/paramType.spec.js b/js/packages/abi/spec/paramType/paramType.spec.js similarity index 100% rename from js/src/abi/spec/paramType/paramType.spec.js rename to js/packages/abi/spec/paramType/paramType.spec.js diff --git a/js/src/abi/spec/paramType/types.js b/js/packages/abi/spec/paramType/types.js similarity index 100% rename from js/src/abi/spec/paramType/types.js rename to js/packages/abi/spec/paramType/types.js diff --git a/js/src/abi/token/index.js b/js/packages/abi/token/index.js similarity index 100% rename from js/src/abi/token/index.js rename to js/packages/abi/token/index.js diff --git a/js/src/abi/token/token.js b/js/packages/abi/token/token.js similarity index 100% rename from js/src/abi/token/token.js rename to js/packages/abi/token/token.js diff --git a/js/src/abi/token/token.spec.js b/js/packages/abi/token/token.spec.js similarity index 100% rename from js/src/abi/token/token.spec.js rename to js/packages/abi/token/token.spec.js diff --git a/js/src/abi/util/address.js b/js/packages/abi/util/address.js similarity index 100% rename from js/src/abi/util/address.js rename to js/packages/abi/util/address.js diff --git a/js/src/abi/util/address.spec.js b/js/packages/abi/util/address.spec.js similarity index 100% rename from js/src/abi/util/address.spec.js rename to js/packages/abi/util/address.spec.js diff --git a/js/src/abi/util/pad.js b/js/packages/abi/util/pad.js similarity index 100% rename from js/src/abi/util/pad.js rename to js/packages/abi/util/pad.js diff --git a/js/src/abi/util/pad.spec.js b/js/packages/abi/util/pad.spec.js similarity index 100% rename from js/src/abi/util/pad.spec.js rename to js/packages/abi/util/pad.spec.js diff --git a/js/src/abi/util/signature.js b/js/packages/abi/util/signature.js similarity index 100% rename from js/src/abi/util/signature.js rename to js/packages/abi/util/signature.js diff --git a/js/src/abi/util/signature.spec.js b/js/packages/abi/util/signature.spec.js similarity index 100% rename from js/src/abi/util/signature.spec.js rename to js/packages/abi/util/signature.spec.js diff --git a/js/src/abi/util/slice.js b/js/packages/abi/util/slice.js similarity index 100% rename from js/src/abi/util/slice.js rename to js/packages/abi/util/slice.js diff --git a/js/src/abi/util/slice.spec.js b/js/packages/abi/util/slice.spec.js similarity index 100% rename from js/src/abi/util/slice.spec.js rename to js/packages/abi/util/slice.spec.js diff --git a/js/src/abi/util/sliceAs.js b/js/packages/abi/util/sliceAs.js similarity index 100% rename from js/src/abi/util/sliceAs.js rename to js/packages/abi/util/sliceAs.js diff --git a/js/src/abi/util/sliceAs.spec.js b/js/packages/abi/util/sliceAs.spec.js similarity index 100% rename from js/src/abi/util/sliceAs.spec.js rename to js/packages/abi/util/sliceAs.spec.js diff --git a/js/src/abi/util/types.js b/js/packages/abi/util/types.js similarity index 100% rename from js/src/abi/util/types.js rename to js/packages/abi/util/types.js diff --git a/js/src/abi/util/types.spec.js b/js/packages/abi/util/types.spec.js similarity index 100% rename from js/src/abi/util/types.spec.js rename to js/packages/abi/util/types.spec.js diff --git a/js/npm/parity/README.md b/js/packages/api/README.md similarity index 100% rename from js/npm/parity/README.md rename to js/packages/api/README.md diff --git a/js/src/api/api.js b/js/packages/api/api.js similarity index 98% rename from js/src/api/api.js rename to js/packages/api/api.js index cb86cde661..67556d0d33 100644 --- a/js/src/api/api.js +++ b/js/packages/api/api.js @@ -26,7 +26,7 @@ import Pubsub from './pubsub'; import util from './util'; import { isFunction } from './util/types'; -import LocalAccountsMiddleware from '~/api/local'; +import LocalAccountsMiddleware from '~/packages/api/local'; export default class Api extends EventEmitter { constructor (provider, allowSubscriptions = true) { diff --git a/js/src/api/api.spec.js b/js/packages/api/api.spec.js similarity index 100% rename from js/src/api/api.spec.js rename to js/packages/api/api.spec.js diff --git a/js/src/api/contract/contract.js b/js/packages/api/contract/contract.js similarity index 100% rename from js/src/api/contract/contract.js rename to js/packages/api/contract/contract.js diff --git a/js/src/api/contract/contract.spec.js b/js/packages/api/contract/contract.spec.js similarity index 100% rename from js/src/api/contract/contract.spec.js rename to js/packages/api/contract/contract.spec.js diff --git a/js/src/api/contract/index.js b/js/packages/api/contract/index.js similarity index 100% rename from js/src/api/contract/index.js rename to js/packages/api/contract/index.js diff --git a/js/src/api/format/input.js b/js/packages/api/format/input.js similarity index 100% rename from js/src/api/format/input.js rename to js/packages/api/format/input.js diff --git a/js/src/api/format/input.spec.js b/js/packages/api/format/input.spec.js similarity index 100% rename from js/src/api/format/input.spec.js rename to js/packages/api/format/input.spec.js diff --git a/js/src/api/format/output.js b/js/packages/api/format/output.js similarity index 100% rename from js/src/api/format/output.js rename to js/packages/api/format/output.js diff --git a/js/src/api/format/output.spec.js b/js/packages/api/format/output.spec.js similarity index 100% rename from js/src/api/format/output.spec.js rename to js/packages/api/format/output.spec.js diff --git a/js/src/api/index.js b/js/packages/api/index.js similarity index 100% rename from js/src/api/index.js rename to js/packages/api/index.js diff --git a/js/src/library.parity.js b/js/packages/api/library.js similarity index 95% rename from js/src/library.parity.js rename to js/packages/api/library.js index d7d697a821..96086b563d 100644 --- a/js/src/library.parity.js +++ b/js/packages/api/library.js @@ -28,7 +28,7 @@ if (isNode) { global.fetch = require('node-fetch'); } -import Abi from './abi'; -import Api from './api'; +import Abi from '../abi'; +import Api from './'; export { Api, Abi }; diff --git a/js/src/api/local/accounts/account.js b/js/packages/api/local/accounts/account.js similarity index 100% rename from js/src/api/local/accounts/account.js rename to js/packages/api/local/accounts/account.js diff --git a/js/src/api/local/accounts/accounts.js b/js/packages/api/local/accounts/accounts.js similarity index 100% rename from js/src/api/local/accounts/accounts.js rename to js/packages/api/local/accounts/accounts.js diff --git a/js/src/api/local/accounts/index.js b/js/packages/api/local/accounts/index.js similarity index 100% rename from js/src/api/local/accounts/index.js rename to js/packages/api/local/accounts/index.js diff --git a/js/src/api/local/ethkey/ethkey.js b/js/packages/api/local/ethkey/ethkey.js similarity index 100% rename from js/src/api/local/ethkey/ethkey.js rename to js/packages/api/local/ethkey/ethkey.js diff --git a/js/src/api/local/ethkey/ethkey.wasm.js b/js/packages/api/local/ethkey/ethkey.wasm.js similarity index 100% rename from js/src/api/local/ethkey/ethkey.wasm.js rename to js/packages/api/local/ethkey/ethkey.wasm.js diff --git a/js/src/api/local/ethkey/index.js b/js/packages/api/local/ethkey/index.js similarity index 100% rename from js/src/api/local/ethkey/index.js rename to js/packages/api/local/ethkey/index.js diff --git a/js/src/api/local/ethkey/index.spec.js b/js/packages/api/local/ethkey/index.spec.js similarity index 100% rename from js/src/api/local/ethkey/index.spec.js rename to js/packages/api/local/ethkey/index.spec.js diff --git a/js/src/api/local/ethkey/worker.js b/js/packages/api/local/ethkey/worker.js similarity index 98% rename from js/src/api/local/ethkey/worker.js rename to js/packages/api/local/ethkey/worker.js index 76ccf06b22..3b88d43810 100644 --- a/js/src/api/local/ethkey/worker.js +++ b/js/packages/api/local/ethkey/worker.js @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import { bytesToHex } from '~/api/util/format'; +import { bytesToHex } from '../../util/format'; import { extern, slice } from './ethkey.js'; const isWorker = typeof self !== 'undefined'; diff --git a/js/src/api/local/ethkey/workerPool.js b/js/packages/api/local/ethkey/workerPool.js similarity index 100% rename from js/src/api/local/ethkey/workerPool.js rename to js/packages/api/local/ethkey/workerPool.js diff --git a/js/src/api/local/index.js b/js/packages/api/local/index.js similarity index 100% rename from js/src/api/local/index.js rename to js/packages/api/local/index.js diff --git a/js/src/api/local/localAccountsMiddleware.js b/js/packages/api/local/localAccountsMiddleware.js similarity index 100% rename from js/src/api/local/localAccountsMiddleware.js rename to js/packages/api/local/localAccountsMiddleware.js diff --git a/js/src/api/local/localAccountsMiddleware.spec.js b/js/packages/api/local/localAccountsMiddleware.spec.js similarity index 100% rename from js/src/api/local/localAccountsMiddleware.spec.js rename to js/packages/api/local/localAccountsMiddleware.spec.js diff --git a/js/src/api/local/transactions.js b/js/packages/api/local/transactions.js similarity index 100% rename from js/src/api/local/transactions.js rename to js/packages/api/local/transactions.js diff --git a/js/src/api/local/transactions.spec.js b/js/packages/api/local/transactions.spec.js similarity index 100% rename from js/src/api/local/transactions.spec.js rename to js/packages/api/local/transactions.spec.js diff --git a/js/src/api/package.json b/js/packages/api/package.json similarity index 100% rename from js/src/api/package.json rename to js/packages/api/package.json diff --git a/js/src/api/provider/http.js b/js/packages/api/provider/http.js similarity index 100% rename from js/src/api/provider/http.js rename to js/packages/api/provider/http.js diff --git a/js/src/api/provider/index.js b/js/packages/api/provider/index.js similarity index 100% rename from js/src/api/provider/index.js rename to js/packages/api/provider/index.js diff --git a/js/src/api/provider/postMessage.js b/js/packages/api/provider/postMessage.js similarity index 100% rename from js/src/api/provider/postMessage.js rename to js/packages/api/provider/postMessage.js diff --git a/js/src/api/provider/promise.js b/js/packages/api/provider/promise.js similarity index 100% rename from js/src/api/provider/promise.js rename to js/packages/api/provider/promise.js diff --git a/js/src/api/provider/wsSecure.js b/js/packages/api/provider/wsSecure.js similarity index 100% rename from js/src/api/provider/wsSecure.js rename to js/packages/api/provider/wsSecure.js diff --git a/js/src/api/pubsub/eth/eth.js b/js/packages/api/pubsub/eth/eth.js similarity index 100% rename from js/src/api/pubsub/eth/eth.js rename to js/packages/api/pubsub/eth/eth.js diff --git a/js/src/api/pubsub/eth/index.js b/js/packages/api/pubsub/eth/index.js similarity index 100% rename from js/src/api/pubsub/eth/index.js rename to js/packages/api/pubsub/eth/index.js diff --git a/js/src/api/pubsub/index.js b/js/packages/api/pubsub/index.js similarity index 100% rename from js/src/api/pubsub/index.js rename to js/packages/api/pubsub/index.js diff --git a/js/src/api/pubsub/net/index.js b/js/packages/api/pubsub/net/index.js similarity index 100% rename from js/src/api/pubsub/net/index.js rename to js/packages/api/pubsub/net/index.js diff --git a/js/src/api/pubsub/net/net.js b/js/packages/api/pubsub/net/net.js similarity index 100% rename from js/src/api/pubsub/net/net.js rename to js/packages/api/pubsub/net/net.js diff --git a/js/src/api/pubsub/parity/index.js b/js/packages/api/pubsub/parity/index.js similarity index 100% rename from js/src/api/pubsub/parity/index.js rename to js/packages/api/pubsub/parity/index.js diff --git a/js/src/api/pubsub/parity/parity.js b/js/packages/api/pubsub/parity/parity.js similarity index 100% rename from js/src/api/pubsub/parity/parity.js rename to js/packages/api/pubsub/parity/parity.js diff --git a/js/src/api/pubsub/pubsub.js b/js/packages/api/pubsub/pubsub.js similarity index 100% rename from js/src/api/pubsub/pubsub.js rename to js/packages/api/pubsub/pubsub.js diff --git a/js/src/api/pubsub/pubsub.spec.js b/js/packages/api/pubsub/pubsub.spec.js similarity index 100% rename from js/src/api/pubsub/pubsub.spec.js rename to js/packages/api/pubsub/pubsub.spec.js diff --git a/js/src/api/pubsub/pubsubBase.js b/js/packages/api/pubsub/pubsubBase.js similarity index 100% rename from js/src/api/pubsub/pubsubBase.js rename to js/packages/api/pubsub/pubsubBase.js diff --git a/js/src/api/rpc/db/db.js b/js/packages/api/rpc/db/db.js similarity index 100% rename from js/src/api/rpc/db/db.js rename to js/packages/api/rpc/db/db.js diff --git a/js/src/api/rpc/db/db.spec.js b/js/packages/api/rpc/db/db.spec.js similarity index 100% rename from js/src/api/rpc/db/db.spec.js rename to js/packages/api/rpc/db/db.spec.js diff --git a/js/src/api/rpc/db/index.js b/js/packages/api/rpc/db/index.js similarity index 100% rename from js/src/api/rpc/db/index.js rename to js/packages/api/rpc/db/index.js diff --git a/js/src/api/rpc/eth/eth.e2e.js b/js/packages/api/rpc/eth/eth.e2e.js similarity index 100% rename from js/src/api/rpc/eth/eth.e2e.js rename to js/packages/api/rpc/eth/eth.e2e.js diff --git a/js/src/api/rpc/eth/eth.js b/js/packages/api/rpc/eth/eth.js similarity index 100% rename from js/src/api/rpc/eth/eth.js rename to js/packages/api/rpc/eth/eth.js diff --git a/js/src/api/rpc/eth/eth.spec.js b/js/packages/api/rpc/eth/eth.spec.js similarity index 100% rename from js/src/api/rpc/eth/eth.spec.js rename to js/packages/api/rpc/eth/eth.spec.js diff --git a/js/src/api/rpc/eth/index.js b/js/packages/api/rpc/eth/index.js similarity index 100% rename from js/src/api/rpc/eth/index.js rename to js/packages/api/rpc/eth/index.js diff --git a/js/src/api/rpc/index.js b/js/packages/api/rpc/index.js similarity index 100% rename from js/src/api/rpc/index.js rename to js/packages/api/rpc/index.js diff --git a/js/src/api/rpc/net/index.js b/js/packages/api/rpc/net/index.js similarity index 100% rename from js/src/api/rpc/net/index.js rename to js/packages/api/rpc/net/index.js diff --git a/js/src/api/rpc/net/net.e2e.js b/js/packages/api/rpc/net/net.e2e.js similarity index 100% rename from js/src/api/rpc/net/net.e2e.js rename to js/packages/api/rpc/net/net.e2e.js diff --git a/js/src/api/rpc/net/net.js b/js/packages/api/rpc/net/net.js similarity index 100% rename from js/src/api/rpc/net/net.js rename to js/packages/api/rpc/net/net.js diff --git a/js/src/api/rpc/net/net.spec.js b/js/packages/api/rpc/net/net.spec.js similarity index 100% rename from js/src/api/rpc/net/net.spec.js rename to js/packages/api/rpc/net/net.spec.js diff --git a/js/src/api/rpc/parity/index.js b/js/packages/api/rpc/parity/index.js similarity index 100% rename from js/src/api/rpc/parity/index.js rename to js/packages/api/rpc/parity/index.js diff --git a/js/src/api/rpc/parity/parity.e2e.js b/js/packages/api/rpc/parity/parity.e2e.js similarity index 100% rename from js/src/api/rpc/parity/parity.e2e.js rename to js/packages/api/rpc/parity/parity.e2e.js diff --git a/js/src/api/rpc/parity/parity.js b/js/packages/api/rpc/parity/parity.js similarity index 100% rename from js/src/api/rpc/parity/parity.js rename to js/packages/api/rpc/parity/parity.js diff --git a/js/src/api/rpc/parity/parity.spec.js b/js/packages/api/rpc/parity/parity.spec.js similarity index 100% rename from js/src/api/rpc/parity/parity.spec.js rename to js/packages/api/rpc/parity/parity.spec.js diff --git a/js/src/api/rpc/personal/index.js b/js/packages/api/rpc/personal/index.js similarity index 100% rename from js/src/api/rpc/personal/index.js rename to js/packages/api/rpc/personal/index.js diff --git a/js/src/api/rpc/personal/personal.e2e.js b/js/packages/api/rpc/personal/personal.e2e.js similarity index 100% rename from js/src/api/rpc/personal/personal.e2e.js rename to js/packages/api/rpc/personal/personal.e2e.js diff --git a/js/src/api/rpc/personal/personal.js b/js/packages/api/rpc/personal/personal.js similarity index 100% rename from js/src/api/rpc/personal/personal.js rename to js/packages/api/rpc/personal/personal.js diff --git a/js/src/api/rpc/personal/personal.spec.js b/js/packages/api/rpc/personal/personal.spec.js similarity index 100% rename from js/src/api/rpc/personal/personal.spec.js rename to js/packages/api/rpc/personal/personal.spec.js diff --git a/js/src/api/rpc/shell/index.js b/js/packages/api/rpc/shell/index.js similarity index 100% rename from js/src/api/rpc/shell/index.js rename to js/packages/api/rpc/shell/index.js diff --git a/js/src/api/rpc/shell/shell.js b/js/packages/api/rpc/shell/shell.js similarity index 100% rename from js/src/api/rpc/shell/shell.js rename to js/packages/api/rpc/shell/shell.js diff --git a/js/src/api/rpc/shh/index.js b/js/packages/api/rpc/shh/index.js similarity index 100% rename from js/src/api/rpc/shh/index.js rename to js/packages/api/rpc/shh/index.js diff --git a/js/src/api/rpc/shh/shh.js b/js/packages/api/rpc/shh/shh.js similarity index 100% rename from js/src/api/rpc/shh/shh.js rename to js/packages/api/rpc/shh/shh.js diff --git a/js/src/api/rpc/signer/index.js b/js/packages/api/rpc/signer/index.js similarity index 100% rename from js/src/api/rpc/signer/index.js rename to js/packages/api/rpc/signer/index.js diff --git a/js/src/api/rpc/signer/signer.js b/js/packages/api/rpc/signer/signer.js similarity index 100% rename from js/src/api/rpc/signer/signer.js rename to js/packages/api/rpc/signer/signer.js diff --git a/js/src/api/rpc/trace/index.js b/js/packages/api/rpc/trace/index.js similarity index 100% rename from js/src/api/rpc/trace/index.js rename to js/packages/api/rpc/trace/index.js diff --git a/js/src/api/rpc/trace/trace.e2e.js b/js/packages/api/rpc/trace/trace.e2e.js similarity index 100% rename from js/src/api/rpc/trace/trace.e2e.js rename to js/packages/api/rpc/trace/trace.e2e.js diff --git a/js/src/api/rpc/trace/trace.js b/js/packages/api/rpc/trace/trace.js similarity index 100% rename from js/src/api/rpc/trace/trace.js rename to js/packages/api/rpc/trace/trace.js diff --git a/js/src/api/rpc/trace/trace.spec.js b/js/packages/api/rpc/trace/trace.spec.js similarity index 100% rename from js/src/api/rpc/trace/trace.spec.js rename to js/packages/api/rpc/trace/trace.spec.js diff --git a/js/src/api/rpc/web3/index.js b/js/packages/api/rpc/web3/index.js similarity index 100% rename from js/src/api/rpc/web3/index.js rename to js/packages/api/rpc/web3/index.js diff --git a/js/src/api/rpc/web3/web3.e2e.js b/js/packages/api/rpc/web3/web3.e2e.js similarity index 100% rename from js/src/api/rpc/web3/web3.e2e.js rename to js/packages/api/rpc/web3/web3.e2e.js diff --git a/js/src/api/rpc/web3/web3.js b/js/packages/api/rpc/web3/web3.js similarity index 100% rename from js/src/api/rpc/web3/web3.js rename to js/packages/api/rpc/web3/web3.js diff --git a/js/src/api/rpc/web3/web3.spec.js b/js/packages/api/rpc/web3/web3.spec.js similarity index 100% rename from js/src/api/rpc/web3/web3.spec.js rename to js/packages/api/rpc/web3/web3.spec.js diff --git a/js/src/api/subscriptions/eth.js b/js/packages/api/subscriptions/eth.js similarity index 100% rename from js/src/api/subscriptions/eth.js rename to js/packages/api/subscriptions/eth.js diff --git a/js/src/api/subscriptions/eth.spec.js b/js/packages/api/subscriptions/eth.spec.js similarity index 100% rename from js/src/api/subscriptions/eth.spec.js rename to js/packages/api/subscriptions/eth.spec.js diff --git a/js/src/api/subscriptions/index.js b/js/packages/api/subscriptions/index.js similarity index 100% rename from js/src/api/subscriptions/index.js rename to js/packages/api/subscriptions/index.js diff --git a/js/src/api/subscriptions/logging.js b/js/packages/api/subscriptions/logging.js similarity index 100% rename from js/src/api/subscriptions/logging.js rename to js/packages/api/subscriptions/logging.js diff --git a/js/src/api/subscriptions/logging.spec.js b/js/packages/api/subscriptions/logging.spec.js similarity index 100% rename from js/src/api/subscriptions/logging.spec.js rename to js/packages/api/subscriptions/logging.spec.js diff --git a/js/src/api/subscriptions/manager.js b/js/packages/api/subscriptions/manager.js similarity index 100% rename from js/src/api/subscriptions/manager.js rename to js/packages/api/subscriptions/manager.js diff --git a/js/src/api/subscriptions/manager.spec.js b/js/packages/api/subscriptions/manager.spec.js similarity index 100% rename from js/src/api/subscriptions/manager.spec.js rename to js/packages/api/subscriptions/manager.spec.js diff --git a/js/src/api/subscriptions/personal.js b/js/packages/api/subscriptions/personal.js similarity index 100% rename from js/src/api/subscriptions/personal.js rename to js/packages/api/subscriptions/personal.js diff --git a/js/src/api/subscriptions/personal.spec.js b/js/packages/api/subscriptions/personal.spec.js similarity index 100% rename from js/src/api/subscriptions/personal.spec.js rename to js/packages/api/subscriptions/personal.spec.js diff --git a/js/src/api/subscriptions/signer.js b/js/packages/api/subscriptions/signer.js similarity index 100% rename from js/src/api/subscriptions/signer.js rename to js/packages/api/subscriptions/signer.js diff --git a/js/src/api/transport/error.js b/js/packages/api/transport/error.js similarity index 100% rename from js/src/api/transport/error.js rename to js/packages/api/transport/error.js diff --git a/js/src/api/transport/http/http.e2e.js b/js/packages/api/transport/http/http.e2e.js similarity index 100% rename from js/src/api/transport/http/http.e2e.js rename to js/packages/api/transport/http/http.e2e.js diff --git a/js/src/api/transport/http/http.js b/js/packages/api/transport/http/http.js similarity index 100% rename from js/src/api/transport/http/http.js rename to js/packages/api/transport/http/http.js diff --git a/js/src/api/transport/http/http.spec.js b/js/packages/api/transport/http/http.spec.js similarity index 100% rename from js/src/api/transport/http/http.spec.js rename to js/packages/api/transport/http/http.spec.js diff --git a/js/src/api/transport/http/index.js b/js/packages/api/transport/http/index.js similarity index 100% rename from js/src/api/transport/http/index.js rename to js/packages/api/transport/http/index.js diff --git a/js/src/api/transport/index.js b/js/packages/api/transport/index.js similarity index 100% rename from js/src/api/transport/index.js rename to js/packages/api/transport/index.js diff --git a/js/src/api/transport/jsonRpcBase.js b/js/packages/api/transport/jsonRpcBase.js similarity index 100% rename from js/src/api/transport/jsonRpcBase.js rename to js/packages/api/transport/jsonRpcBase.js diff --git a/js/src/api/transport/jsonRpcBase.spec.js b/js/packages/api/transport/jsonRpcBase.spec.js similarity index 100% rename from js/src/api/transport/jsonRpcBase.spec.js rename to js/packages/api/transport/jsonRpcBase.spec.js diff --git a/js/src/api/transport/middleware.js b/js/packages/api/transport/middleware.js similarity index 100% rename from js/src/api/transport/middleware.js rename to js/packages/api/transport/middleware.js diff --git a/js/src/api/transport/middleware.spec.js b/js/packages/api/transport/middleware.spec.js similarity index 100% rename from js/src/api/transport/middleware.spec.js rename to js/packages/api/transport/middleware.spec.js diff --git a/js/src/api/transport/wsSecure/index.js b/js/packages/api/transport/wsSecure/index.js similarity index 100% rename from js/src/api/transport/wsSecure/index.js rename to js/packages/api/transport/wsSecure/index.js diff --git a/js/src/api/transport/wsSecure/wsSecure.e2e.js b/js/packages/api/transport/wsSecure/wsSecure.e2e.js similarity index 100% rename from js/src/api/transport/wsSecure/wsSecure.e2e.js rename to js/packages/api/transport/wsSecure/wsSecure.e2e.js diff --git a/js/src/api/transport/wsSecure/wsSecure.js b/js/packages/api/transport/wsSecure/wsSecure.js similarity index 100% rename from js/src/api/transport/wsSecure/wsSecure.js rename to js/packages/api/transport/wsSecure/wsSecure.js diff --git a/js/src/api/transport/wsSecure/wsSecure.spec.js b/js/packages/api/transport/wsSecure/wsSecure.spec.js similarity index 100% rename from js/src/api/transport/wsSecure/wsSecure.spec.js rename to js/packages/api/transport/wsSecure/wsSecure.spec.js diff --git a/js/src/api/util/decode.js b/js/packages/api/util/decode.js similarity index 100% rename from js/src/api/util/decode.js rename to js/packages/api/util/decode.js diff --git a/js/src/api/util/decode.spec.js b/js/packages/api/util/decode.spec.js similarity index 100% rename from js/src/api/util/decode.spec.js rename to js/packages/api/util/decode.spec.js diff --git a/js/src/api/util/encode.js b/js/packages/api/util/encode.js similarity index 100% rename from js/src/api/util/encode.js rename to js/packages/api/util/encode.js diff --git a/js/src/api/util/encode.spec.js b/js/packages/api/util/encode.spec.js similarity index 100% rename from js/src/api/util/encode.spec.js rename to js/packages/api/util/encode.spec.js diff --git a/js/src/api/util/format.js b/js/packages/api/util/format.js similarity index 100% rename from js/src/api/util/format.js rename to js/packages/api/util/format.js diff --git a/js/src/api/util/format.spec.js b/js/packages/api/util/format.spec.js similarity index 100% rename from js/src/api/util/format.spec.js rename to js/packages/api/util/format.spec.js diff --git a/js/src/api/util/identity.js b/js/packages/api/util/identity.js similarity index 100% rename from js/src/api/util/identity.js rename to js/packages/api/util/identity.js diff --git a/js/src/api/util/index.js b/js/packages/api/util/index.js similarity index 100% rename from js/src/api/util/index.js rename to js/packages/api/util/index.js diff --git a/js/src/api/util/sha3.js b/js/packages/api/util/sha3.js similarity index 100% rename from js/src/api/util/sha3.js rename to js/packages/api/util/sha3.js diff --git a/js/src/api/util/sha3.spec.js b/js/packages/api/util/sha3.spec.js similarity index 100% rename from js/src/api/util/sha3.spec.js rename to js/packages/api/util/sha3.spec.js diff --git a/js/src/api/util/types.js b/js/packages/api/util/types.js similarity index 100% rename from js/src/api/util/types.js rename to js/packages/api/util/types.js diff --git a/js/src/api/util/types.spec.js b/js/packages/api/util/types.spec.js similarity index 100% rename from js/src/api/util/types.spec.js rename to js/packages/api/util/types.spec.js diff --git a/js/src/api/util/wei.js b/js/packages/api/util/wei.js similarity index 100% rename from js/src/api/util/wei.js rename to js/packages/api/util/wei.js diff --git a/js/src/api/util/wei.spec.js b/js/packages/api/util/wei.spec.js similarity index 100% rename from js/src/api/util/wei.spec.js rename to js/packages/api/util/wei.spec.js diff --git a/js/src/views/Account/DeleteAccount/deleteAccount.css b/js/packages/dapp-account/DeleteAccount/deleteAccount.css similarity index 100% rename from js/src/views/Account/DeleteAccount/deleteAccount.css rename to js/packages/dapp-account/DeleteAccount/deleteAccount.css diff --git a/js/src/views/Account/DeleteAccount/deleteAccount.js b/js/packages/dapp-account/DeleteAccount/deleteAccount.js similarity index 100% rename from js/src/views/Account/DeleteAccount/deleteAccount.js rename to js/packages/dapp-account/DeleteAccount/deleteAccount.js diff --git a/js/src/views/Account/DeleteAccount/deleteAccount.spec.js b/js/packages/dapp-account/DeleteAccount/deleteAccount.spec.js similarity index 100% rename from js/src/views/Account/DeleteAccount/deleteAccount.spec.js rename to js/packages/dapp-account/DeleteAccount/deleteAccount.spec.js diff --git a/js/src/views/Account/DeleteAccount/index.js b/js/packages/dapp-account/DeleteAccount/index.js similarity index 100% rename from js/src/views/Account/DeleteAccount/index.js rename to js/packages/dapp-account/DeleteAccount/index.js diff --git a/js/src/views/Account/EditMeta/editMeta.js b/js/packages/dapp-account/EditMeta/editMeta.js similarity index 99% rename from js/src/views/Account/EditMeta/editMeta.js rename to js/packages/dapp-account/EditMeta/editMeta.js index 77ab5bfb84..c8577cf18c 100644 --- a/js/src/views/Account/EditMeta/editMeta.js +++ b/js/packages/dapp-account/EditMeta/editMeta.js @@ -25,7 +25,7 @@ import { newError } from '@parity/shared/redux/actions'; import { Button, Form, Input, InputChip, Portal, VaultSelect } from '@parity/ui'; import { CancelIcon, SaveIcon } from '@parity/ui/Icons'; -import VaultStore from '~/views/Vaults/store'; +import VaultStore from '@parity/dapp-vaults/store'; import Store from './store'; diff --git a/js/src/views/Account/EditMeta/editMeta.spec.js b/js/packages/dapp-account/EditMeta/editMeta.spec.js similarity index 100% rename from js/src/views/Account/EditMeta/editMeta.spec.js rename to js/packages/dapp-account/EditMeta/editMeta.spec.js diff --git a/js/src/views/Account/EditMeta/editMeta.test.js b/js/packages/dapp-account/EditMeta/editMeta.test.js similarity index 100% rename from js/src/views/Account/EditMeta/editMeta.test.js rename to js/packages/dapp-account/EditMeta/editMeta.test.js diff --git a/js/src/views/Account/EditMeta/index.js b/js/packages/dapp-account/EditMeta/index.js similarity index 100% rename from js/src/views/Account/EditMeta/index.js rename to js/packages/dapp-account/EditMeta/index.js diff --git a/js/src/views/Account/EditMeta/store.js b/js/packages/dapp-account/EditMeta/store.js similarity index 100% rename from js/src/views/Account/EditMeta/store.js rename to js/packages/dapp-account/EditMeta/store.js diff --git a/js/src/views/Account/EditMeta/store.spec.js b/js/packages/dapp-account/EditMeta/store.spec.js similarity index 100% rename from js/src/views/Account/EditMeta/store.spec.js rename to js/packages/dapp-account/EditMeta/store.spec.js diff --git a/js/src/views/Account/Faucet/faucet.js b/js/packages/dapp-account/Faucet/faucet.js similarity index 98% rename from js/src/views/Account/Faucet/faucet.js rename to js/packages/dapp-account/Faucet/faucet.js index 0ae5a019da..18418fed45 100644 --- a/js/src/views/Account/Faucet/faucet.js +++ b/js/packages/dapp-account/Faucet/faucet.js @@ -19,7 +19,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; -import { txLink } from '~/3rdparty/etherscan/links'; +import { txLink } from '@parity/etherscan/links'; import { Button, ModalBox, Portal, ShortenedHash } from '@parity/ui'; import { CloseIcon, DialIcon, DoneIcon, ErrorIcon, SendIcon } from '@parity/ui/Icons'; diff --git a/js/src/views/Account/Faucet/index.js b/js/packages/dapp-account/Faucet/index.js similarity index 100% rename from js/src/views/Account/Faucet/index.js rename to js/packages/dapp-account/Faucet/index.js diff --git a/js/src/views/Account/Faucet/store.js b/js/packages/dapp-account/Faucet/store.js similarity index 100% rename from js/src/views/Account/Faucet/store.js rename to js/packages/dapp-account/Faucet/store.js diff --git a/js/src/views/Account/Header/header.css b/js/packages/dapp-account/Header/header.css similarity index 100% rename from js/src/views/Account/Header/header.css rename to js/packages/dapp-account/Header/header.css diff --git a/js/src/views/Account/Header/header.js b/js/packages/dapp-account/Header/header.js similarity index 100% rename from js/src/views/Account/Header/header.js rename to js/packages/dapp-account/Header/header.js diff --git a/js/src/views/Account/Header/header.spec.js b/js/packages/dapp-account/Header/header.spec.js similarity index 100% rename from js/src/views/Account/Header/header.spec.js rename to js/packages/dapp-account/Header/header.spec.js diff --git a/js/src/dapps/chaindeploy/ListItem/Header/index.js b/js/packages/dapp-account/Header/index.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Header/index.js rename to js/packages/dapp-account/Header/index.js diff --git a/js/src/views/Account/PasswordManager/index.js b/js/packages/dapp-account/PasswordManager/index.js similarity index 100% rename from js/src/views/Account/PasswordManager/index.js rename to js/packages/dapp-account/PasswordManager/index.js diff --git a/js/src/views/Account/PasswordManager/passwordManager.css b/js/packages/dapp-account/PasswordManager/passwordManager.css similarity index 100% rename from js/src/views/Account/PasswordManager/passwordManager.css rename to js/packages/dapp-account/PasswordManager/passwordManager.css diff --git a/js/src/views/Account/PasswordManager/passwordManager.js b/js/packages/dapp-account/PasswordManager/passwordManager.js similarity index 100% rename from js/src/views/Account/PasswordManager/passwordManager.js rename to js/packages/dapp-account/PasswordManager/passwordManager.js diff --git a/js/src/views/Account/PasswordManager/passwordManager.spec.js b/js/packages/dapp-account/PasswordManager/passwordManager.spec.js similarity index 100% rename from js/src/views/Account/PasswordManager/passwordManager.spec.js rename to js/packages/dapp-account/PasswordManager/passwordManager.spec.js diff --git a/js/src/views/Account/PasswordManager/passwordManager.test.js b/js/packages/dapp-account/PasswordManager/passwordManager.test.js similarity index 100% rename from js/src/views/Account/PasswordManager/passwordManager.test.js rename to js/packages/dapp-account/PasswordManager/passwordManager.test.js diff --git a/js/src/views/Account/PasswordManager/store.js b/js/packages/dapp-account/PasswordManager/store.js similarity index 100% rename from js/src/views/Account/PasswordManager/store.js rename to js/packages/dapp-account/PasswordManager/store.js diff --git a/js/src/views/Account/PasswordManager/store.spec.js b/js/packages/dapp-account/PasswordManager/store.spec.js similarity index 100% rename from js/src/views/Account/PasswordManager/store.spec.js rename to js/packages/dapp-account/PasswordManager/store.spec.js diff --git a/js/src/views/Account/Shapeshift/AwaitingDepositStep/awaitingDepositStep.js b/js/packages/dapp-account/Shapeshift/AwaitingDepositStep/awaitingDepositStep.js similarity index 100% rename from js/src/views/Account/Shapeshift/AwaitingDepositStep/awaitingDepositStep.js rename to js/packages/dapp-account/Shapeshift/AwaitingDepositStep/awaitingDepositStep.js diff --git a/js/src/views/Account/Shapeshift/AwaitingDepositStep/awaitingDepositStep.spec.js b/js/packages/dapp-account/Shapeshift/AwaitingDepositStep/awaitingDepositStep.spec.js similarity index 100% rename from js/src/views/Account/Shapeshift/AwaitingDepositStep/awaitingDepositStep.spec.js rename to js/packages/dapp-account/Shapeshift/AwaitingDepositStep/awaitingDepositStep.spec.js diff --git a/js/src/views/Account/Shapeshift/AwaitingDepositStep/index.js b/js/packages/dapp-account/Shapeshift/AwaitingDepositStep/index.js similarity index 100% rename from js/src/views/Account/Shapeshift/AwaitingDepositStep/index.js rename to js/packages/dapp-account/Shapeshift/AwaitingDepositStep/index.js diff --git a/js/src/views/Account/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.js b/js/packages/dapp-account/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.js similarity index 100% rename from js/src/views/Account/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.js rename to js/packages/dapp-account/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.js diff --git a/js/src/views/Account/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.spec.js b/js/packages/dapp-account/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.spec.js similarity index 100% rename from js/src/views/Account/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.spec.js rename to js/packages/dapp-account/Shapeshift/AwaitingExchangeStep/awaitingExchangeStep.spec.js diff --git a/js/src/views/Account/Shapeshift/AwaitingExchangeStep/index.js b/js/packages/dapp-account/Shapeshift/AwaitingExchangeStep/index.js similarity index 100% rename from js/src/views/Account/Shapeshift/AwaitingExchangeStep/index.js rename to js/packages/dapp-account/Shapeshift/AwaitingExchangeStep/index.js diff --git a/js/src/views/Account/Shapeshift/CompletedStep/completedStep.js b/js/packages/dapp-account/Shapeshift/CompletedStep/completedStep.js similarity index 100% rename from js/src/views/Account/Shapeshift/CompletedStep/completedStep.js rename to js/packages/dapp-account/Shapeshift/CompletedStep/completedStep.js diff --git a/js/src/views/Account/Shapeshift/CompletedStep/completedStep.spec.js b/js/packages/dapp-account/Shapeshift/CompletedStep/completedStep.spec.js similarity index 100% rename from js/src/views/Account/Shapeshift/CompletedStep/completedStep.spec.js rename to js/packages/dapp-account/Shapeshift/CompletedStep/completedStep.spec.js diff --git a/js/src/views/Account/Shapeshift/CompletedStep/index.js b/js/packages/dapp-account/Shapeshift/CompletedStep/index.js similarity index 100% rename from js/src/views/Account/Shapeshift/CompletedStep/index.js rename to js/packages/dapp-account/Shapeshift/CompletedStep/index.js diff --git a/js/src/views/Account/Shapeshift/ErrorStep/errorStep.js b/js/packages/dapp-account/Shapeshift/ErrorStep/errorStep.js similarity index 100% rename from js/src/views/Account/Shapeshift/ErrorStep/errorStep.js rename to js/packages/dapp-account/Shapeshift/ErrorStep/errorStep.js diff --git a/js/src/views/Account/Shapeshift/ErrorStep/errorStep.spec.js b/js/packages/dapp-account/Shapeshift/ErrorStep/errorStep.spec.js similarity index 100% rename from js/src/views/Account/Shapeshift/ErrorStep/errorStep.spec.js rename to js/packages/dapp-account/Shapeshift/ErrorStep/errorStep.spec.js diff --git a/js/src/views/Account/Shapeshift/ErrorStep/index.js b/js/packages/dapp-account/Shapeshift/ErrorStep/index.js similarity index 100% rename from js/src/views/Account/Shapeshift/ErrorStep/index.js rename to js/packages/dapp-account/Shapeshift/ErrorStep/index.js diff --git a/js/src/views/Account/Shapeshift/OptionsStep/index.js b/js/packages/dapp-account/Shapeshift/OptionsStep/index.js similarity index 100% rename from js/src/views/Account/Shapeshift/OptionsStep/index.js rename to js/packages/dapp-account/Shapeshift/OptionsStep/index.js diff --git a/js/src/views/Account/Shapeshift/OptionsStep/optionsStep.css b/js/packages/dapp-account/Shapeshift/OptionsStep/optionsStep.css similarity index 100% rename from js/src/views/Account/Shapeshift/OptionsStep/optionsStep.css rename to js/packages/dapp-account/Shapeshift/OptionsStep/optionsStep.css diff --git a/js/src/views/Account/Shapeshift/OptionsStep/optionsStep.js b/js/packages/dapp-account/Shapeshift/OptionsStep/optionsStep.js similarity index 100% rename from js/src/views/Account/Shapeshift/OptionsStep/optionsStep.js rename to js/packages/dapp-account/Shapeshift/OptionsStep/optionsStep.js diff --git a/js/src/views/Account/Shapeshift/OptionsStep/optionsSteps.spec.js b/js/packages/dapp-account/Shapeshift/OptionsStep/optionsSteps.spec.js similarity index 100% rename from js/src/views/Account/Shapeshift/OptionsStep/optionsSteps.spec.js rename to js/packages/dapp-account/Shapeshift/OptionsStep/optionsSteps.spec.js diff --git a/js/src/views/Account/Shapeshift/Price/index.js b/js/packages/dapp-account/Shapeshift/Price/index.js similarity index 100% rename from js/src/views/Account/Shapeshift/Price/index.js rename to js/packages/dapp-account/Shapeshift/Price/index.js diff --git a/js/src/views/Account/Shapeshift/Price/price.js b/js/packages/dapp-account/Shapeshift/Price/price.js similarity index 100% rename from js/src/views/Account/Shapeshift/Price/price.js rename to js/packages/dapp-account/Shapeshift/Price/price.js diff --git a/js/src/views/Account/Shapeshift/Price/price.spec.js b/js/packages/dapp-account/Shapeshift/Price/price.spec.js similarity index 100% rename from js/src/views/Account/Shapeshift/Price/price.spec.js rename to js/packages/dapp-account/Shapeshift/Price/price.spec.js diff --git a/js/src/views/Account/Shapeshift/Value/index.js b/js/packages/dapp-account/Shapeshift/Value/index.js similarity index 100% rename from js/src/views/Account/Shapeshift/Value/index.js rename to js/packages/dapp-account/Shapeshift/Value/index.js diff --git a/js/src/views/Account/Shapeshift/Value/value.css b/js/packages/dapp-account/Shapeshift/Value/value.css similarity index 100% rename from js/src/views/Account/Shapeshift/Value/value.css rename to js/packages/dapp-account/Shapeshift/Value/value.css diff --git a/js/src/views/Account/Shapeshift/Value/value.js b/js/packages/dapp-account/Shapeshift/Value/value.js similarity index 100% rename from js/src/views/Account/Shapeshift/Value/value.js rename to js/packages/dapp-account/Shapeshift/Value/value.js diff --git a/js/src/views/Account/Shapeshift/Value/value.spec.js b/js/packages/dapp-account/Shapeshift/Value/value.spec.js similarity index 100% rename from js/src/views/Account/Shapeshift/Value/value.spec.js rename to js/packages/dapp-account/Shapeshift/Value/value.spec.js diff --git a/js/src/views/Account/Shapeshift/index.js b/js/packages/dapp-account/Shapeshift/index.js similarity index 100% rename from js/src/views/Account/Shapeshift/index.js rename to js/packages/dapp-account/Shapeshift/index.js diff --git a/js/src/views/Account/Shapeshift/shapeshift.css b/js/packages/dapp-account/Shapeshift/shapeshift.css similarity index 100% rename from js/src/views/Account/Shapeshift/shapeshift.css rename to js/packages/dapp-account/Shapeshift/shapeshift.css diff --git a/js/src/views/Account/Shapeshift/shapeshift.js b/js/packages/dapp-account/Shapeshift/shapeshift.js similarity index 100% rename from js/src/views/Account/Shapeshift/shapeshift.js rename to js/packages/dapp-account/Shapeshift/shapeshift.js diff --git a/js/src/views/Account/Shapeshift/shapeshift.spec.js b/js/packages/dapp-account/Shapeshift/shapeshift.spec.js similarity index 100% rename from js/src/views/Account/Shapeshift/shapeshift.spec.js rename to js/packages/dapp-account/Shapeshift/shapeshift.spec.js diff --git a/js/src/views/Account/Shapeshift/store.js b/js/packages/dapp-account/Shapeshift/store.js similarity index 98% rename from js/src/views/Account/Shapeshift/store.js rename to js/packages/dapp-account/Shapeshift/store.js index c82752c560..fec9f9a9db 100644 --- a/js/src/views/Account/Shapeshift/store.js +++ b/js/packages/dapp-account/Shapeshift/store.js @@ -16,7 +16,7 @@ import { action, observable, transaction } from 'mobx'; -import initShapeshift from '~/3rdparty/shapeshift'; +import initShapeshift from '@parity/shapeshift/index'; const STAGE_OPTIONS = 0; const STAGE_WAIT_DEPOSIT = 1; diff --git a/js/src/views/Account/Shapeshift/store.spec.js b/js/packages/dapp-account/Shapeshift/store.spec.js similarity index 100% rename from js/src/views/Account/Shapeshift/store.spec.js rename to js/packages/dapp-account/Shapeshift/store.spec.js diff --git a/js/src/dapps/dappreg/Transactions/index.js b/js/packages/dapp-account/Transactions/index.js similarity index 100% rename from js/src/dapps/dappreg/Transactions/index.js rename to js/packages/dapp-account/Transactions/index.js diff --git a/js/src/views/Account/Transactions/store.js b/js/packages/dapp-account/Transactions/store.js similarity index 98% rename from js/src/views/Account/Transactions/store.js rename to js/packages/dapp-account/Transactions/store.js index 10d5af025e..e0ec39b5ec 100644 --- a/js/src/views/Account/Transactions/store.js +++ b/js/packages/dapp-account/Transactions/store.js @@ -16,7 +16,7 @@ import { action, observable, transaction } from 'mobx'; -import etherscan from '~/3rdparty/etherscan'; +import etherscan from '@parity/etherscan/index'; export default class Store { @observable address = null; diff --git a/js/src/views/Account/Transactions/store.spec.js b/js/packages/dapp-account/Transactions/store.spec.js similarity index 98% rename from js/src/views/Account/Transactions/store.spec.js rename to js/packages/dapp-account/Transactions/store.spec.js index c99e91512a..4337e8425b 100644 --- a/js/src/views/Account/Transactions/store.spec.js +++ b/js/packages/dapp-account/Transactions/store.spec.js @@ -17,7 +17,7 @@ import BigNumber from 'bignumber.js'; import sinon from 'sinon'; -import { mockget as mockEtherscan } from '~/3rdparty/etherscan/helpers.spec.js'; +import { mockget as mockEtherscan } from '@parity/etherscan/helpers.spec.js'; import { ADDRESS, createApi } from './transactions.test.js'; import Store from './store'; diff --git a/js/src/views/Account/Transactions/transactions.css b/js/packages/dapp-account/Transactions/transactions.css similarity index 100% rename from js/src/views/Account/Transactions/transactions.css rename to js/packages/dapp-account/Transactions/transactions.css diff --git a/js/src/views/Account/Transactions/transactions.js b/js/packages/dapp-account/Transactions/transactions.js similarity index 100% rename from js/src/views/Account/Transactions/transactions.js rename to js/packages/dapp-account/Transactions/transactions.js diff --git a/js/src/views/Account/Transactions/transactions.spec.js b/js/packages/dapp-account/Transactions/transactions.spec.js similarity index 100% rename from js/src/views/Account/Transactions/transactions.spec.js rename to js/packages/dapp-account/Transactions/transactions.spec.js diff --git a/js/src/views/Account/Transactions/transactions.test.js b/js/packages/dapp-account/Transactions/transactions.test.js similarity index 100% rename from js/src/views/Account/Transactions/transactions.test.js rename to js/packages/dapp-account/Transactions/transactions.test.js diff --git a/js/src/views/Account/Transfer/Details/details.js b/js/packages/dapp-account/Transfer/Details/details.js similarity index 100% rename from js/src/views/Account/Transfer/Details/details.js rename to js/packages/dapp-account/Transfer/Details/details.js diff --git a/js/src/views/Account/Transfer/Details/index.js b/js/packages/dapp-account/Transfer/Details/index.js similarity index 100% rename from js/src/views/Account/Transfer/Details/index.js rename to js/packages/dapp-account/Transfer/Details/index.js diff --git a/js/src/views/Account/Transfer/Details/tokenSelect.js b/js/packages/dapp-account/Transfer/Details/tokenSelect.js similarity index 100% rename from js/src/views/Account/Transfer/Details/tokenSelect.js rename to js/packages/dapp-account/Transfer/Details/tokenSelect.js diff --git a/js/src/views/Account/Transfer/Extras/extras.js b/js/packages/dapp-account/Transfer/Extras/extras.js similarity index 100% rename from js/src/views/Account/Transfer/Extras/extras.js rename to js/packages/dapp-account/Transfer/Extras/extras.js diff --git a/js/src/views/Account/Transfer/Extras/index.js b/js/packages/dapp-account/Transfer/Extras/index.js similarity index 100% rename from js/src/views/Account/Transfer/Extras/index.js rename to js/packages/dapp-account/Transfer/Extras/index.js diff --git a/js/src/views/Account/Transfer/errors.js b/js/packages/dapp-account/Transfer/errors.js similarity index 100% rename from js/src/views/Account/Transfer/errors.js rename to js/packages/dapp-account/Transfer/errors.js diff --git a/js/src/dapps/tokendeploy/Transfer/index.js b/js/packages/dapp-account/Transfer/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/index.js rename to js/packages/dapp-account/Transfer/index.js diff --git a/js/src/views/Account/Transfer/store.js b/js/packages/dapp-account/Transfer/store.js similarity index 100% rename from js/src/views/Account/Transfer/store.js rename to js/packages/dapp-account/Transfer/store.js diff --git a/js/src/views/Account/Transfer/transfer.css b/js/packages/dapp-account/Transfer/transfer.css similarity index 100% rename from js/src/views/Account/Transfer/transfer.css rename to js/packages/dapp-account/Transfer/transfer.css diff --git a/js/src/views/Account/Transfer/transfer.js b/js/packages/dapp-account/Transfer/transfer.js similarity index 100% rename from js/src/views/Account/Transfer/transfer.js rename to js/packages/dapp-account/Transfer/transfer.js diff --git a/js/src/views/Account/Verification/Done/done.css b/js/packages/dapp-account/Verification/Done/done.css similarity index 100% rename from js/src/views/Account/Verification/Done/done.css rename to js/packages/dapp-account/Verification/Done/done.css diff --git a/js/src/views/Account/Verification/Done/done.js b/js/packages/dapp-account/Verification/Done/done.js similarity index 100% rename from js/src/views/Account/Verification/Done/done.js rename to js/packages/dapp-account/Verification/Done/done.js diff --git a/js/src/views/Account/Verification/Done/index.js b/js/packages/dapp-account/Verification/Done/index.js similarity index 100% rename from js/src/views/Account/Verification/Done/index.js rename to js/packages/dapp-account/Verification/Done/index.js diff --git a/js/src/views/Account/Verification/GatherData/gatherData.css b/js/packages/dapp-account/Verification/GatherData/gatherData.css similarity index 100% rename from js/src/views/Account/Verification/GatherData/gatherData.css rename to js/packages/dapp-account/Verification/GatherData/gatherData.css diff --git a/js/src/views/Account/Verification/GatherData/gatherData.js b/js/packages/dapp-account/Verification/GatherData/gatherData.js similarity index 98% rename from js/src/views/Account/Verification/GatherData/gatherData.js rename to js/packages/dapp-account/Verification/GatherData/gatherData.js index 7f4fffc762..504e8fcfc6 100644 --- a/js/src/views/Account/Verification/GatherData/gatherData.js +++ b/js/packages/dapp-account/Verification/GatherData/gatherData.js @@ -24,10 +24,10 @@ import { Checkbox, Form, Input } from '@parity/ui'; import { DoneIcon, ErrorIcon, InfoIcon } from '@parity/ui/Icons'; import { nullableProptype } from '@parity/shared/util/proptypes'; -import smsTermsOfService from '~/3rdparty/sms-verification/terms-of-service'; -import emailTermsOfService from '~/3rdparty/email-verification/terms-of-service'; - +import smsTermsOfService from '../sms-verification/terms-of-service'; +import emailTermsOfService from '../email-verification/terms-of-service'; import { howSMSVerificationWorks, howEmailVerificationWorks } from '../how-it-works'; + import styles from './gatherData.css'; const boolOfError = PropTypes.oneOfType([ PropTypes.bool, PropTypes.instanceOf(Error) ]); diff --git a/js/src/views/Account/Verification/GatherData/index.js b/js/packages/dapp-account/Verification/GatherData/index.js similarity index 100% rename from js/src/views/Account/Verification/GatherData/index.js rename to js/packages/dapp-account/Verification/GatherData/index.js diff --git a/js/src/views/Account/Verification/QueryCode/index.js b/js/packages/dapp-account/Verification/QueryCode/index.js similarity index 100% rename from js/src/views/Account/Verification/QueryCode/index.js rename to js/packages/dapp-account/Verification/QueryCode/index.js diff --git a/js/src/views/Account/Verification/QueryCode/queryCode.js b/js/packages/dapp-account/Verification/QueryCode/queryCode.js similarity index 100% rename from js/src/views/Account/Verification/QueryCode/queryCode.js rename to js/packages/dapp-account/Verification/QueryCode/queryCode.js diff --git a/js/src/views/Account/Verification/SendConfirmation/index.js b/js/packages/dapp-account/Verification/SendConfirmation/index.js similarity index 100% rename from js/src/views/Account/Verification/SendConfirmation/index.js rename to js/packages/dapp-account/Verification/SendConfirmation/index.js diff --git a/js/src/views/Account/Verification/SendConfirmation/sendConfirmation.css b/js/packages/dapp-account/Verification/SendConfirmation/sendConfirmation.css similarity index 100% rename from js/src/views/Account/Verification/SendConfirmation/sendConfirmation.css rename to js/packages/dapp-account/Verification/SendConfirmation/sendConfirmation.css diff --git a/js/src/views/Account/Verification/SendConfirmation/sendConfirmation.js b/js/packages/dapp-account/Verification/SendConfirmation/sendConfirmation.js similarity index 100% rename from js/src/views/Account/Verification/SendConfirmation/sendConfirmation.js rename to js/packages/dapp-account/Verification/SendConfirmation/sendConfirmation.js diff --git a/js/src/views/Account/Verification/SendRequest/index.js b/js/packages/dapp-account/Verification/SendRequest/index.js similarity index 100% rename from js/src/views/Account/Verification/SendRequest/index.js rename to js/packages/dapp-account/Verification/SendRequest/index.js diff --git a/js/src/views/Account/Verification/SendRequest/sendRequest.css b/js/packages/dapp-account/Verification/SendRequest/sendRequest.css similarity index 100% rename from js/src/views/Account/Verification/SendRequest/sendRequest.css rename to js/packages/dapp-account/Verification/SendRequest/sendRequest.css diff --git a/js/src/views/Account/Verification/SendRequest/sendRequest.js b/js/packages/dapp-account/Verification/SendRequest/sendRequest.js similarity index 100% rename from js/src/views/Account/Verification/SendRequest/sendRequest.js rename to js/packages/dapp-account/Verification/SendRequest/sendRequest.js diff --git a/js/src/views/Account/Verification/email-store.js b/js/packages/dapp-account/Verification/email-store.js similarity index 99% rename from js/src/views/Account/Verification/email-store.js rename to js/packages/dapp-account/Verification/email-store.js index e299b70f82..be36d497c8 100644 --- a/js/src/views/Account/Verification/email-store.js +++ b/js/packages/dapp-account/Verification/email-store.js @@ -23,7 +23,7 @@ import EmailVerificationABI from '@parity/shared/contracts/abi/email-verificatio import VerificationStore, { LOADING, QUERY_DATA, QUERY_CODE, POSTED_CONFIRMATION, DONE } from './store'; -import { isServerRunning, hasReceivedCode, postToServer } from '~/3rdparty/email-verification'; +import { isServerRunning, hasReceivedCode, postToServer } from './email-verification'; const ZERO20 = '0x0000000000000000000000000000000000000000'; diff --git a/js/src/3rdparty/email-verification/index.js b/js/packages/dapp-account/Verification/email-verification/index.js similarity index 100% rename from js/src/3rdparty/email-verification/index.js rename to js/packages/dapp-account/Verification/email-verification/index.js diff --git a/js/src/3rdparty/email-verification/terms-of-service.js b/js/packages/dapp-account/Verification/email-verification/terms-of-service.js similarity index 100% rename from js/src/3rdparty/email-verification/terms-of-service.js rename to js/packages/dapp-account/Verification/email-verification/terms-of-service.js diff --git a/js/src/views/Account/Verification/how-it-works.js b/js/packages/dapp-account/Verification/how-it-works.js similarity index 100% rename from js/src/views/Account/Verification/how-it-works.js rename to js/packages/dapp-account/Verification/how-it-works.js diff --git a/js/src/views/Account/Verification/index.js b/js/packages/dapp-account/Verification/index.js similarity index 100% rename from js/src/views/Account/Verification/index.js rename to js/packages/dapp-account/Verification/index.js diff --git a/js/src/views/Account/Verification/sms-store.js b/js/packages/dapp-account/Verification/sms-store.js similarity index 98% rename from js/src/views/Account/Verification/sms-store.js rename to js/packages/dapp-account/Verification/sms-store.js index fa48fea62b..5fef56315f 100644 --- a/js/src/views/Account/Verification/sms-store.js +++ b/js/packages/dapp-account/Verification/sms-store.js @@ -20,7 +20,7 @@ import phone from 'phoneformat.js'; import SMSVerificationABI from '@parity/shared/contracts/abi/sms-verification.json'; import VerificationStore, { LOADING, QUERY_DATA, QUERY_CODE, POSTED_CONFIRMATION, DONE } from './store'; -import { isServerRunning, hasReceivedCode, postToServer } from '~/3rdparty/sms-verification'; +import { isServerRunning, hasReceivedCode, postToServer } from './sms-verification'; // name in the `BadgeReg.sol` contract const SMS_VERIFICATION = 'smsverification'; diff --git a/js/src/3rdparty/sms-verification/index.js b/js/packages/dapp-account/Verification/sms-verification/index.js similarity index 100% rename from js/src/3rdparty/sms-verification/index.js rename to js/packages/dapp-account/Verification/sms-verification/index.js diff --git a/js/src/3rdparty/sms-verification/terms-of-service.js b/js/packages/dapp-account/Verification/sms-verification/terms-of-service.js similarity index 100% rename from js/src/3rdparty/sms-verification/terms-of-service.js rename to js/packages/dapp-account/Verification/sms-verification/terms-of-service.js diff --git a/js/src/views/Account/Verification/store.js b/js/packages/dapp-account/Verification/store.js similarity index 100% rename from js/src/views/Account/Verification/store.js rename to js/packages/dapp-account/Verification/store.js diff --git a/js/src/views/Account/Verification/verification.css b/js/packages/dapp-account/Verification/verification.css similarity index 100% rename from js/src/views/Account/Verification/verification.css rename to js/packages/dapp-account/Verification/verification.css diff --git a/js/src/views/Account/Verification/verification.js b/js/packages/dapp-account/Verification/verification.js similarity index 100% rename from js/src/views/Account/Verification/verification.js rename to js/packages/dapp-account/Verification/verification.js diff --git a/js/src/views/Account/account.css b/js/packages/dapp-account/account.css similarity index 100% rename from js/src/views/Account/account.css rename to js/packages/dapp-account/account.css diff --git a/js/src/views/Account/account.js b/js/packages/dapp-account/account.js similarity index 99% rename from js/src/views/Account/account.js rename to js/packages/dapp-account/account.js index 5907b8d857..14e087455b 100644 --- a/js/src/views/Account/account.js +++ b/js/packages/dapp-account/account.js @@ -33,8 +33,8 @@ import shapeshiftBtn from '@parity/shared/assets/images/shapeshift-btn.png'; import DeleteAccount from './DeleteAccount'; import EditMeta from './EditMeta'; -import DeleteAddress from '../Address/Delete'; -import ExportStore from '../Accounts/ExportAccount/exportStore'; +import DeleteAddress from '@parity/dapp-address/Delete'; +import ExportStore from '@parity/dapp-accounts/ExportAccount/exportStore'; import Faucet from './Faucet'; import PasswordManager from './PasswordManager'; import Shapeshift from './Shapeshift'; diff --git a/js/src/views/Account/account.spec.js b/js/packages/dapp-account/account.spec.js similarity index 100% rename from js/src/views/Account/account.spec.js rename to js/packages/dapp-account/account.spec.js diff --git a/js/src/views/Account/account.test.js b/js/packages/dapp-account/account.test.js similarity index 100% rename from js/src/views/Account/account.test.js rename to js/packages/dapp-account/account.test.js diff --git a/js/src/views/Account/api.js b/js/packages/dapp-account/api.js similarity index 100% rename from js/src/views/Account/api.js rename to js/packages/dapp-account/api.js diff --git a/js/src/views/Account/index.js b/js/packages/dapp-account/index.js similarity index 100% rename from js/src/views/Account/index.js rename to js/packages/dapp-account/index.js diff --git a/js/src/views/Account/package.json b/js/packages/dapp-account/package.json similarity index 100% rename from js/src/views/Account/package.json rename to js/packages/dapp-account/package.json diff --git a/js/src/views/Account/store.js b/js/packages/dapp-account/store.js similarity index 100% rename from js/src/views/Account/store.js rename to js/packages/dapp-account/store.js diff --git a/js/src/views/Account/store.spec.js b/js/packages/dapp-account/store.spec.js similarity index 100% rename from js/src/views/Account/store.spec.js rename to js/packages/dapp-account/store.spec.js diff --git a/js/src/views/Accounts/CreateAccount/AccountDetails/accountDetails.js b/js/packages/dapp-accounts/CreateAccount/AccountDetails/accountDetails.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/AccountDetails/accountDetails.js rename to js/packages/dapp-accounts/CreateAccount/AccountDetails/accountDetails.js diff --git a/js/src/views/Accounts/CreateAccount/AccountDetails/accountDetails.spec.js b/js/packages/dapp-accounts/CreateAccount/AccountDetails/accountDetails.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/AccountDetails/accountDetails.spec.js rename to js/packages/dapp-accounts/CreateAccount/AccountDetails/accountDetails.spec.js diff --git a/js/src/views/Accounts/CreateAccount/AccountDetails/index.js b/js/packages/dapp-accounts/CreateAccount/AccountDetails/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/AccountDetails/index.js rename to js/packages/dapp-accounts/CreateAccount/AccountDetails/index.js diff --git a/js/src/views/Accounts/CreateAccount/AccountDetailsGeth/accountDetailsGeth.js b/js/packages/dapp-accounts/CreateAccount/AccountDetailsGeth/accountDetailsGeth.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/AccountDetailsGeth/accountDetailsGeth.js rename to js/packages/dapp-accounts/CreateAccount/AccountDetailsGeth/accountDetailsGeth.js diff --git a/js/src/views/Accounts/CreateAccount/AccountDetailsGeth/accountDetailsGeth.spec.js b/js/packages/dapp-accounts/CreateAccount/AccountDetailsGeth/accountDetailsGeth.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/AccountDetailsGeth/accountDetailsGeth.spec.js rename to js/packages/dapp-accounts/CreateAccount/AccountDetailsGeth/accountDetailsGeth.spec.js diff --git a/js/src/views/Accounts/CreateAccount/AccountDetailsGeth/index.js b/js/packages/dapp-accounts/CreateAccount/AccountDetailsGeth/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/AccountDetailsGeth/index.js rename to js/packages/dapp-accounts/CreateAccount/AccountDetailsGeth/index.js diff --git a/js/src/views/Accounts/CreateAccount/ChangeVault/changeVault.js b/js/packages/dapp-accounts/CreateAccount/ChangeVault/changeVault.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/ChangeVault/changeVault.js rename to js/packages/dapp-accounts/CreateAccount/ChangeVault/changeVault.js diff --git a/js/src/views/Accounts/CreateAccount/ChangeVault/changeVault.spec.js b/js/packages/dapp-accounts/CreateAccount/ChangeVault/changeVault.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/ChangeVault/changeVault.spec.js rename to js/packages/dapp-accounts/CreateAccount/ChangeVault/changeVault.spec.js diff --git a/js/src/views/Accounts/CreateAccount/ChangeVault/index.js b/js/packages/dapp-accounts/CreateAccount/ChangeVault/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/ChangeVault/index.js rename to js/packages/dapp-accounts/CreateAccount/ChangeVault/index.js diff --git a/js/src/views/Accounts/CreateAccount/CreationType/creationType.js b/js/packages/dapp-accounts/CreateAccount/CreationType/creationType.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/CreationType/creationType.js rename to js/packages/dapp-accounts/CreateAccount/CreationType/creationType.js diff --git a/js/src/views/Accounts/CreateAccount/CreationType/creationType.spec.js b/js/packages/dapp-accounts/CreateAccount/CreationType/creationType.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/CreationType/creationType.spec.js rename to js/packages/dapp-accounts/CreateAccount/CreationType/creationType.spec.js diff --git a/js/src/views/Accounts/CreateAccount/CreationType/index.js b/js/packages/dapp-accounts/CreateAccount/CreationType/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/CreationType/index.js rename to js/packages/dapp-accounts/CreateAccount/CreationType/index.js diff --git a/js/src/views/Accounts/CreateAccount/GethCard/gethCard.js b/js/packages/dapp-accounts/CreateAccount/GethCard/gethCard.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/GethCard/gethCard.js rename to js/packages/dapp-accounts/CreateAccount/GethCard/gethCard.js diff --git a/js/src/views/Accounts/CreateAccount/GethCard/index.js b/js/packages/dapp-accounts/CreateAccount/GethCard/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/GethCard/index.js rename to js/packages/dapp-accounts/CreateAccount/GethCard/index.js diff --git a/js/src/views/Accounts/CreateAccount/NewAccount/index.js b/js/packages/dapp-accounts/CreateAccount/NewAccount/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewAccount/index.js rename to js/packages/dapp-accounts/CreateAccount/NewAccount/index.js diff --git a/js/src/views/Accounts/CreateAccount/NewAccount/newAccount.js b/js/packages/dapp-accounts/CreateAccount/NewAccount/newAccount.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewAccount/newAccount.js rename to js/packages/dapp-accounts/CreateAccount/NewAccount/newAccount.js diff --git a/js/src/views/Accounts/CreateAccount/NewAccount/newAccount.spec.js b/js/packages/dapp-accounts/CreateAccount/NewAccount/newAccount.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewAccount/newAccount.spec.js rename to js/packages/dapp-accounts/CreateAccount/NewAccount/newAccount.spec.js diff --git a/js/src/views/Accounts/CreateAccount/NewGeth/index.js b/js/packages/dapp-accounts/CreateAccount/NewGeth/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewGeth/index.js rename to js/packages/dapp-accounts/CreateAccount/NewGeth/index.js diff --git a/js/src/views/Accounts/CreateAccount/NewGeth/newGeth.js b/js/packages/dapp-accounts/CreateAccount/NewGeth/newGeth.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewGeth/newGeth.js rename to js/packages/dapp-accounts/CreateAccount/NewGeth/newGeth.js diff --git a/js/src/views/Accounts/CreateAccount/NewGeth/newGeth.spec.js b/js/packages/dapp-accounts/CreateAccount/NewGeth/newGeth.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewGeth/newGeth.spec.js rename to js/packages/dapp-accounts/CreateAccount/NewGeth/newGeth.spec.js diff --git a/js/src/views/Accounts/CreateAccount/NewImport/index.js b/js/packages/dapp-accounts/CreateAccount/NewImport/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewImport/index.js rename to js/packages/dapp-accounts/CreateAccount/NewImport/index.js diff --git a/js/src/views/Accounts/CreateAccount/NewImport/newImport.js b/js/packages/dapp-accounts/CreateAccount/NewImport/newImport.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewImport/newImport.js rename to js/packages/dapp-accounts/CreateAccount/NewImport/newImport.js diff --git a/js/src/views/Accounts/CreateAccount/NewImport/newImport.spec.js b/js/packages/dapp-accounts/CreateAccount/NewImport/newImport.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewImport/newImport.spec.js rename to js/packages/dapp-accounts/CreateAccount/NewImport/newImport.spec.js diff --git a/js/src/views/Accounts/CreateAccount/NewQr/index.js b/js/packages/dapp-accounts/CreateAccount/NewQr/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewQr/index.js rename to js/packages/dapp-accounts/CreateAccount/NewQr/index.js diff --git a/js/src/views/Accounts/CreateAccount/NewQr/newQr.js b/js/packages/dapp-accounts/CreateAccount/NewQr/newQr.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewQr/newQr.js rename to js/packages/dapp-accounts/CreateAccount/NewQr/newQr.js diff --git a/js/src/views/Accounts/CreateAccount/NewQr/newQr.spec.js b/js/packages/dapp-accounts/CreateAccount/NewQr/newQr.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/NewQr/newQr.spec.js rename to js/packages/dapp-accounts/CreateAccount/NewQr/newQr.spec.js diff --git a/js/src/views/Accounts/CreateAccount/RawKey/index.js b/js/packages/dapp-accounts/CreateAccount/RawKey/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/RawKey/index.js rename to js/packages/dapp-accounts/CreateAccount/RawKey/index.js diff --git a/js/src/views/Accounts/CreateAccount/RawKey/rawKey.js b/js/packages/dapp-accounts/CreateAccount/RawKey/rawKey.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/RawKey/rawKey.js rename to js/packages/dapp-accounts/CreateAccount/RawKey/rawKey.js diff --git a/js/src/views/Accounts/CreateAccount/RawKey/rawKey.spec.js b/js/packages/dapp-accounts/CreateAccount/RawKey/rawKey.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/RawKey/rawKey.spec.js rename to js/packages/dapp-accounts/CreateAccount/RawKey/rawKey.spec.js diff --git a/js/src/views/Accounts/CreateAccount/RecoveryPhrase/index.js b/js/packages/dapp-accounts/CreateAccount/RecoveryPhrase/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/RecoveryPhrase/index.js rename to js/packages/dapp-accounts/CreateAccount/RecoveryPhrase/index.js diff --git a/js/src/views/Accounts/CreateAccount/RecoveryPhrase/recoveryPhrase.js b/js/packages/dapp-accounts/CreateAccount/RecoveryPhrase/recoveryPhrase.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/RecoveryPhrase/recoveryPhrase.js rename to js/packages/dapp-accounts/CreateAccount/RecoveryPhrase/recoveryPhrase.js diff --git a/js/src/views/Accounts/CreateAccount/RecoveryPhrase/recoveryPhrase.spec.js b/js/packages/dapp-accounts/CreateAccount/RecoveryPhrase/recoveryPhrase.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/RecoveryPhrase/recoveryPhrase.spec.js rename to js/packages/dapp-accounts/CreateAccount/RecoveryPhrase/recoveryPhrase.spec.js diff --git a/js/src/views/Accounts/CreateAccount/TypeIcon/index.js b/js/packages/dapp-accounts/CreateAccount/TypeIcon/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/TypeIcon/index.js rename to js/packages/dapp-accounts/CreateAccount/TypeIcon/index.js diff --git a/js/src/views/Accounts/CreateAccount/TypeIcon/typeIcon.js b/js/packages/dapp-accounts/CreateAccount/TypeIcon/typeIcon.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/TypeIcon/typeIcon.js rename to js/packages/dapp-accounts/CreateAccount/TypeIcon/typeIcon.js diff --git a/js/src/views/Accounts/CreateAccount/createAccount.css b/js/packages/dapp-accounts/CreateAccount/createAccount.css similarity index 100% rename from js/src/views/Accounts/CreateAccount/createAccount.css rename to js/packages/dapp-accounts/CreateAccount/createAccount.css diff --git a/js/src/views/Accounts/CreateAccount/createAccount.js b/js/packages/dapp-accounts/CreateAccount/createAccount.js similarity index 99% rename from js/src/views/Accounts/CreateAccount/createAccount.js rename to js/packages/dapp-accounts/CreateAccount/createAccount.js index 336d397f97..3edc41a198 100644 --- a/js/src/views/Accounts/CreateAccount/createAccount.js +++ b/js/packages/dapp-accounts/CreateAccount/createAccount.js @@ -27,7 +27,8 @@ import { Button, ModalBox, Portal } from '@parity/ui'; import { CancelIcon, CheckIcon, DoneIcon, NextIcon, PrevIcon, PrintIcon } from '@parity/ui/Icons'; import ParityLogo from '@parity/shared/assets/images/parity-logo-black-no-text.svg'; -import VaultStore from '~/views/Vaults/store'; + +import VaultStore from '@parity/dapp-vaults/store'; import AccountDetails from './AccountDetails'; import AccountDetailsGeth from './AccountDetailsGeth'; diff --git a/js/src/views/Accounts/CreateAccount/createAccount.spec.js b/js/packages/dapp-accounts/CreateAccount/createAccount.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/createAccount.spec.js rename to js/packages/dapp-accounts/CreateAccount/createAccount.spec.js diff --git a/js/src/views/Accounts/CreateAccount/createAccount.test.js b/js/packages/dapp-accounts/CreateAccount/createAccount.test.js similarity index 98% rename from js/src/views/Accounts/CreateAccount/createAccount.test.js rename to js/packages/dapp-accounts/CreateAccount/createAccount.test.js index 31ddd56b06..ac0c42adc8 100644 --- a/js/src/views/Accounts/CreateAccount/createAccount.test.js +++ b/js/packages/dapp-accounts/CreateAccount/createAccount.test.js @@ -17,7 +17,7 @@ import BigNumber from 'bignumber.js'; import sinon from 'sinon'; -import Api from '~/api'; +import Api from '@parity/api/index'; import Store from './store'; const ADDRESS = '0x00000123456789abcdef123456789abcdef123456789abcdef'; diff --git a/js/src/views/Accounts/CreateAccount/errors.js b/js/packages/dapp-accounts/CreateAccount/errors.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/errors.js rename to js/packages/dapp-accounts/CreateAccount/errors.js diff --git a/js/src/views/Accounts/CreateAccount/index.js b/js/packages/dapp-accounts/CreateAccount/index.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/index.js rename to js/packages/dapp-accounts/CreateAccount/index.js diff --git a/js/src/views/Accounts/CreateAccount/print.js b/js/packages/dapp-accounts/CreateAccount/print.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/print.js rename to js/packages/dapp-accounts/CreateAccount/print.js diff --git a/js/src/views/Accounts/CreateAccount/recoveryPage.ejs b/js/packages/dapp-accounts/CreateAccount/recoveryPage.ejs similarity index 100% rename from js/src/views/Accounts/CreateAccount/recoveryPage.ejs rename to js/packages/dapp-accounts/CreateAccount/recoveryPage.ejs diff --git a/js/src/views/Accounts/CreateAccount/store.js b/js/packages/dapp-accounts/CreateAccount/store.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/store.js rename to js/packages/dapp-accounts/CreateAccount/store.js diff --git a/js/src/views/Accounts/CreateAccount/store.spec.js b/js/packages/dapp-accounts/CreateAccount/store.spec.js similarity index 100% rename from js/src/views/Accounts/CreateAccount/store.spec.js rename to js/packages/dapp-accounts/CreateAccount/store.spec.js diff --git a/js/src/views/Accounts/CreateWallet/WalletDetails/index.js b/js/packages/dapp-accounts/CreateWallet/WalletDetails/index.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/WalletDetails/index.js rename to js/packages/dapp-accounts/CreateWallet/WalletDetails/index.js diff --git a/js/src/views/Accounts/CreateWallet/WalletDetails/walletDetails.js b/js/packages/dapp-accounts/CreateWallet/WalletDetails/walletDetails.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/WalletDetails/walletDetails.js rename to js/packages/dapp-accounts/CreateWallet/WalletDetails/walletDetails.js diff --git a/js/src/views/Accounts/CreateWallet/WalletDetails/walletDetails.spec.js b/js/packages/dapp-accounts/CreateWallet/WalletDetails/walletDetails.spec.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/WalletDetails/walletDetails.spec.js rename to js/packages/dapp-accounts/CreateWallet/WalletDetails/walletDetails.spec.js diff --git a/js/src/views/Accounts/CreateWallet/WalletInfo/index.js b/js/packages/dapp-accounts/CreateWallet/WalletInfo/index.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/WalletInfo/index.js rename to js/packages/dapp-accounts/CreateWallet/WalletInfo/index.js diff --git a/js/src/views/Accounts/CreateWallet/WalletInfo/walletInfo.js b/js/packages/dapp-accounts/CreateWallet/WalletInfo/walletInfo.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/WalletInfo/walletInfo.js rename to js/packages/dapp-accounts/CreateWallet/WalletInfo/walletInfo.js diff --git a/js/src/views/Accounts/CreateWallet/WalletInfo/walletInfo.spec.js b/js/packages/dapp-accounts/CreateWallet/WalletInfo/walletInfo.spec.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/WalletInfo/walletInfo.spec.js rename to js/packages/dapp-accounts/CreateWallet/WalletInfo/walletInfo.spec.js diff --git a/js/src/views/Accounts/CreateWallet/WalletType/index.js b/js/packages/dapp-accounts/CreateWallet/WalletType/index.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/WalletType/index.js rename to js/packages/dapp-accounts/CreateWallet/WalletType/index.js diff --git a/js/src/views/Accounts/CreateWallet/WalletType/walletType.js b/js/packages/dapp-accounts/CreateWallet/WalletType/walletType.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/WalletType/walletType.js rename to js/packages/dapp-accounts/CreateWallet/WalletType/walletType.js diff --git a/js/src/views/Accounts/CreateWallet/WalletType/walletType.spec.js b/js/packages/dapp-accounts/CreateWallet/WalletType/walletType.spec.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/WalletType/walletType.spec.js rename to js/packages/dapp-accounts/CreateWallet/WalletType/walletType.spec.js diff --git a/js/src/views/Accounts/CreateWallet/createWallet.css b/js/packages/dapp-accounts/CreateWallet/createWallet.css similarity index 100% rename from js/src/views/Accounts/CreateWallet/createWallet.css rename to js/packages/dapp-accounts/CreateWallet/createWallet.css diff --git a/js/src/views/Accounts/CreateWallet/createWallet.js b/js/packages/dapp-accounts/CreateWallet/createWallet.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/createWallet.js rename to js/packages/dapp-accounts/CreateWallet/createWallet.js diff --git a/js/src/views/Accounts/CreateWallet/createWallet.spec.js b/js/packages/dapp-accounts/CreateWallet/createWallet.spec.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/createWallet.spec.js rename to js/packages/dapp-accounts/CreateWallet/createWallet.spec.js diff --git a/js/src/views/Accounts/CreateWallet/createWallet.test.js b/js/packages/dapp-accounts/CreateWallet/createWallet.test.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/createWallet.test.js rename to js/packages/dapp-accounts/CreateWallet/createWallet.test.js diff --git a/js/src/views/Accounts/CreateWallet/createWalletStore.js b/js/packages/dapp-accounts/CreateWallet/createWalletStore.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/createWalletStore.js rename to js/packages/dapp-accounts/CreateWallet/createWalletStore.js diff --git a/js/src/views/Accounts/CreateWallet/index.js b/js/packages/dapp-accounts/CreateWallet/index.js similarity index 100% rename from js/src/views/Accounts/CreateWallet/index.js rename to js/packages/dapp-accounts/CreateWallet/index.js diff --git a/js/src/views/Accounts/ExportAccount/exportAccount.js b/js/packages/dapp-accounts/ExportAccount/exportAccount.js similarity index 100% rename from js/src/views/Accounts/ExportAccount/exportAccount.js rename to js/packages/dapp-accounts/ExportAccount/exportAccount.js diff --git a/js/src/views/Accounts/ExportAccount/exportAccount.spec.js b/js/packages/dapp-accounts/ExportAccount/exportAccount.spec.js similarity index 100% rename from js/src/views/Accounts/ExportAccount/exportAccount.spec.js rename to js/packages/dapp-accounts/ExportAccount/exportAccount.spec.js diff --git a/js/src/views/Accounts/ExportAccount/exportInput/exportInput.js b/js/packages/dapp-accounts/ExportAccount/exportInput/exportInput.js similarity index 100% rename from js/src/views/Accounts/ExportAccount/exportInput/exportInput.js rename to js/packages/dapp-accounts/ExportAccount/exportInput/exportInput.js diff --git a/js/src/views/Accounts/ExportAccount/exportInput/index.js b/js/packages/dapp-accounts/ExportAccount/exportInput/index.js similarity index 100% rename from js/src/views/Accounts/ExportAccount/exportInput/index.js rename to js/packages/dapp-accounts/ExportAccount/exportInput/index.js diff --git a/js/src/views/Accounts/ExportAccount/exportStore.js b/js/packages/dapp-accounts/ExportAccount/exportStore.js similarity index 100% rename from js/src/views/Accounts/ExportAccount/exportStore.js rename to js/packages/dapp-accounts/ExportAccount/exportStore.js diff --git a/js/src/views/Accounts/ExportAccount/exportStore.spec.js b/js/packages/dapp-accounts/ExportAccount/exportStore.spec.js similarity index 100% rename from js/src/views/Accounts/ExportAccount/exportStore.spec.js rename to js/packages/dapp-accounts/ExportAccount/exportStore.spec.js diff --git a/js/src/views/Accounts/ExportAccount/index.js b/js/packages/dapp-accounts/ExportAccount/index.js similarity index 100% rename from js/src/views/Accounts/ExportAccount/index.js rename to js/packages/dapp-accounts/ExportAccount/index.js diff --git a/js/src/ui/List/index.js b/js/packages/dapp-accounts/List/index.js similarity index 100% rename from js/src/ui/List/index.js rename to js/packages/dapp-accounts/List/index.js diff --git a/js/src/views/Accounts/List/list.css b/js/packages/dapp-accounts/List/list.css similarity index 100% rename from js/src/views/Accounts/List/list.css rename to js/packages/dapp-accounts/List/list.css diff --git a/js/src/views/Accounts/List/list.js b/js/packages/dapp-accounts/List/list.js similarity index 100% rename from js/src/views/Accounts/List/list.js rename to js/packages/dapp-accounts/List/list.js diff --git a/js/src/views/Accounts/Summary/index.js b/js/packages/dapp-accounts/Summary/index.js similarity index 100% rename from js/src/views/Accounts/Summary/index.js rename to js/packages/dapp-accounts/Summary/index.js diff --git a/js/src/views/Accounts/Summary/summary.js b/js/packages/dapp-accounts/Summary/summary.js similarity index 100% rename from js/src/views/Accounts/Summary/summary.js rename to js/packages/dapp-accounts/Summary/summary.js diff --git a/js/src/views/Accounts/accounts.css b/js/packages/dapp-accounts/accounts.css similarity index 100% rename from js/src/views/Accounts/accounts.css rename to js/packages/dapp-accounts/accounts.css diff --git a/js/src/views/Accounts/accounts.js b/js/packages/dapp-accounts/accounts.js similarity index 100% rename from js/src/views/Accounts/accounts.js rename to js/packages/dapp-accounts/accounts.js diff --git a/js/src/views/Accounts/accounts.spec.js b/js/packages/dapp-accounts/accounts.spec.js similarity index 100% rename from js/src/views/Accounts/accounts.spec.js rename to js/packages/dapp-accounts/accounts.spec.js diff --git a/js/src/views/Accounts/api.js b/js/packages/dapp-accounts/api.js similarity index 100% rename from js/src/views/Accounts/api.js rename to js/packages/dapp-accounts/api.js diff --git a/js/src/views/Accounts/index.js b/js/packages/dapp-accounts/index.js similarity index 100% rename from js/src/views/Accounts/index.js rename to js/packages/dapp-accounts/index.js diff --git a/js/src/views/Accounts/package.json b/js/packages/dapp-accounts/package.json similarity index 100% rename from js/src/views/Accounts/package.json rename to js/packages/dapp-accounts/package.json diff --git a/js/src/views/Address/Delete/delete.js b/js/packages/dapp-address/Delete/delete.js similarity index 100% rename from js/src/views/Address/Delete/delete.js rename to js/packages/dapp-address/Delete/delete.js diff --git a/js/src/views/Address/Delete/index.js b/js/packages/dapp-address/Delete/index.js similarity index 100% rename from js/src/views/Address/Delete/index.js rename to js/packages/dapp-address/Delete/index.js diff --git a/js/src/views/Address/address.css b/js/packages/dapp-address/address.css similarity index 100% rename from js/src/views/Address/address.css rename to js/packages/dapp-address/address.css diff --git a/js/src/views/Address/address.js b/js/packages/dapp-address/address.js similarity index 96% rename from js/src/views/Address/address.js rename to js/packages/dapp-address/address.js index 9a0352e69b..d6b7540c0d 100644 --- a/js/src/views/Address/address.js +++ b/js/packages/dapp-address/address.js @@ -24,10 +24,11 @@ import { setVisibleAccounts } from '@parity/shared/redux/providers/personalActio import { Actionbar, Button, Page } from '@parity/ui'; import { AddIcon, DeleteIcon, EditIcon } from '@parity/ui/Icons'; -import EditMeta from '../Account/EditMeta'; -import Header from '../Account/Header'; -import Transactions from '../Account/Transactions'; -import AddAddress from '../Addresses/AddAddress'; +import EditMeta from '@parity/dapp-account/EditMeta'; +import Header from '@parity/dapp-account/Header'; +import Transactions from '@parity/dapp-account/Transactions'; +import AddAddress from '@parity/dapp-addresses/AddAddress'; + import Delete from './Delete'; class Address extends Component { diff --git a/js/src/views/Address/api.js b/js/packages/dapp-address/api.js similarity index 100% rename from js/src/views/Address/api.js rename to js/packages/dapp-address/api.js diff --git a/js/src/views/Address/index.js b/js/packages/dapp-address/index.js similarity index 100% rename from js/src/views/Address/index.js rename to js/packages/dapp-address/index.js diff --git a/js/src/views/Address/package.json b/js/packages/dapp-address/package.json similarity index 100% rename from js/src/views/Address/package.json rename to js/packages/dapp-address/package.json diff --git a/js/src/views/Addresses/AddAddress/addAddress.js b/js/packages/dapp-addresses/AddAddress/addAddress.js similarity index 100% rename from js/src/views/Addresses/AddAddress/addAddress.js rename to js/packages/dapp-addresses/AddAddress/addAddress.js diff --git a/js/src/views/Addresses/AddAddress/addAddress.spec.js b/js/packages/dapp-addresses/AddAddress/addAddress.spec.js similarity index 100% rename from js/src/views/Addresses/AddAddress/addAddress.spec.js rename to js/packages/dapp-addresses/AddAddress/addAddress.spec.js diff --git a/js/src/views/Addresses/AddAddress/index.js b/js/packages/dapp-addresses/AddAddress/index.js similarity index 100% rename from js/src/views/Addresses/AddAddress/index.js rename to js/packages/dapp-addresses/AddAddress/index.js diff --git a/js/src/views/Addresses/AddAddress/store.js b/js/packages/dapp-addresses/AddAddress/store.js similarity index 100% rename from js/src/views/Addresses/AddAddress/store.js rename to js/packages/dapp-addresses/AddAddress/store.js diff --git a/js/src/views/Addresses/AddAddress/store.spec.js b/js/packages/dapp-addresses/AddAddress/store.spec.js similarity index 100% rename from js/src/views/Addresses/AddAddress/store.spec.js rename to js/packages/dapp-addresses/AddAddress/store.spec.js diff --git a/js/src/views/Addresses/AddAddress/store.test.js b/js/packages/dapp-addresses/AddAddress/store.test.js similarity index 100% rename from js/src/views/Addresses/AddAddress/store.test.js rename to js/packages/dapp-addresses/AddAddress/store.test.js diff --git a/js/src/views/Addresses/addresses.css b/js/packages/dapp-addresses/addresses.css similarity index 100% rename from js/src/views/Addresses/addresses.css rename to js/packages/dapp-addresses/addresses.css diff --git a/js/src/views/Addresses/addresses.js b/js/packages/dapp-addresses/addresses.js similarity index 98% rename from js/src/views/Addresses/addresses.js rename to js/packages/dapp-addresses/addresses.js index a50cae2674..24cfdd7d72 100644 --- a/js/src/views/Addresses/addresses.js +++ b/js/packages/dapp-addresses/addresses.js @@ -25,8 +25,9 @@ import { setVisibleAccounts } from '@parity/shared/redux/providers/personalActio import { Actionbar, ActionbarExport, ActionbarImport, ActionbarSearch, ActionbarSort, Button, Page } from '@parity/ui'; import { AddIcon } from '@parity/ui/Icons'; -import List from '../Accounts/List'; -import Summary from '../Accounts/Summary'; +import List from '@parity/dapp-accounts/List'; +import Summary from '@parity/dapp-accounts/Summary'; + import AddAddress from './AddAddress'; import styles from './addresses.css'; diff --git a/js/src/views/Addresses/api.js b/js/packages/dapp-addresses/api.js similarity index 100% rename from js/src/views/Addresses/api.js rename to js/packages/dapp-addresses/api.js diff --git a/js/src/views/Addresses/index.js b/js/packages/dapp-addresses/index.js similarity index 100% rename from js/src/views/Addresses/index.js rename to js/packages/dapp-addresses/index.js diff --git a/js/src/views/Addresses/package.json b/js/packages/dapp-addresses/package.json similarity index 100% rename from js/src/views/Addresses/package.json rename to js/packages/dapp-addresses/package.json diff --git a/js/src/dapps/chaindeploy/Application/application.css b/js/packages/dapp-chaindeploy/Application/application.css similarity index 100% rename from js/src/dapps/chaindeploy/Application/application.css rename to js/packages/dapp-chaindeploy/Application/application.css diff --git a/js/src/dapps/chaindeploy/Application/application.js b/js/packages/dapp-chaindeploy/Application/application.js similarity index 100% rename from js/src/dapps/chaindeploy/Application/application.js rename to js/packages/dapp-chaindeploy/Application/application.js diff --git a/js/src/dapps/chaindeploy/Application/index.js b/js/packages/dapp-chaindeploy/Application/index.js similarity index 100% rename from js/src/dapps/chaindeploy/Application/index.js rename to js/packages/dapp-chaindeploy/Application/index.js diff --git a/js/src/dapps/chaindeploy/Contract/contract.js b/js/packages/dapp-chaindeploy/Contract/contract.js similarity index 100% rename from js/src/dapps/chaindeploy/Contract/contract.js rename to js/packages/dapp-chaindeploy/Contract/contract.js diff --git a/js/src/dapps/chaindeploy/Contract/index.js b/js/packages/dapp-chaindeploy/Contract/index.js similarity index 100% rename from js/src/dapps/chaindeploy/Contract/index.js rename to js/packages/dapp-chaindeploy/Contract/index.js diff --git a/js/src/dapps/chaindeploy/Dapp/dapp.js b/js/packages/dapp-chaindeploy/Dapp/dapp.js similarity index 100% rename from js/src/dapps/chaindeploy/Dapp/dapp.js rename to js/packages/dapp-chaindeploy/Dapp/dapp.js diff --git a/js/src/dapps/chaindeploy/Dapp/index.js b/js/packages/dapp-chaindeploy/Dapp/index.js similarity index 100% rename from js/src/dapps/chaindeploy/Dapp/index.js rename to js/packages/dapp-chaindeploy/Dapp/index.js diff --git a/js/src/dapps/chaindeploy/ListItem/Header/header.js b/js/packages/dapp-chaindeploy/ListItem/Header/header.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Header/header.js rename to js/packages/dapp-chaindeploy/ListItem/Header/header.js diff --git a/js/src/dapps/console/Header/index.js b/js/packages/dapp-chaindeploy/ListItem/Header/index.js similarity index 100% rename from js/src/dapps/console/Header/index.js rename to js/packages/dapp-chaindeploy/ListItem/Header/index.js diff --git a/js/src/dapps/chaindeploy/ListItem/Icon/icon.js b/js/packages/dapp-chaindeploy/ListItem/Icon/icon.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Icon/icon.js rename to js/packages/dapp-chaindeploy/ListItem/Icon/icon.js diff --git a/js/src/dapps/chaindeploy/ListItem/Icon/index.js b/js/packages/dapp-chaindeploy/ListItem/Icon/index.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Icon/index.js rename to js/packages/dapp-chaindeploy/ListItem/Icon/index.js diff --git a/js/src/dapps/chaindeploy/ListItem/Row/index.js b/js/packages/dapp-chaindeploy/ListItem/Row/index.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Row/index.js rename to js/packages/dapp-chaindeploy/ListItem/Row/index.js diff --git a/js/src/dapps/chaindeploy/ListItem/Row/row.js b/js/packages/dapp-chaindeploy/ListItem/Row/row.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/Row/row.js rename to js/packages/dapp-chaindeploy/ListItem/Row/row.js diff --git a/js/src/dapps/chaindeploy/ListItem/index.js b/js/packages/dapp-chaindeploy/ListItem/index.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/index.js rename to js/packages/dapp-chaindeploy/ListItem/index.js diff --git a/js/src/dapps/chaindeploy/ListItem/listItem.css b/js/packages/dapp-chaindeploy/ListItem/listItem.css similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/listItem.css rename to js/packages/dapp-chaindeploy/ListItem/listItem.css diff --git a/js/src/dapps/chaindeploy/ListItem/listItem.js b/js/packages/dapp-chaindeploy/ListItem/listItem.js similarity index 100% rename from js/src/dapps/chaindeploy/ListItem/listItem.js rename to js/packages/dapp-chaindeploy/ListItem/listItem.js diff --git a/js/src/dapps/chaindeploy/_dapps.js b/js/packages/dapp-chaindeploy/_dapps.js similarity index 100% rename from js/src/dapps/chaindeploy/_dapps.js rename to js/packages/dapp-chaindeploy/_dapps.js diff --git a/js/src/dapps/chaindeploy/contracts/abi/jg-voting.json b/js/packages/dapp-chaindeploy/contracts/abi/jg-voting.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/abi/jg-voting.json rename to js/packages/dapp-chaindeploy/contracts/abi/jg-voting.json diff --git a/js/src/dapps/chaindeploy/contracts/badgereg.js b/js/packages/dapp-chaindeploy/contracts/badgereg.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/badgereg.js rename to js/packages/dapp-chaindeploy/contracts/badgereg.js diff --git a/js/src/dapps/chaindeploy/contracts/code/badgereg.json b/js/packages/dapp-chaindeploy/contracts/code/badgereg.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/badgereg.json rename to js/packages/dapp-chaindeploy/contracts/code/badgereg.json diff --git a/js/src/dapps/chaindeploy/contracts/code/dappreg.json b/js/packages/dapp-chaindeploy/contracts/code/dappreg.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/dappreg.json rename to js/packages/dapp-chaindeploy/contracts/code/dappreg.json diff --git a/js/src/dapps/chaindeploy/contracts/code/gavcoin.json b/js/packages/dapp-chaindeploy/contracts/code/gavcoin.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/gavcoin.json rename to js/packages/dapp-chaindeploy/contracts/code/gavcoin.json diff --git a/js/src/dapps/chaindeploy/contracts/code/githubhint.json b/js/packages/dapp-chaindeploy/contracts/code/githubhint.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/githubhint.json rename to js/packages/dapp-chaindeploy/contracts/code/githubhint.json diff --git a/js/src/dapps/chaindeploy/contracts/code/jg-voting.json b/js/packages/dapp-chaindeploy/contracts/code/jg-voting.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/jg-voting.json rename to js/packages/dapp-chaindeploy/contracts/code/jg-voting.json diff --git a/js/src/dapps/chaindeploy/contracts/code/registry.json b/js/packages/dapp-chaindeploy/contracts/code/registry.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/registry.json rename to js/packages/dapp-chaindeploy/contracts/code/registry.json diff --git a/js/src/dapps/chaindeploy/contracts/code/signaturereg.json b/js/packages/dapp-chaindeploy/contracts/code/signaturereg.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/signaturereg.json rename to js/packages/dapp-chaindeploy/contracts/code/signaturereg.json diff --git a/js/src/dapps/chaindeploy/contracts/code/tokendeploy.json b/js/packages/dapp-chaindeploy/contracts/code/tokendeploy.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/tokendeploy.json rename to js/packages/dapp-chaindeploy/contracts/code/tokendeploy.json diff --git a/js/src/dapps/chaindeploy/contracts/code/tokenreg.json b/js/packages/dapp-chaindeploy/contracts/code/tokenreg.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/tokenreg.json rename to js/packages/dapp-chaindeploy/contracts/code/tokenreg.json diff --git a/js/src/dapps/chaindeploy/contracts/code/verifyEmail.json b/js/packages/dapp-chaindeploy/contracts/code/verifyEmail.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/verifyEmail.json rename to js/packages/dapp-chaindeploy/contracts/code/verifyEmail.json diff --git a/js/src/dapps/chaindeploy/contracts/code/verifySms.json b/js/packages/dapp-chaindeploy/contracts/code/verifySms.json similarity index 100% rename from js/src/dapps/chaindeploy/contracts/code/verifySms.json rename to js/packages/dapp-chaindeploy/contracts/code/verifySms.json diff --git a/js/src/dapps/chaindeploy/contracts/dappreg.js b/js/packages/dapp-chaindeploy/contracts/dappreg.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/dappreg.js rename to js/packages/dapp-chaindeploy/contracts/dappreg.js diff --git a/js/src/dapps/chaindeploy/contracts/gavcoin.js b/js/packages/dapp-chaindeploy/contracts/gavcoin.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/gavcoin.js rename to js/packages/dapp-chaindeploy/contracts/gavcoin.js diff --git a/js/src/dapps/chaindeploy/contracts/githubhint.js b/js/packages/dapp-chaindeploy/contracts/githubhint.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/githubhint.js rename to js/packages/dapp-chaindeploy/contracts/githubhint.js diff --git a/js/src/dapps/chaindeploy/contracts/index.js b/js/packages/dapp-chaindeploy/contracts/index.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/index.js rename to js/packages/dapp-chaindeploy/contracts/index.js diff --git a/js/src/dapps/chaindeploy/contracts/jg-voting.js b/js/packages/dapp-chaindeploy/contracts/jg-voting.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/jg-voting.js rename to js/packages/dapp-chaindeploy/contracts/jg-voting.js diff --git a/js/src/dapps/chaindeploy/contracts/registry.js b/js/packages/dapp-chaindeploy/contracts/registry.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/registry.js rename to js/packages/dapp-chaindeploy/contracts/registry.js diff --git a/js/src/dapps/chaindeploy/contracts/signaturereg.js b/js/packages/dapp-chaindeploy/contracts/signaturereg.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/signaturereg.js rename to js/packages/dapp-chaindeploy/contracts/signaturereg.js diff --git a/js/src/dapps/chaindeploy/contracts/tokendeployMgr.js b/js/packages/dapp-chaindeploy/contracts/tokendeployMgr.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/tokendeployMgr.js rename to js/packages/dapp-chaindeploy/contracts/tokendeployMgr.js diff --git a/js/src/dapps/chaindeploy/contracts/tokendeployReg.js b/js/packages/dapp-chaindeploy/contracts/tokendeployReg.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/tokendeployReg.js rename to js/packages/dapp-chaindeploy/contracts/tokendeployReg.js diff --git a/js/src/dapps/chaindeploy/contracts/tokenreg.js b/js/packages/dapp-chaindeploy/contracts/tokenreg.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/tokenreg.js rename to js/packages/dapp-chaindeploy/contracts/tokenreg.js diff --git a/js/src/dapps/chaindeploy/contracts/verifyEmail.js b/js/packages/dapp-chaindeploy/contracts/verifyEmail.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/verifyEmail.js rename to js/packages/dapp-chaindeploy/contracts/verifyEmail.js diff --git a/js/src/dapps/chaindeploy/contracts/verifySms.js b/js/packages/dapp-chaindeploy/contracts/verifySms.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/verifySms.js rename to js/packages/dapp-chaindeploy/contracts/verifySms.js diff --git a/js/src/dapps/chaindeploy/contracts/wallet.js b/js/packages/dapp-chaindeploy/contracts/wallet.js similarity index 100% rename from js/src/dapps/chaindeploy/contracts/wallet.js rename to js/packages/dapp-chaindeploy/contracts/wallet.js diff --git a/js/src/dapps/chaindeploy/dapps/console.js b/js/packages/dapp-chaindeploy/dapps/console.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/console.js rename to js/packages/dapp-chaindeploy/dapps/console.js diff --git a/js/src/dapps/chaindeploy/dapps/dappreg.js b/js/packages/dapp-chaindeploy/dapps/dappreg.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/dappreg.js rename to js/packages/dapp-chaindeploy/dapps/dappreg.js diff --git a/js/src/dapps/chaindeploy/dapps/gavcoin.js b/js/packages/dapp-chaindeploy/dapps/gavcoin.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/gavcoin.js rename to js/packages/dapp-chaindeploy/dapps/gavcoin.js diff --git a/js/src/dapps/chaindeploy/dapps/githubhint.js b/js/packages/dapp-chaindeploy/dapps/githubhint.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/githubhint.js rename to js/packages/dapp-chaindeploy/dapps/githubhint.js diff --git a/js/src/dapps/chaindeploy/dapps/index.js b/js/packages/dapp-chaindeploy/dapps/index.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/index.js rename to js/packages/dapp-chaindeploy/dapps/index.js diff --git a/js/src/dapps/chaindeploy/dapps/jg-voting.js b/js/packages/dapp-chaindeploy/dapps/jg-voting.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/jg-voting.js rename to js/packages/dapp-chaindeploy/dapps/jg-voting.js diff --git a/js/src/dapps/chaindeploy/dapps/jg-whenblock.js b/js/packages/dapp-chaindeploy/dapps/jg-whenblock.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/jg-whenblock.js rename to js/packages/dapp-chaindeploy/dapps/jg-whenblock.js diff --git a/js/src/dapps/chaindeploy/dapps/localtx.js b/js/packages/dapp-chaindeploy/dapps/localtx.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/localtx.js rename to js/packages/dapp-chaindeploy/dapps/localtx.js diff --git a/js/src/dapps/chaindeploy/dapps/registry.js b/js/packages/dapp-chaindeploy/dapps/registry.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/registry.js rename to js/packages/dapp-chaindeploy/dapps/registry.js diff --git a/js/src/dapps/chaindeploy/dapps/signaturereg.js b/js/packages/dapp-chaindeploy/dapps/signaturereg.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/signaturereg.js rename to js/packages/dapp-chaindeploy/dapps/signaturereg.js diff --git a/js/src/dapps/chaindeploy/dapps/tokendeploy.js b/js/packages/dapp-chaindeploy/dapps/tokendeploy.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/tokendeploy.js rename to js/packages/dapp-chaindeploy/dapps/tokendeploy.js diff --git a/js/src/dapps/chaindeploy/dapps/tokenreg.js b/js/packages/dapp-chaindeploy/dapps/tokenreg.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/tokenreg.js rename to js/packages/dapp-chaindeploy/dapps/tokenreg.js diff --git a/js/src/dapps/chaindeploy/dapps/web.js b/js/packages/dapp-chaindeploy/dapps/web.js similarity index 100% rename from js/src/dapps/chaindeploy/dapps/web.js rename to js/packages/dapp-chaindeploy/dapps/web.js diff --git a/js/src/dapps/chaindeploy/index.js b/js/packages/dapp-chaindeploy/index.js similarity index 96% rename from js/src/dapps/chaindeploy/index.js rename to js/packages/dapp-chaindeploy/index.js index b133d00c86..c2e9db8316 100644 --- a/js/src/dapps/chaindeploy/index.js +++ b/js/packages/dapp-chaindeploy/index.js @@ -21,7 +21,7 @@ import Application from './Application'; import '@parity/shared/assets/fonts/Roboto/font.css'; import '@parity/shared/assets/fonts/RobotoMono/font.css'; -import '../style.css'; +import '@parity/dapps/style.css'; ReactDOM.render( , diff --git a/js/src/dapps/chaindeploy/parity.js b/js/packages/dapp-chaindeploy/parity.js similarity index 100% rename from js/src/dapps/chaindeploy/parity.js rename to js/packages/dapp-chaindeploy/parity.js diff --git a/js/src/dapps/chaindeploy/store.js b/js/packages/dapp-chaindeploy/store.js similarity index 100% rename from js/src/dapps/chaindeploy/store.js rename to js/packages/dapp-chaindeploy/store.js diff --git a/js/src/dapps/chaindeploy/utils.js b/js/packages/dapp-chaindeploy/utils.js similarity index 100% rename from js/src/dapps/chaindeploy/utils.js rename to js/packages/dapp-chaindeploy/utils.js diff --git a/js/src/dapps/console/Application/application.css b/js/packages/dapp-console/Application/application.css similarity index 100% rename from js/src/dapps/console/Application/application.css rename to js/packages/dapp-console/Application/application.css diff --git a/js/src/dapps/console/Application/application.js b/js/packages/dapp-console/Application/application.js similarity index 100% rename from js/src/dapps/console/Application/application.js rename to js/packages/dapp-console/Application/application.js diff --git a/js/src/dapps/console/Application/application.store.js b/js/packages/dapp-console/Application/application.store.js similarity index 100% rename from js/src/dapps/console/Application/application.store.js rename to js/packages/dapp-console/Application/application.store.js diff --git a/js/src/dapps/console/Application/index.js b/js/packages/dapp-console/Application/index.js similarity index 100% rename from js/src/dapps/console/Application/index.js rename to js/packages/dapp-console/Application/index.js diff --git a/js/src/dapps/console/Autocomplete/autocomplete.css b/js/packages/dapp-console/Autocomplete/autocomplete.css similarity index 100% rename from js/src/dapps/console/Autocomplete/autocomplete.css rename to js/packages/dapp-console/Autocomplete/autocomplete.css diff --git a/js/src/dapps/console/Autocomplete/autocomplete.js b/js/packages/dapp-console/Autocomplete/autocomplete.js similarity index 100% rename from js/src/dapps/console/Autocomplete/autocomplete.js rename to js/packages/dapp-console/Autocomplete/autocomplete.js diff --git a/js/src/dapps/console/Autocomplete/autocomplete.store.js b/js/packages/dapp-console/Autocomplete/autocomplete.store.js similarity index 100% rename from js/src/dapps/console/Autocomplete/autocomplete.store.js rename to js/packages/dapp-console/Autocomplete/autocomplete.store.js diff --git a/js/src/dapps/console/Autocomplete/index.js b/js/packages/dapp-console/Autocomplete/index.js similarity index 100% rename from js/src/dapps/console/Autocomplete/index.js rename to js/packages/dapp-console/Autocomplete/index.js diff --git a/js/src/dapps/console/Console/console.css b/js/packages/dapp-console/Console/console.css similarity index 100% rename from js/src/dapps/console/Console/console.css rename to js/packages/dapp-console/Console/console.css diff --git a/js/src/dapps/console/Console/console.js b/js/packages/dapp-console/Console/console.js similarity index 100% rename from js/src/dapps/console/Console/console.js rename to js/packages/dapp-console/Console/console.js diff --git a/js/src/dapps/console/Console/console.store.js b/js/packages/dapp-console/Console/console.store.js similarity index 100% rename from js/src/dapps/console/Console/console.store.js rename to js/packages/dapp-console/Console/console.store.js diff --git a/js/src/dapps/console/Console/index.js b/js/packages/dapp-console/Console/index.js similarity index 100% rename from js/src/dapps/console/Console/index.js rename to js/packages/dapp-console/Console/index.js diff --git a/js/src/dapps/console/Header/header.css b/js/packages/dapp-console/Header/header.css similarity index 100% rename from js/src/dapps/console/Header/header.css rename to js/packages/dapp-console/Header/header.css diff --git a/js/src/dapps/console/Header/header.js b/js/packages/dapp-console/Header/header.js similarity index 100% rename from js/src/dapps/console/Header/header.js rename to js/packages/dapp-console/Header/header.js diff --git a/js/src/dapps/tokendeploy/Application/Header/index.js b/js/packages/dapp-console/Header/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/Header/index.js rename to js/packages/dapp-console/Header/index.js diff --git a/js/src/dapps/console/Input/index.js b/js/packages/dapp-console/Input/index.js similarity index 100% rename from js/src/dapps/console/Input/index.js rename to js/packages/dapp-console/Input/index.js diff --git a/js/src/dapps/console/Input/input.css b/js/packages/dapp-console/Input/input.css similarity index 100% rename from js/src/dapps/console/Input/input.css rename to js/packages/dapp-console/Input/input.css diff --git a/js/src/dapps/console/Input/input.js b/js/packages/dapp-console/Input/input.js similarity index 100% rename from js/src/dapps/console/Input/input.js rename to js/packages/dapp-console/Input/input.js diff --git a/js/src/dapps/console/Input/input.store.js b/js/packages/dapp-console/Input/input.store.js similarity index 100% rename from js/src/dapps/console/Input/input.store.js rename to js/packages/dapp-console/Input/input.store.js diff --git a/js/src/dapps/console/Settings/index.js b/js/packages/dapp-console/Settings/index.js similarity index 100% rename from js/src/dapps/console/Settings/index.js rename to js/packages/dapp-console/Settings/index.js diff --git a/js/src/dapps/console/Settings/settings.css b/js/packages/dapp-console/Settings/settings.css similarity index 100% rename from js/src/dapps/console/Settings/settings.css rename to js/packages/dapp-console/Settings/settings.css diff --git a/js/src/dapps/console/Settings/settings.js b/js/packages/dapp-console/Settings/settings.js similarity index 100% rename from js/src/dapps/console/Settings/settings.js rename to js/packages/dapp-console/Settings/settings.js diff --git a/js/src/dapps/console/Settings/settings.store.js b/js/packages/dapp-console/Settings/settings.store.js similarity index 100% rename from js/src/dapps/console/Settings/settings.store.js rename to js/packages/dapp-console/Settings/settings.store.js diff --git a/js/src/dapps/console/Snippets/index.js b/js/packages/dapp-console/Snippets/index.js similarity index 100% rename from js/src/dapps/console/Snippets/index.js rename to js/packages/dapp-console/Snippets/index.js diff --git a/js/src/dapps/console/Snippets/snippets.css b/js/packages/dapp-console/Snippets/snippets.css similarity index 100% rename from js/src/dapps/console/Snippets/snippets.css rename to js/packages/dapp-console/Snippets/snippets.css diff --git a/js/src/dapps/console/Snippets/snippets.js b/js/packages/dapp-console/Snippets/snippets.js similarity index 100% rename from js/src/dapps/console/Snippets/snippets.js rename to js/packages/dapp-console/Snippets/snippets.js diff --git a/js/src/dapps/console/Snippets/snippets.store.js b/js/packages/dapp-console/Snippets/snippets.store.js similarity index 100% rename from js/src/dapps/console/Snippets/snippets.store.js rename to js/packages/dapp-console/Snippets/snippets.store.js diff --git a/js/src/dapps/console/Watches/index.js b/js/packages/dapp-console/Watches/index.js similarity index 100% rename from js/src/dapps/console/Watches/index.js rename to js/packages/dapp-console/Watches/index.js diff --git a/js/src/dapps/console/Watches/watches.css b/js/packages/dapp-console/Watches/watches.css similarity index 100% rename from js/src/dapps/console/Watches/watches.css rename to js/packages/dapp-console/Watches/watches.css diff --git a/js/src/dapps/console/Watches/watches.js b/js/packages/dapp-console/Watches/watches.js similarity index 100% rename from js/src/dapps/console/Watches/watches.js rename to js/packages/dapp-console/Watches/watches.js diff --git a/js/src/dapps/console/Watches/watches.store.js b/js/packages/dapp-console/Watches/watches.store.js similarity index 100% rename from js/src/dapps/console/Watches/watches.store.js rename to js/packages/dapp-console/Watches/watches.store.js diff --git a/js/src/dapps/console/codemirror.css b/js/packages/dapp-console/codemirror.css similarity index 100% rename from js/src/dapps/console/codemirror.css rename to js/packages/dapp-console/codemirror.css diff --git a/js/src/dapps/console/index.js b/js/packages/dapp-console/index.js similarity index 98% rename from js/src/dapps/console/index.js rename to js/packages/dapp-console/index.js index ccddf56dc4..aeb6640f57 100644 --- a/js/src/dapps/console/index.js +++ b/js/packages/dapp-console/index.js @@ -37,7 +37,7 @@ import Application from './Application'; import '@parity/shared/assets/fonts/Roboto/font.css'; import '@parity/shared/assets/fonts/RobotoMono/font.css'; -import '../style.css'; +import '@parity/dapps/style.css'; ReactDOM.render( diff --git a/js/src/dapps/console/parity.js b/js/packages/dapp-console/parity.js similarity index 100% rename from js/src/dapps/console/parity.js rename to js/packages/dapp-console/parity.js diff --git a/js/src/dapps/console/utils.js b/js/packages/dapp-console/utils.js similarity index 100% rename from js/src/dapps/console/utils.js rename to js/packages/dapp-console/utils.js diff --git a/js/src/views/Contract/Events/Event/event.js b/js/packages/dapp-contract/Events/Event/event.js similarity index 98% rename from js/src/views/Contract/Events/Event/event.js rename to js/packages/dapp-contract/Events/Event/event.js index bce4f24732..16d7cdc94a 100644 --- a/js/src/views/Contract/Events/Event/event.js +++ b/js/packages/dapp-contract/Events/Event/event.js @@ -21,8 +21,7 @@ import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { IdentityIcon, IdentityName, ShortenedHash, TypedInput } from '@parity/ui'; - -import { txLink } from '~/3rdparty/etherscan/links'; +import { txLink } from '@parity/etherscan/links'; import styles from '../../contract.css'; diff --git a/js/src/dapps/tokendeploy/Deploy/Event/index.js b/js/packages/dapp-contract/Events/Event/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Event/index.js rename to js/packages/dapp-contract/Events/Event/index.js diff --git a/js/src/views/Contract/Events/events.js b/js/packages/dapp-contract/Events/events.js similarity index 100% rename from js/src/views/Contract/Events/events.js rename to js/packages/dapp-contract/Events/events.js diff --git a/js/src/dapps/githubhint/Events/index.js b/js/packages/dapp-contract/Events/index.js similarity index 100% rename from js/src/dapps/githubhint/Events/index.js rename to js/packages/dapp-contract/Events/index.js diff --git a/js/src/views/Contract/ExecuteContract/AdvancedStep/advancedStep.js b/js/packages/dapp-contract/ExecuteContract/AdvancedStep/advancedStep.js similarity index 100% rename from js/src/views/Contract/ExecuteContract/AdvancedStep/advancedStep.js rename to js/packages/dapp-contract/ExecuteContract/AdvancedStep/advancedStep.js diff --git a/js/src/views/Contract/ExecuteContract/AdvancedStep/index.js b/js/packages/dapp-contract/ExecuteContract/AdvancedStep/index.js similarity index 100% rename from js/src/views/Contract/ExecuteContract/AdvancedStep/index.js rename to js/packages/dapp-contract/ExecuteContract/AdvancedStep/index.js diff --git a/js/src/views/Contract/ExecuteContract/DetailsStep/detailsStep.js b/js/packages/dapp-contract/ExecuteContract/DetailsStep/detailsStep.js similarity index 100% rename from js/src/views/Contract/ExecuteContract/DetailsStep/detailsStep.js rename to js/packages/dapp-contract/ExecuteContract/DetailsStep/detailsStep.js diff --git a/js/src/views/Contract/ExecuteContract/DetailsStep/detailsStep.spec.js b/js/packages/dapp-contract/ExecuteContract/DetailsStep/detailsStep.spec.js similarity index 100% rename from js/src/views/Contract/ExecuteContract/DetailsStep/detailsStep.spec.js rename to js/packages/dapp-contract/ExecuteContract/DetailsStep/detailsStep.spec.js diff --git a/js/src/views/Contract/ExecuteContract/DetailsStep/index.js b/js/packages/dapp-contract/ExecuteContract/DetailsStep/index.js similarity index 100% rename from js/src/views/Contract/ExecuteContract/DetailsStep/index.js rename to js/packages/dapp-contract/ExecuteContract/DetailsStep/index.js diff --git a/js/src/views/Contract/ExecuteContract/executeContract.css b/js/packages/dapp-contract/ExecuteContract/executeContract.css similarity index 100% rename from js/src/views/Contract/ExecuteContract/executeContract.css rename to js/packages/dapp-contract/ExecuteContract/executeContract.css diff --git a/js/src/views/Contract/ExecuteContract/executeContract.js b/js/packages/dapp-contract/ExecuteContract/executeContract.js similarity index 100% rename from js/src/views/Contract/ExecuteContract/executeContract.js rename to js/packages/dapp-contract/ExecuteContract/executeContract.js diff --git a/js/src/views/Contract/ExecuteContract/executeContract.spec.js b/js/packages/dapp-contract/ExecuteContract/executeContract.spec.js similarity index 100% rename from js/src/views/Contract/ExecuteContract/executeContract.spec.js rename to js/packages/dapp-contract/ExecuteContract/executeContract.spec.js diff --git a/js/src/views/Contract/ExecuteContract/executeContract.test.js b/js/packages/dapp-contract/ExecuteContract/executeContract.test.js similarity index 100% rename from js/src/views/Contract/ExecuteContract/executeContract.test.js rename to js/packages/dapp-contract/ExecuteContract/executeContract.test.js diff --git a/js/src/views/Contract/ExecuteContract/index.js b/js/packages/dapp-contract/ExecuteContract/index.js similarity index 100% rename from js/src/views/Contract/ExecuteContract/index.js rename to js/packages/dapp-contract/ExecuteContract/index.js diff --git a/js/src/views/Contract/Queries/index.js b/js/packages/dapp-contract/Queries/index.js similarity index 100% rename from js/src/views/Contract/Queries/index.js rename to js/packages/dapp-contract/Queries/index.js diff --git a/js/src/views/Contract/Queries/inputQuery.js b/js/packages/dapp-contract/Queries/inputQuery.js similarity index 100% rename from js/src/views/Contract/Queries/inputQuery.js rename to js/packages/dapp-contract/Queries/inputQuery.js diff --git a/js/src/views/Contract/Queries/queries.css b/js/packages/dapp-contract/Queries/queries.css similarity index 100% rename from js/src/views/Contract/Queries/queries.css rename to js/packages/dapp-contract/Queries/queries.css diff --git a/js/src/views/Contract/Queries/queries.js b/js/packages/dapp-contract/Queries/queries.js similarity index 100% rename from js/src/views/Contract/Queries/queries.js rename to js/packages/dapp-contract/Queries/queries.js diff --git a/js/src/views/Contract/api.js b/js/packages/dapp-contract/api.js similarity index 100% rename from js/src/views/Contract/api.js rename to js/packages/dapp-contract/api.js diff --git a/js/src/views/Contract/contract.css b/js/packages/dapp-contract/contract.css similarity index 100% rename from js/src/views/Contract/contract.css rename to js/packages/dapp-contract/contract.css diff --git a/js/src/views/Contract/contract.js b/js/packages/dapp-contract/contract.js similarity index 98% rename from js/src/views/Contract/contract.js rename to js/packages/dapp-contract/contract.js index 16e8262b5c..e17455ba35 100644 --- a/js/src/views/Contract/contract.js +++ b/js/packages/dapp-contract/contract.js @@ -27,9 +27,9 @@ import { Actionbar, Button, Page, Portal } from '@parity/ui'; import { CancelIcon, DeleteIcon, EditIcon, PlayIcon, VisibleIcon } from '@parity/ui/Icons'; import Editor from '@parity/ui/Editor'; -import EditMeta from '../Account/EditMeta'; -import Header from '../Account/Header'; -import Delete from '../Address/Delete'; +import EditMeta from '@parity/dapp-account/EditMeta'; +import Header from '@parity/dapp-account/Header'; +import Delete from '@parity/dapp-address/Delete'; import ExecuteContract from './ExecuteContract'; import Events from './Events'; diff --git a/js/src/views/Contract/index.js b/js/packages/dapp-contract/index.js similarity index 100% rename from js/src/views/Contract/index.js rename to js/packages/dapp-contract/index.js diff --git a/js/src/views/Contract/package.json b/js/packages/dapp-contract/package.json similarity index 100% rename from js/src/views/Contract/package.json rename to js/packages/dapp-contract/package.json diff --git a/js/src/views/Contracts/AddContract/addContract.css b/js/packages/dapp-contracts/AddContract/addContract.css similarity index 100% rename from js/src/views/Contracts/AddContract/addContract.css rename to js/packages/dapp-contracts/AddContract/addContract.css diff --git a/js/src/views/Contracts/AddContract/addContract.js b/js/packages/dapp-contracts/AddContract/addContract.js similarity index 100% rename from js/src/views/Contracts/AddContract/addContract.js rename to js/packages/dapp-contracts/AddContract/addContract.js diff --git a/js/src/views/Contracts/AddContract/addContract.spec.js b/js/packages/dapp-contracts/AddContract/addContract.spec.js similarity index 100% rename from js/src/views/Contracts/AddContract/addContract.spec.js rename to js/packages/dapp-contracts/AddContract/addContract.spec.js diff --git a/js/src/views/Contracts/AddContract/addContract.test.js b/js/packages/dapp-contracts/AddContract/addContract.test.js similarity index 100% rename from js/src/views/Contracts/AddContract/addContract.test.js rename to js/packages/dapp-contracts/AddContract/addContract.test.js diff --git a/js/src/views/Contracts/AddContract/index.js b/js/packages/dapp-contracts/AddContract/index.js similarity index 100% rename from js/src/views/Contracts/AddContract/index.js rename to js/packages/dapp-contracts/AddContract/index.js diff --git a/js/src/views/Contracts/AddContract/store.js b/js/packages/dapp-contracts/AddContract/store.js similarity index 100% rename from js/src/views/Contracts/AddContract/store.js rename to js/packages/dapp-contracts/AddContract/store.js diff --git a/js/src/views/Contracts/AddContract/store.spec.js b/js/packages/dapp-contracts/AddContract/store.spec.js similarity index 100% rename from js/src/views/Contracts/AddContract/store.spec.js rename to js/packages/dapp-contracts/AddContract/store.spec.js diff --git a/js/src/views/Contracts/AddContract/types.js b/js/packages/dapp-contracts/AddContract/types.js similarity index 100% rename from js/src/views/Contracts/AddContract/types.js rename to js/packages/dapp-contracts/AddContract/types.js diff --git a/js/src/views/Contracts/DeployContract/DetailsStep/detailsStep.js b/js/packages/dapp-contracts/DeployContract/DetailsStep/detailsStep.js similarity index 100% rename from js/src/views/Contracts/DeployContract/DetailsStep/detailsStep.js rename to js/packages/dapp-contracts/DeployContract/DetailsStep/detailsStep.js diff --git a/js/src/views/Contracts/DeployContract/DetailsStep/index.js b/js/packages/dapp-contracts/DeployContract/DetailsStep/index.js similarity index 100% rename from js/src/views/Contracts/DeployContract/DetailsStep/index.js rename to js/packages/dapp-contracts/DeployContract/DetailsStep/index.js diff --git a/js/src/views/Contracts/DeployContract/ParametersStep/index.js b/js/packages/dapp-contracts/DeployContract/ParametersStep/index.js similarity index 100% rename from js/src/views/Contracts/DeployContract/ParametersStep/index.js rename to js/packages/dapp-contracts/DeployContract/ParametersStep/index.js diff --git a/js/src/views/Contracts/DeployContract/ParametersStep/parametersStep.js b/js/packages/dapp-contracts/DeployContract/ParametersStep/parametersStep.js similarity index 100% rename from js/src/views/Contracts/DeployContract/ParametersStep/parametersStep.js rename to js/packages/dapp-contracts/DeployContract/ParametersStep/parametersStep.js diff --git a/js/src/views/Contracts/DeployContract/deployContract.css b/js/packages/dapp-contracts/DeployContract/deployContract.css similarity index 100% rename from js/src/views/Contracts/DeployContract/deployContract.css rename to js/packages/dapp-contracts/DeployContract/deployContract.css diff --git a/js/src/views/Contracts/DeployContract/deployContract.js b/js/packages/dapp-contracts/DeployContract/deployContract.js similarity index 99% rename from js/src/views/Contracts/DeployContract/deployContract.js rename to js/packages/dapp-contracts/DeployContract/deployContract.js index d7274dcdad..21762b6a93 100644 --- a/js/src/views/Contracts/DeployContract/deployContract.js +++ b/js/packages/dapp-contracts/DeployContract/deployContract.js @@ -30,7 +30,7 @@ import { CancelIcon } from '@parity/ui/Icons'; import DetailsStep from './DetailsStep'; import ParametersStep from './ParametersStep'; -import Extras from '../../Account/Transfer/Extras'; +import Extras from '@parity/dapp-account/Transfer/Extras'; const STEPS = { CONTRACT_DETAILS: { diff --git a/js/src/views/Contracts/DeployContract/deployContract.spec.js b/js/packages/dapp-contracts/DeployContract/deployContract.spec.js similarity index 100% rename from js/src/views/Contracts/DeployContract/deployContract.spec.js rename to js/packages/dapp-contracts/DeployContract/deployContract.spec.js diff --git a/js/src/views/Contracts/DeployContract/index.js b/js/packages/dapp-contracts/DeployContract/index.js similarity index 100% rename from js/src/views/Contracts/DeployContract/index.js rename to js/packages/dapp-contracts/DeployContract/index.js diff --git a/js/src/views/ContractDevelop/api.js b/js/packages/dapp-contracts/api.js similarity index 100% rename from js/src/views/ContractDevelop/api.js rename to js/packages/dapp-contracts/api.js diff --git a/js/src/views/Contracts/contracts.js b/js/packages/dapp-contracts/contracts.js similarity index 99% rename from js/src/views/Contracts/contracts.js rename to js/packages/dapp-contracts/contracts.js index 222bd87f65..0a990d8d9b 100644 --- a/js/src/views/Contracts/contracts.js +++ b/js/packages/dapp-contracts/contracts.js @@ -25,7 +25,7 @@ import { setVisibleAccounts } from '@parity/shared/redux/providers/personalActio import { Actionbar, ActionbarSearch, ActionbarSort, Button, Page } from '@parity/ui'; import { AddIcon } from '@parity/ui/Icons'; -import List from '../Accounts/List'; +import List from '@parity/dapp-accounts/List'; import AddContract from './AddContract'; import DeployContract from './DeployContract'; diff --git a/js/src/views/Contracts/index.js b/js/packages/dapp-contracts/index.js similarity index 100% rename from js/src/views/Contracts/index.js rename to js/packages/dapp-contracts/index.js diff --git a/js/src/views/Contracts/package.json b/js/packages/dapp-contracts/package.json similarity index 100% rename from js/src/views/Contracts/package.json rename to js/packages/dapp-contracts/package.json diff --git a/js/src/views/Contracts/api.js b/js/packages/dapp-dappAccounts/api.js similarity index 100% rename from js/src/views/Contracts/api.js rename to js/packages/dapp-dappAccounts/api.js diff --git a/js/src/views/DappAccounts/dappAccounts.js b/js/packages/dapp-dappAccounts/dappAccounts.js similarity index 100% rename from js/src/views/DappAccounts/dappAccounts.js rename to js/packages/dapp-dappAccounts/dappAccounts.js diff --git a/js/src/views/DappAccounts/index.js b/js/packages/dapp-dappAccounts/index.js similarity index 100% rename from js/src/views/DappAccounts/index.js rename to js/packages/dapp-dappAccounts/index.js diff --git a/js/src/views/DappAccounts/package.json b/js/packages/dapp-dappAccounts/package.json similarity index 100% rename from js/src/views/DappAccounts/package.json rename to js/packages/dapp-dappAccounts/package.json diff --git a/js/src/views/DappAccounts/store.js b/js/packages/dapp-dappAccounts/store.js similarity index 100% rename from js/src/views/DappAccounts/store.js rename to js/packages/dapp-dappAccounts/store.js diff --git a/js/src/views/DappMethods/MethodCheck/index.js b/js/packages/dapp-dappMethods/MethodCheck/index.js similarity index 100% rename from js/src/views/DappMethods/MethodCheck/index.js rename to js/packages/dapp-dappMethods/MethodCheck/index.js diff --git a/js/src/views/DappMethods/MethodCheck/methodCheck.js b/js/packages/dapp-dappMethods/MethodCheck/methodCheck.js similarity index 100% rename from js/src/views/DappMethods/MethodCheck/methodCheck.js rename to js/packages/dapp-dappMethods/MethodCheck/methodCheck.js diff --git a/js/src/views/DappAccounts/api.js b/js/packages/dapp-dappMethods/api.js similarity index 100% rename from js/src/views/DappAccounts/api.js rename to js/packages/dapp-dappMethods/api.js diff --git a/js/src/views/DappMethods/dappMethods.css b/js/packages/dapp-dappMethods/dappMethods.css similarity index 100% rename from js/src/views/DappMethods/dappMethods.css rename to js/packages/dapp-dappMethods/dappMethods.css diff --git a/js/src/views/DappMethods/dappMethods.js b/js/packages/dapp-dappMethods/dappMethods.js similarity index 100% rename from js/src/views/DappMethods/dappMethods.js rename to js/packages/dapp-dappMethods/dappMethods.js diff --git a/js/src/views/DappMethods/index.js b/js/packages/dapp-dappMethods/index.js similarity index 100% rename from js/src/views/DappMethods/index.js rename to js/packages/dapp-dappMethods/index.js diff --git a/js/src/views/DappMethods/package.json b/js/packages/dapp-dappMethods/package.json similarity index 100% rename from js/src/views/DappMethods/package.json rename to js/packages/dapp-dappMethods/package.json diff --git a/js/src/views/DappMethods/store.js b/js/packages/dapp-dappMethods/store.js similarity index 100% rename from js/src/views/DappMethods/store.js rename to js/packages/dapp-dappMethods/store.js diff --git a/js/src/views/DappMethods/api.js b/js/packages/dapp-dappVisible/api.js similarity index 100% rename from js/src/views/DappMethods/api.js rename to js/packages/dapp-dappVisible/api.js diff --git a/js/src/views/DappVisible/dappVisible.css b/js/packages/dapp-dappVisible/dappVisible.css similarity index 100% rename from js/src/views/DappVisible/dappVisible.css rename to js/packages/dapp-dappVisible/dappVisible.css diff --git a/js/src/views/DappVisible/dappVisible.js b/js/packages/dapp-dappVisible/dappVisible.js similarity index 100% rename from js/src/views/DappVisible/dappVisible.js rename to js/packages/dapp-dappVisible/dappVisible.js diff --git a/js/src/views/DappVisible/index.js b/js/packages/dapp-dappVisible/index.js similarity index 100% rename from js/src/views/DappVisible/index.js rename to js/packages/dapp-dappVisible/index.js diff --git a/js/src/views/DappVisible/package.json b/js/packages/dapp-dappVisible/package.json similarity index 100% rename from js/src/views/DappVisible/package.json rename to js/packages/dapp-dappVisible/package.json diff --git a/js/src/views/DappVisible/store.js b/js/packages/dapp-dappVisible/store.js similarity index 100% rename from js/src/views/DappVisible/store.js rename to js/packages/dapp-dappVisible/store.js diff --git a/js/src/dapps/dappreg/Application/application.css b/js/packages/dapp-dappreg/Application/application.css similarity index 100% rename from js/src/dapps/dappreg/Application/application.css rename to js/packages/dapp-dappreg/Application/application.css diff --git a/js/src/dapps/dappreg/Application/application.js b/js/packages/dapp-dappreg/Application/application.js similarity index 100% rename from js/src/dapps/dappreg/Application/application.js rename to js/packages/dapp-dappreg/Application/application.js diff --git a/js/src/dapps/dappreg/Application/index.js b/js/packages/dapp-dappreg/Application/index.js similarity index 100% rename from js/src/dapps/dappreg/Application/index.js rename to js/packages/dapp-dappreg/Application/index.js diff --git a/js/src/dapps/dappreg/Button/button.css b/js/packages/dapp-dappreg/Button/button.css similarity index 100% rename from js/src/dapps/dappreg/Button/button.css rename to js/packages/dapp-dappreg/Button/button.css diff --git a/js/src/dapps/dappreg/Button/button.js b/js/packages/dapp-dappreg/Button/button.js similarity index 100% rename from js/src/dapps/dappreg/Button/button.js rename to js/packages/dapp-dappreg/Button/button.js diff --git a/js/src/dapps/dappreg/Button/index.js b/js/packages/dapp-dappreg/Button/index.js similarity index 100% rename from js/src/dapps/dappreg/Button/index.js rename to js/packages/dapp-dappreg/Button/index.js diff --git a/js/src/dapps/dappreg/Card/card.css b/js/packages/dapp-dappreg/Card/card.css similarity index 100% rename from js/src/dapps/dappreg/Card/card.css rename to js/packages/dapp-dappreg/Card/card.css diff --git a/js/src/dapps/dappreg/Card/card.js b/js/packages/dapp-dappreg/Card/card.js similarity index 100% rename from js/src/dapps/dappreg/Card/card.js rename to js/packages/dapp-dappreg/Card/card.js diff --git a/js/src/dapps/dappreg/Card/index.js b/js/packages/dapp-dappreg/Card/index.js similarity index 100% rename from js/src/dapps/dappreg/Card/index.js rename to js/packages/dapp-dappreg/Card/index.js diff --git a/js/src/dapps/dappreg/CreateDappCard/createDappCard.js b/js/packages/dapp-dappreg/CreateDappCard/createDappCard.js similarity index 100% rename from js/src/dapps/dappreg/CreateDappCard/createDappCard.js rename to js/packages/dapp-dappreg/CreateDappCard/createDappCard.js diff --git a/js/src/dapps/dappreg/CreateDappCard/index.js b/js/packages/dapp-dappreg/CreateDappCard/index.js similarity index 100% rename from js/src/dapps/dappreg/CreateDappCard/index.js rename to js/packages/dapp-dappreg/CreateDappCard/index.js diff --git a/js/src/dapps/dappreg/DappCard/dappCard.css b/js/packages/dapp-dappreg/DappCard/dappCard.css similarity index 100% rename from js/src/dapps/dappreg/DappCard/dappCard.css rename to js/packages/dapp-dappreg/DappCard/dappCard.css diff --git a/js/src/dapps/dappreg/DappCard/dappCard.js b/js/packages/dapp-dappreg/DappCard/dappCard.js similarity index 100% rename from js/src/dapps/dappreg/DappCard/dappCard.js rename to js/packages/dapp-dappreg/DappCard/dappCard.js diff --git a/js/src/dapps/dappreg/DappCard/index.js b/js/packages/dapp-dappreg/DappCard/index.js similarity index 100% rename from js/src/dapps/dappreg/DappCard/index.js rename to js/packages/dapp-dappreg/DappCard/index.js diff --git a/js/src/dapps/dappreg/DappModal/dappModal.css b/js/packages/dapp-dappreg/DappModal/dappModal.css similarity index 100% rename from js/src/dapps/dappreg/DappModal/dappModal.css rename to js/packages/dapp-dappreg/DappModal/dappModal.css diff --git a/js/src/dapps/dappreg/DappModal/dappModal.js b/js/packages/dapp-dappreg/DappModal/dappModal.js similarity index 100% rename from js/src/dapps/dappreg/DappModal/dappModal.js rename to js/packages/dapp-dappreg/DappModal/dappModal.js diff --git a/js/src/dapps/dappreg/DappModal/index.js b/js/packages/dapp-dappreg/DappModal/index.js similarity index 100% rename from js/src/dapps/dappreg/DappModal/index.js rename to js/packages/dapp-dappreg/DappModal/index.js diff --git a/js/src/dapps/dappreg/Dapps/dapps.css b/js/packages/dapp-dappreg/Dapps/dapps.css similarity index 100% rename from js/src/dapps/dappreg/Dapps/dapps.css rename to js/packages/dapp-dappreg/Dapps/dapps.css diff --git a/js/src/dapps/dappreg/Dapps/dapps.js b/js/packages/dapp-dappreg/Dapps/dapps.js similarity index 100% rename from js/src/dapps/dappreg/Dapps/dapps.js rename to js/packages/dapp-dappreg/Dapps/dapps.js diff --git a/js/src/dapps/dappreg/Dapps/index.js b/js/packages/dapp-dappreg/Dapps/index.js similarity index 100% rename from js/src/dapps/dappreg/Dapps/index.js rename to js/packages/dapp-dappreg/Dapps/index.js diff --git a/js/src/dapps/dappreg/Input/index.js b/js/packages/dapp-dappreg/Input/index.js similarity index 100% rename from js/src/dapps/dappreg/Input/index.js rename to js/packages/dapp-dappreg/Input/index.js diff --git a/js/src/dapps/dappreg/Input/input.css b/js/packages/dapp-dappreg/Input/input.css similarity index 100% rename from js/src/dapps/dappreg/Input/input.css rename to js/packages/dapp-dappreg/Input/input.css diff --git a/js/src/dapps/dappreg/Input/input.js b/js/packages/dapp-dappreg/Input/input.js similarity index 100% rename from js/src/dapps/dappreg/Input/input.js rename to js/packages/dapp-dappreg/Input/input.js diff --git a/js/src/dapps/dappreg/Modal/index.js b/js/packages/dapp-dappreg/Modal/index.js similarity index 100% rename from js/src/dapps/dappreg/Modal/index.js rename to js/packages/dapp-dappreg/Modal/index.js diff --git a/js/src/dapps/dappreg/Modal/modal.css b/js/packages/dapp-dappreg/Modal/modal.css similarity index 100% rename from js/src/dapps/dappreg/Modal/modal.css rename to js/packages/dapp-dappreg/Modal/modal.css diff --git a/js/src/dapps/dappreg/Modal/modal.js b/js/packages/dapp-dappreg/Modal/modal.js similarity index 100% rename from js/src/dapps/dappreg/Modal/modal.js rename to js/packages/dapp-dappreg/Modal/modal.js diff --git a/js/src/dapps/dappreg/ModalDelete/index.js b/js/packages/dapp-dappreg/ModalDelete/index.js similarity index 100% rename from js/src/dapps/dappreg/ModalDelete/index.js rename to js/packages/dapp-dappreg/ModalDelete/index.js diff --git a/js/src/dapps/dappreg/ModalDelete/modalDelete.js b/js/packages/dapp-dappreg/ModalDelete/modalDelete.js similarity index 100% rename from js/src/dapps/dappreg/ModalDelete/modalDelete.js rename to js/packages/dapp-dappreg/ModalDelete/modalDelete.js diff --git a/js/src/dapps/dappreg/ModalRegister/index.js b/js/packages/dapp-dappreg/ModalRegister/index.js similarity index 100% rename from js/src/dapps/dappreg/ModalRegister/index.js rename to js/packages/dapp-dappreg/ModalRegister/index.js diff --git a/js/src/dapps/dappreg/ModalRegister/modalRegister.js b/js/packages/dapp-dappreg/ModalRegister/modalRegister.js similarity index 100% rename from js/src/dapps/dappreg/ModalRegister/modalRegister.js rename to js/packages/dapp-dappreg/ModalRegister/modalRegister.js diff --git a/js/src/dapps/dappreg/ModalUpdate/index.js b/js/packages/dapp-dappreg/ModalUpdate/index.js similarity index 100% rename from js/src/dapps/dappreg/ModalUpdate/index.js rename to js/packages/dapp-dappreg/ModalUpdate/index.js diff --git a/js/src/dapps/dappreg/ModalUpdate/modalUpdate.js b/js/packages/dapp-dappreg/ModalUpdate/modalUpdate.js similarity index 100% rename from js/src/dapps/dappreg/ModalUpdate/modalUpdate.js rename to js/packages/dapp-dappreg/ModalUpdate/modalUpdate.js diff --git a/js/src/dapps/dappreg/SelectAccount/index.js b/js/packages/dapp-dappreg/SelectAccount/index.js similarity index 100% rename from js/src/dapps/dappreg/SelectAccount/index.js rename to js/packages/dapp-dappreg/SelectAccount/index.js diff --git a/js/src/dapps/dappreg/SelectAccount/selectAccount.js b/js/packages/dapp-dappreg/SelectAccount/selectAccount.js similarity index 100% rename from js/src/dapps/dappreg/SelectAccount/selectAccount.js rename to js/packages/dapp-dappreg/SelectAccount/selectAccount.js diff --git a/js/src/views/Account/Transactions/index.js b/js/packages/dapp-dappreg/Transactions/index.js similarity index 100% rename from js/src/views/Account/Transactions/index.js rename to js/packages/dapp-dappreg/Transactions/index.js diff --git a/js/src/dapps/dappreg/Transactions/transactions.css b/js/packages/dapp-dappreg/Transactions/transactions.css similarity index 100% rename from js/src/dapps/dappreg/Transactions/transactions.css rename to js/packages/dapp-dappreg/Transactions/transactions.css diff --git a/js/src/dapps/dappreg/Transactions/transactions.js b/js/packages/dapp-dappreg/Transactions/transactions.js similarity index 100% rename from js/src/dapps/dappreg/Transactions/transactions.js rename to js/packages/dapp-dappreg/Transactions/transactions.js diff --git a/js/src/dapps/dappreg/Warning/index.js b/js/packages/dapp-dappreg/Warning/index.js similarity index 100% rename from js/src/dapps/dappreg/Warning/index.js rename to js/packages/dapp-dappreg/Warning/index.js diff --git a/js/src/dapps/dappreg/Warning/warning.css b/js/packages/dapp-dappreg/Warning/warning.css similarity index 100% rename from js/src/dapps/dappreg/Warning/warning.css rename to js/packages/dapp-dappreg/Warning/warning.css diff --git a/js/src/dapps/dappreg/Warning/warning.js b/js/packages/dapp-dappreg/Warning/warning.js similarity index 100% rename from js/src/dapps/dappreg/Warning/warning.js rename to js/packages/dapp-dappreg/Warning/warning.js diff --git a/js/src/dapps/dappreg/_colors.css b/js/packages/dapp-dappreg/_colors.css similarity index 100% rename from js/src/dapps/dappreg/_colors.css rename to js/packages/dapp-dappreg/_colors.css diff --git a/js/src/dapps/dappreg/_utils.css b/js/packages/dapp-dappreg/_utils.css similarity index 100% rename from js/src/dapps/dappreg/_utils.css rename to js/packages/dapp-dappreg/_utils.css diff --git a/js/src/dapps/dappreg/dappStore.js b/js/packages/dapp-dappreg/dappStore.js similarity index 100% rename from js/src/dapps/dappreg/dappStore.js rename to js/packages/dapp-dappreg/dappStore.js diff --git a/js/src/dapps/dappreg/dappsStore.js b/js/packages/dapp-dappreg/dappsStore.js similarity index 100% rename from js/src/dapps/dappreg/dappsStore.js rename to js/packages/dapp-dappreg/dappsStore.js diff --git a/js/src/dapps/githubhint/index.js b/js/packages/dapp-dappreg/index.js similarity index 97% rename from js/src/dapps/githubhint/index.js rename to js/packages/dapp-dappreg/index.js index 460cad8443..48eb5938bc 100644 --- a/js/src/dapps/githubhint/index.js +++ b/js/packages/dapp-dappreg/index.js @@ -14,18 +14,18 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import ReactDOM from 'react-dom'; import React from 'react'; +import ReactDOM from 'react-dom'; +import injectTapEventPlugin from 'react-tap-event-plugin'; import { AppContainer } from 'react-hot-loader'; -import injectTapEventPlugin from 'react-tap-event-plugin'; injectTapEventPlugin(); import Application from './Application'; import '@parity/shared/assets/fonts/Roboto/font.css'; import '@parity/shared/assets/fonts/RobotoMono/font.css'; -import '../style.css'; +import '@parity/dapps/style.css'; ReactDOM.render( diff --git a/js/src/dapps/dappreg/parity.js b/js/packages/dapp-dappreg/parity.js similarity index 100% rename from js/src/dapps/dappreg/parity.js rename to js/packages/dapp-dappreg/parity.js diff --git a/js/src/dapps/dappreg/utils.js b/js/packages/dapp-dappreg/utils.js similarity index 100% rename from js/src/dapps/dappreg/utils.js rename to js/packages/dapp-dappreg/utils.js diff --git a/js/src/dapps/dappreg/utils.spec.js b/js/packages/dapp-dappreg/utils.spec.js similarity index 100% rename from js/src/dapps/dappreg/utils.spec.js rename to js/packages/dapp-dappreg/utils.spec.js diff --git a/js/src/views/ContractDevelop/LoadContract/index.js b/js/packages/dapp-develop/LoadContract/index.js similarity index 100% rename from js/src/views/ContractDevelop/LoadContract/index.js rename to js/packages/dapp-develop/LoadContract/index.js diff --git a/js/src/views/ContractDevelop/LoadContract/loadContract.css b/js/packages/dapp-develop/LoadContract/loadContract.css similarity index 100% rename from js/src/views/ContractDevelop/LoadContract/loadContract.css rename to js/packages/dapp-develop/LoadContract/loadContract.css diff --git a/js/src/views/ContractDevelop/LoadContract/loadContract.js b/js/packages/dapp-develop/LoadContract/loadContract.js similarity index 100% rename from js/src/views/ContractDevelop/LoadContract/loadContract.js rename to js/packages/dapp-develop/LoadContract/loadContract.js diff --git a/js/src/views/ContractDevelop/LoadContract/loadContract.spec.js b/js/packages/dapp-develop/LoadContract/loadContract.spec.js similarity index 100% rename from js/src/views/ContractDevelop/LoadContract/loadContract.spec.js rename to js/packages/dapp-develop/LoadContract/loadContract.spec.js diff --git a/js/src/views/ContractDevelop/SaveContract/index.js b/js/packages/dapp-develop/SaveContract/index.js similarity index 100% rename from js/src/views/ContractDevelop/SaveContract/index.js rename to js/packages/dapp-develop/SaveContract/index.js diff --git a/js/src/views/ContractDevelop/SaveContract/saveContract.css b/js/packages/dapp-develop/SaveContract/saveContract.css similarity index 100% rename from js/src/views/ContractDevelop/SaveContract/saveContract.css rename to js/packages/dapp-develop/SaveContract/saveContract.css diff --git a/js/src/views/ContractDevelop/SaveContract/saveContract.js b/js/packages/dapp-develop/SaveContract/saveContract.js similarity index 100% rename from js/src/views/ContractDevelop/SaveContract/saveContract.js rename to js/packages/dapp-develop/SaveContract/saveContract.js diff --git a/js/src/views/DappVisible/api.js b/js/packages/dapp-develop/api.js similarity index 100% rename from js/src/views/DappVisible/api.js rename to js/packages/dapp-develop/api.js diff --git a/js/src/views/ContractDevelop/contractDevelop.css b/js/packages/dapp-develop/contractDevelop.css similarity index 100% rename from js/src/views/ContractDevelop/contractDevelop.css rename to js/packages/dapp-develop/contractDevelop.css diff --git a/js/src/views/ContractDevelop/contractDevelop.js b/js/packages/dapp-develop/contractDevelop.js similarity index 99% rename from js/src/views/ContractDevelop/contractDevelop.js rename to js/packages/dapp-develop/contractDevelop.js index 8c789b25a7..18eb2580e3 100644 --- a/js/src/views/ContractDevelop/contractDevelop.js +++ b/js/packages/dapp-develop/contractDevelop.js @@ -14,7 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import React, { PropTypes, Component } from 'react'; +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { observer } from 'mobx-react'; import { connect } from 'react-redux'; @@ -25,7 +26,7 @@ import { Actionbar, ActionbarExport, ActionbarImport, Button, Dropdown, Input, L import { CancelIcon, ListIcon, SaveIcon, SendIcon, SettingsIcon } from '@parity/ui/Icons'; import Editor from '@parity/ui/Editor'; -import DeployContract from '../Contracts/DeployContract'; +import DeployContract from '@parity/dapp-contracts/DeployContract'; import LoadContract from './LoadContract'; import SaveContract from './SaveContract'; diff --git a/js/src/views/ContractDevelop/index.js b/js/packages/dapp-develop/index.js similarity index 100% rename from js/src/views/ContractDevelop/index.js rename to js/packages/dapp-develop/index.js diff --git a/js/src/views/ContractDevelop/package.json b/js/packages/dapp-develop/package.json similarity index 100% rename from js/src/views/ContractDevelop/package.json rename to js/packages/dapp-develop/package.json diff --git a/js/src/views/ContractDevelop/store.js b/js/packages/dapp-develop/store.js similarity index 100% rename from js/src/views/ContractDevelop/store.js rename to js/packages/dapp-develop/store.js diff --git a/js/src/dapps/githubhint/Application/application.css b/js/packages/dapp-githubhint/Application/application.css similarity index 100% rename from js/src/dapps/githubhint/Application/application.css rename to js/packages/dapp-githubhint/Application/application.css diff --git a/js/src/dapps/githubhint/Application/application.js b/js/packages/dapp-githubhint/Application/application.js similarity index 100% rename from js/src/dapps/githubhint/Application/application.js rename to js/packages/dapp-githubhint/Application/application.js diff --git a/js/src/dapps/githubhint/Application/index.js b/js/packages/dapp-githubhint/Application/index.js similarity index 100% rename from js/src/dapps/githubhint/Application/index.js rename to js/packages/dapp-githubhint/Application/index.js diff --git a/js/src/dapps/githubhint/Button/button.css b/js/packages/dapp-githubhint/Button/button.css similarity index 100% rename from js/src/dapps/githubhint/Button/button.css rename to js/packages/dapp-githubhint/Button/button.css diff --git a/js/src/dapps/githubhint/Button/button.js b/js/packages/dapp-githubhint/Button/button.js similarity index 100% rename from js/src/dapps/githubhint/Button/button.js rename to js/packages/dapp-githubhint/Button/button.js diff --git a/js/src/dapps/githubhint/Button/index.js b/js/packages/dapp-githubhint/Button/index.js similarity index 100% rename from js/src/dapps/githubhint/Button/index.js rename to js/packages/dapp-githubhint/Button/index.js diff --git a/js/src/dapps/githubhint/Events/events.css b/js/packages/dapp-githubhint/Events/events.css similarity index 100% rename from js/src/dapps/githubhint/Events/events.css rename to js/packages/dapp-githubhint/Events/events.css diff --git a/js/src/dapps/githubhint/Events/events.js b/js/packages/dapp-githubhint/Events/events.js similarity index 100% rename from js/src/dapps/githubhint/Events/events.js rename to js/packages/dapp-githubhint/Events/events.js diff --git a/js/src/dapps/signaturereg/Events/index.js b/js/packages/dapp-githubhint/Events/index.js similarity index 100% rename from js/src/dapps/signaturereg/Events/index.js rename to js/packages/dapp-githubhint/Events/index.js diff --git a/js/src/dapps/githubhint/Loading/index.js b/js/packages/dapp-githubhint/Loading/index.js similarity index 100% rename from js/src/dapps/githubhint/Loading/index.js rename to js/packages/dapp-githubhint/Loading/index.js diff --git a/js/src/dapps/githubhint/Loading/loading.css b/js/packages/dapp-githubhint/Loading/loading.css similarity index 100% rename from js/src/dapps/githubhint/Loading/loading.css rename to js/packages/dapp-githubhint/Loading/loading.css diff --git a/js/src/dapps/githubhint/Loading/loading.js b/js/packages/dapp-githubhint/Loading/loading.js similarity index 100% rename from js/src/dapps/githubhint/Loading/loading.js rename to js/packages/dapp-githubhint/Loading/loading.js diff --git a/js/src/dapps/localtx/index.js b/js/packages/dapp-githubhint/index.js similarity index 97% rename from js/src/dapps/localtx/index.js rename to js/packages/dapp-githubhint/index.js index 460cad8443..de98cb6361 100644 --- a/js/src/dapps/localtx/index.js +++ b/js/packages/dapp-githubhint/index.js @@ -25,7 +25,7 @@ import Application from './Application'; import '@parity/shared/assets/fonts/Roboto/font.css'; import '@parity/shared/assets/fonts/RobotoMono/font.css'; -import '../style.css'; +import '@parity/dapps/style.css'; ReactDOM.render( diff --git a/js/src/dapps/githubhint/parity.js b/js/packages/dapp-githubhint/parity.js similarity index 100% rename from js/src/dapps/githubhint/parity.js rename to js/packages/dapp-githubhint/parity.js diff --git a/js/src/dapps/githubhint/services.js b/js/packages/dapp-githubhint/services.js similarity index 100% rename from js/src/dapps/githubhint/services.js rename to js/packages/dapp-githubhint/services.js diff --git a/js/src/views/Home/Accounts/accounts.css b/js/packages/dapp-home/Accounts/accounts.css similarity index 100% rename from js/src/views/Home/Accounts/accounts.css rename to js/packages/dapp-home/Accounts/accounts.css diff --git a/js/src/views/Home/Accounts/accounts.js b/js/packages/dapp-home/Accounts/accounts.js similarity index 100% rename from js/src/views/Home/Accounts/accounts.js rename to js/packages/dapp-home/Accounts/accounts.js diff --git a/js/src/views/Home/Accounts/accounts.spec.js b/js/packages/dapp-home/Accounts/accounts.spec.js similarity index 100% rename from js/src/views/Home/Accounts/accounts.spec.js rename to js/packages/dapp-home/Accounts/accounts.spec.js diff --git a/js/src/dapps/registry/Accounts/index.js b/js/packages/dapp-home/Accounts/index.js similarity index 100% rename from js/src/dapps/registry/Accounts/index.js rename to js/packages/dapp-home/Accounts/index.js diff --git a/js/src/views/Home/Dapps/dapp.js b/js/packages/dapp-home/Dapps/dapp.js similarity index 100% rename from js/src/views/Home/Dapps/dapp.js rename to js/packages/dapp-home/Dapps/dapp.js diff --git a/js/src/views/Home/Dapps/dapp.spec.js b/js/packages/dapp-home/Dapps/dapp.spec.js similarity index 100% rename from js/src/views/Home/Dapps/dapp.spec.js rename to js/packages/dapp-home/Dapps/dapp.spec.js diff --git a/js/src/views/Home/Dapps/dapps.css b/js/packages/dapp-home/Dapps/dapps.css similarity index 100% rename from js/src/views/Home/Dapps/dapps.css rename to js/packages/dapp-home/Dapps/dapps.css diff --git a/js/src/views/Home/Dapps/dapps.js b/js/packages/dapp-home/Dapps/dapps.js similarity index 100% rename from js/src/views/Home/Dapps/dapps.js rename to js/packages/dapp-home/Dapps/dapps.js diff --git a/js/src/views/Home/Dapps/dapps.spec.js b/js/packages/dapp-home/Dapps/dapps.spec.js similarity index 100% rename from js/src/views/Home/Dapps/dapps.spec.js rename to js/packages/dapp-home/Dapps/dapps.spec.js diff --git a/js/src/views/Home/Dapps/dapps.test.js b/js/packages/dapp-home/Dapps/dapps.test.js similarity index 100% rename from js/src/views/Home/Dapps/dapps.test.js rename to js/packages/dapp-home/Dapps/dapps.test.js diff --git a/js/src/shell/Dapps/index.js b/js/packages/dapp-home/Dapps/index.js similarity index 100% rename from js/src/shell/Dapps/index.js rename to js/packages/dapp-home/Dapps/index.js diff --git a/js/src/views/Home/News/index.js b/js/packages/dapp-home/News/index.js similarity index 100% rename from js/src/views/Home/News/index.js rename to js/packages/dapp-home/News/index.js diff --git a/js/src/views/Home/News/news.css b/js/packages/dapp-home/News/news.css similarity index 100% rename from js/src/views/Home/News/news.css rename to js/packages/dapp-home/News/news.css diff --git a/js/src/views/Home/News/news.js b/js/packages/dapp-home/News/news.js similarity index 100% rename from js/src/views/Home/News/news.js rename to js/packages/dapp-home/News/news.js diff --git a/js/src/views/Home/News/news.spec.js b/js/packages/dapp-home/News/news.spec.js similarity index 100% rename from js/src/views/Home/News/news.spec.js rename to js/packages/dapp-home/News/news.spec.js diff --git a/js/src/views/Home/News/news.test.js b/js/packages/dapp-home/News/news.test.js similarity index 100% rename from js/src/views/Home/News/news.test.js rename to js/packages/dapp-home/News/news.test.js diff --git a/js/src/views/Home/News/renderers.js b/js/packages/dapp-home/News/renderers.js similarity index 100% rename from js/src/views/Home/News/renderers.js rename to js/packages/dapp-home/News/renderers.js diff --git a/js/src/views/Home/News/store.js b/js/packages/dapp-home/News/store.js similarity index 100% rename from js/src/views/Home/News/store.js rename to js/packages/dapp-home/News/store.js diff --git a/js/src/views/Home/News/store.spec.js b/js/packages/dapp-home/News/store.spec.js similarity index 100% rename from js/src/views/Home/News/store.spec.js rename to js/packages/dapp-home/News/store.spec.js diff --git a/js/src/views/Home/Urls/index.js b/js/packages/dapp-home/Urls/index.js similarity index 100% rename from js/src/views/Home/Urls/index.js rename to js/packages/dapp-home/Urls/index.js diff --git a/js/src/views/Home/Urls/urls.css b/js/packages/dapp-home/Urls/urls.css similarity index 100% rename from js/src/views/Home/Urls/urls.css rename to js/packages/dapp-home/Urls/urls.css diff --git a/js/src/views/Home/Urls/urls.js b/js/packages/dapp-home/Urls/urls.js similarity index 100% rename from js/src/views/Home/Urls/urls.js rename to js/packages/dapp-home/Urls/urls.js diff --git a/js/src/views/Home/Urls/urls.spec.js b/js/packages/dapp-home/Urls/urls.spec.js similarity index 100% rename from js/src/views/Home/Urls/urls.spec.js rename to js/packages/dapp-home/Urls/urls.spec.js diff --git a/js/src/views/Home/api.js b/js/packages/dapp-home/api.js similarity index 100% rename from js/src/views/Home/api.js rename to js/packages/dapp-home/api.js diff --git a/js/src/views/Home/home.css b/js/packages/dapp-home/home.css similarity index 100% rename from js/src/views/Home/home.css rename to js/packages/dapp-home/home.css diff --git a/js/src/views/Home/home.js b/js/packages/dapp-home/home.js similarity index 93% rename from js/src/views/Home/home.js rename to js/packages/dapp-home/home.js index 2d9f650310..5617f3e2d5 100644 --- a/js/src/views/Home/home.js +++ b/js/packages/dapp-home/home.js @@ -23,11 +23,11 @@ import { FormattedMessage } from 'react-intl'; import HistoryStore from '@parity/shared/mobx/historyStore'; import { Page } from '@parity/ui'; -import WebStore from '~/views/Web/store'; +import WebStore from '@parity/dapp-web/store'; -// FIXME: Don't really want to import from ~/shell -import DappsStore from '~/shell/Dapps/dappsStore'; -import ExtensionStore from '~/shell/Extension/store'; +// FIXME: Don't really want to import from ~/src +import DappsStore from '~/src/Dapps/dappsStore'; +import ExtensionStore from '~/src/Extension/store'; import Accounts from './Accounts'; import Dapps from './Dapps'; diff --git a/js/src/views/Home/home.spec.js b/js/packages/dapp-home/home.spec.js similarity index 100% rename from js/src/views/Home/home.spec.js rename to js/packages/dapp-home/home.spec.js diff --git a/js/src/views/Home/index.js b/js/packages/dapp-home/index.js similarity index 100% rename from js/src/views/Home/index.js rename to js/packages/dapp-home/index.js diff --git a/js/src/views/Home/package.json b/js/packages/dapp-home/package.json similarity index 100% rename from js/src/views/Home/package.json rename to js/packages/dapp-home/package.json diff --git a/js/src/dapps/localtx/Application/application.css b/js/packages/dapp-localtx/Application/application.css similarity index 100% rename from js/src/dapps/localtx/Application/application.css rename to js/packages/dapp-localtx/Application/application.css diff --git a/js/src/dapps/localtx/Application/application.js b/js/packages/dapp-localtx/Application/application.js similarity index 100% rename from js/src/dapps/localtx/Application/application.js rename to js/packages/dapp-localtx/Application/application.js diff --git a/js/src/dapps/localtx/Application/application.spec.js b/js/packages/dapp-localtx/Application/application.spec.js similarity index 100% rename from js/src/dapps/localtx/Application/application.spec.js rename to js/packages/dapp-localtx/Application/application.spec.js diff --git a/js/src/dapps/localtx/Application/index.js b/js/packages/dapp-localtx/Application/index.js similarity index 100% rename from js/src/dapps/localtx/Application/index.js rename to js/packages/dapp-localtx/Application/index.js diff --git a/js/src/dapps/localtx/IdentityIcon/identityIcon.css b/js/packages/dapp-localtx/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/dapps/localtx/IdentityIcon/identityIcon.css rename to js/packages/dapp-localtx/IdentityIcon/identityIcon.css diff --git a/js/src/dapps/localtx/IdentityIcon/identityIcon.js b/js/packages/dapp-localtx/IdentityIcon/identityIcon.js similarity index 100% rename from js/src/dapps/localtx/IdentityIcon/identityIcon.js rename to js/packages/dapp-localtx/IdentityIcon/identityIcon.js diff --git a/js/src/dapps/localtx/IdentityIcon/index.js b/js/packages/dapp-localtx/IdentityIcon/index.js similarity index 100% rename from js/src/dapps/localtx/IdentityIcon/index.js rename to js/packages/dapp-localtx/IdentityIcon/index.js diff --git a/js/src/dapps/localtx/Transaction/index.js b/js/packages/dapp-localtx/Transaction/index.js similarity index 100% rename from js/src/dapps/localtx/Transaction/index.js rename to js/packages/dapp-localtx/Transaction/index.js diff --git a/js/src/dapps/localtx/Transaction/transaction.css b/js/packages/dapp-localtx/Transaction/transaction.css similarity index 100% rename from js/src/dapps/localtx/Transaction/transaction.css rename to js/packages/dapp-localtx/Transaction/transaction.css diff --git a/js/src/dapps/localtx/Transaction/transaction.js b/js/packages/dapp-localtx/Transaction/transaction.js similarity index 100% rename from js/src/dapps/localtx/Transaction/transaction.js rename to js/packages/dapp-localtx/Transaction/transaction.js diff --git a/js/src/dapps/localtx/Transaction/transaction.spec.js b/js/packages/dapp-localtx/Transaction/transaction.spec.js similarity index 100% rename from js/src/dapps/localtx/Transaction/transaction.spec.js rename to js/packages/dapp-localtx/Transaction/transaction.spec.js diff --git a/js/src/dapps/signaturereg/index.js b/js/packages/dapp-localtx/index.js similarity index 97% rename from js/src/dapps/signaturereg/index.js rename to js/packages/dapp-localtx/index.js index 460cad8443..de98cb6361 100644 --- a/js/src/dapps/signaturereg/index.js +++ b/js/packages/dapp-localtx/index.js @@ -25,7 +25,7 @@ import Application from './Application'; import '@parity/shared/assets/fonts/Roboto/font.css'; import '@parity/shared/assets/fonts/RobotoMono/font.css'; -import '../style.css'; +import '@parity/dapps/style.css'; ReactDOM.render( diff --git a/js/src/dapps/localtx/parity.js b/js/packages/dapp-localtx/parity.js similarity index 100% rename from js/src/dapps/localtx/parity.js rename to js/packages/dapp-localtx/parity.js diff --git a/js/src/views/Playground/api.js b/js/packages/dapp-playground/api.js similarity index 100% rename from js/src/views/Playground/api.js rename to js/packages/dapp-playground/api.js diff --git a/js/src/views/Playground/index.js b/js/packages/dapp-playground/index.js similarity index 100% rename from js/src/views/Playground/index.js rename to js/packages/dapp-playground/index.js diff --git a/js/src/views/Playground/package.json b/js/packages/dapp-playground/package.json similarity index 100% rename from js/src/views/Playground/package.json rename to js/packages/dapp-playground/package.json diff --git a/js/src/views/Playground/playground.css b/js/packages/dapp-playground/playground.css similarity index 100% rename from js/src/views/Playground/playground.css rename to js/packages/dapp-playground/playground.css diff --git a/js/src/views/Playground/playground.js b/js/packages/dapp-playground/playground.js similarity index 100% rename from js/src/views/Playground/playground.js rename to js/packages/dapp-playground/playground.js diff --git a/js/src/views/Playground/playground.spec.js b/js/packages/dapp-playground/playground.spec.js similarity index 100% rename from js/src/views/Playground/playground.spec.js rename to js/packages/dapp-playground/playground.spec.js diff --git a/js/src/views/Playground/playgroundExample.js b/js/packages/dapp-playground/playgroundExample.js similarity index 100% rename from js/src/views/Playground/playgroundExample.js rename to js/packages/dapp-playground/playgroundExample.js diff --git a/js/src/views/Playground/store.js b/js/packages/dapp-playground/store.js similarity index 100% rename from js/src/views/Playground/store.js rename to js/packages/dapp-playground/store.js diff --git a/js/src/views/Playground/store.spec.js b/js/packages/dapp-playground/store.spec.js similarity index 100% rename from js/src/views/Playground/store.spec.js rename to js/packages/dapp-playground/store.spec.js diff --git a/js/src/dapps/registry/Accounts/accounts.css b/js/packages/dapp-registry/Accounts/accounts.css similarity index 100% rename from js/src/dapps/registry/Accounts/accounts.css rename to js/packages/dapp-registry/Accounts/accounts.css diff --git a/js/src/dapps/registry/Accounts/accounts.js b/js/packages/dapp-registry/Accounts/accounts.js similarity index 100% rename from js/src/dapps/registry/Accounts/accounts.js rename to js/packages/dapp-registry/Accounts/accounts.js diff --git a/js/src/dapps/registry/Accounts/actions.js b/js/packages/dapp-registry/Accounts/actions.js similarity index 100% rename from js/src/dapps/registry/Accounts/actions.js rename to js/packages/dapp-registry/Accounts/actions.js diff --git a/js/src/ui/VaultCard/Accounts/index.js b/js/packages/dapp-registry/Accounts/index.js similarity index 100% rename from js/src/ui/VaultCard/Accounts/index.js rename to js/packages/dapp-registry/Accounts/index.js diff --git a/js/src/dapps/registry/Application/application.css b/js/packages/dapp-registry/Application/application.css similarity index 100% rename from js/src/dapps/registry/Application/application.css rename to js/packages/dapp-registry/Application/application.css diff --git a/js/src/dapps/registry/Application/application.js b/js/packages/dapp-registry/Application/application.js similarity index 100% rename from js/src/dapps/registry/Application/application.js rename to js/packages/dapp-registry/Application/application.js diff --git a/js/src/dapps/registry/Application/index.js b/js/packages/dapp-registry/Application/index.js similarity index 100% rename from js/src/dapps/registry/Application/index.js rename to js/packages/dapp-registry/Application/index.js diff --git a/js/src/dapps/registry/Container.js b/js/packages/dapp-registry/Container.js similarity index 100% rename from js/src/dapps/registry/Container.js rename to js/packages/dapp-registry/Container.js diff --git a/js/src/dapps/registry/Events/actions.js b/js/packages/dapp-registry/Events/actions.js similarity index 100% rename from js/src/dapps/registry/Events/actions.js rename to js/packages/dapp-registry/Events/actions.js diff --git a/js/src/dapps/registry/Events/events.css b/js/packages/dapp-registry/Events/events.css similarity index 100% rename from js/src/dapps/registry/Events/events.css rename to js/packages/dapp-registry/Events/events.css diff --git a/js/src/dapps/registry/Events/events.js b/js/packages/dapp-registry/Events/events.js similarity index 100% rename from js/src/dapps/registry/Events/events.js rename to js/packages/dapp-registry/Events/events.js diff --git a/js/src/dapps/registry/Events/index.js b/js/packages/dapp-registry/Events/index.js similarity index 100% rename from js/src/dapps/registry/Events/index.js rename to js/packages/dapp-registry/Events/index.js diff --git a/js/src/dapps/registry/Events/reducers.js b/js/packages/dapp-registry/Events/reducers.js similarity index 100% rename from js/src/dapps/registry/Events/reducers.js rename to js/packages/dapp-registry/Events/reducers.js diff --git a/js/src/dapps/registry/IdentityIcon/identityIcon.css b/js/packages/dapp-registry/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/dapps/registry/IdentityIcon/identityIcon.css rename to js/packages/dapp-registry/IdentityIcon/identityIcon.css diff --git a/js/src/dapps/registry/IdentityIcon/identityIcon.js b/js/packages/dapp-registry/IdentityIcon/identityIcon.js similarity index 100% rename from js/src/dapps/registry/IdentityIcon/identityIcon.js rename to js/packages/dapp-registry/IdentityIcon/identityIcon.js diff --git a/js/src/dapps/registry/IdentityIcon/index.js b/js/packages/dapp-registry/IdentityIcon/index.js similarity index 100% rename from js/src/dapps/registry/IdentityIcon/index.js rename to js/packages/dapp-registry/IdentityIcon/index.js diff --git a/js/src/dapps/registry/Lookup/actions.js b/js/packages/dapp-registry/Lookup/actions.js similarity index 100% rename from js/src/dapps/registry/Lookup/actions.js rename to js/packages/dapp-registry/Lookup/actions.js diff --git a/js/src/dapps/registry/Lookup/index.js b/js/packages/dapp-registry/Lookup/index.js similarity index 100% rename from js/src/dapps/registry/Lookup/index.js rename to js/packages/dapp-registry/Lookup/index.js diff --git a/js/src/dapps/registry/Lookup/lookup.css b/js/packages/dapp-registry/Lookup/lookup.css similarity index 100% rename from js/src/dapps/registry/Lookup/lookup.css rename to js/packages/dapp-registry/Lookup/lookup.css diff --git a/js/src/dapps/registry/Lookup/lookup.js b/js/packages/dapp-registry/Lookup/lookup.js similarity index 100% rename from js/src/dapps/registry/Lookup/lookup.js rename to js/packages/dapp-registry/Lookup/lookup.js diff --git a/js/src/dapps/registry/Lookup/reducers.js b/js/packages/dapp-registry/Lookup/reducers.js similarity index 100% rename from js/src/dapps/registry/Lookup/reducers.js rename to js/packages/dapp-registry/Lookup/reducers.js diff --git a/js/src/dapps/registry/Names/actions.js b/js/packages/dapp-registry/Names/actions.js similarity index 100% rename from js/src/dapps/registry/Names/actions.js rename to js/packages/dapp-registry/Names/actions.js diff --git a/js/src/dapps/registry/Names/index.js b/js/packages/dapp-registry/Names/index.js similarity index 100% rename from js/src/dapps/registry/Names/index.js rename to js/packages/dapp-registry/Names/index.js diff --git a/js/src/dapps/registry/Names/names.css b/js/packages/dapp-registry/Names/names.css similarity index 100% rename from js/src/dapps/registry/Names/names.css rename to js/packages/dapp-registry/Names/names.css diff --git a/js/src/dapps/registry/Names/names.js b/js/packages/dapp-registry/Names/names.js similarity index 100% rename from js/src/dapps/registry/Names/names.js rename to js/packages/dapp-registry/Names/names.js diff --git a/js/src/dapps/registry/Names/reducers.js b/js/packages/dapp-registry/Names/reducers.js similarity index 100% rename from js/src/dapps/registry/Names/reducers.js rename to js/packages/dapp-registry/Names/reducers.js diff --git a/js/src/dapps/registry/Records/actions.js b/js/packages/dapp-registry/Records/actions.js similarity index 100% rename from js/src/dapps/registry/Records/actions.js rename to js/packages/dapp-registry/Records/actions.js diff --git a/js/src/dapps/registry/Records/index.js b/js/packages/dapp-registry/Records/index.js similarity index 100% rename from js/src/dapps/registry/Records/index.js rename to js/packages/dapp-registry/Records/index.js diff --git a/js/src/dapps/registry/Records/records.css b/js/packages/dapp-registry/Records/records.css similarity index 100% rename from js/src/dapps/registry/Records/records.css rename to js/packages/dapp-registry/Records/records.css diff --git a/js/src/dapps/registry/Records/records.js b/js/packages/dapp-registry/Records/records.js similarity index 100% rename from js/src/dapps/registry/Records/records.js rename to js/packages/dapp-registry/Records/records.js diff --git a/js/src/dapps/registry/Records/reducers.js b/js/packages/dapp-registry/Records/reducers.js similarity index 100% rename from js/src/dapps/registry/Records/reducers.js rename to js/packages/dapp-registry/Records/reducers.js diff --git a/js/src/dapps/registry/Reverse/actions.js b/js/packages/dapp-registry/Reverse/actions.js similarity index 100% rename from js/src/dapps/registry/Reverse/actions.js rename to js/packages/dapp-registry/Reverse/actions.js diff --git a/js/src/dapps/registry/Reverse/index.js b/js/packages/dapp-registry/Reverse/index.js similarity index 100% rename from js/src/dapps/registry/Reverse/index.js rename to js/packages/dapp-registry/Reverse/index.js diff --git a/js/src/dapps/registry/Reverse/reducers.js b/js/packages/dapp-registry/Reverse/reducers.js similarity index 100% rename from js/src/dapps/registry/Reverse/reducers.js rename to js/packages/dapp-registry/Reverse/reducers.js diff --git a/js/src/dapps/registry/Reverse/reverse.css b/js/packages/dapp-registry/Reverse/reverse.css similarity index 100% rename from js/src/dapps/registry/Reverse/reverse.css rename to js/packages/dapp-registry/Reverse/reverse.css diff --git a/js/src/dapps/registry/Reverse/reverse.js b/js/packages/dapp-registry/Reverse/reverse.js similarity index 98% rename from js/src/dapps/registry/Reverse/reverse.js rename to js/packages/dapp-registry/Reverse/reverse.js index a1c03124cd..d772eb6938 100644 --- a/js/src/dapps/registry/Reverse/reverse.js +++ b/js/packages/dapp-registry/Reverse/reverse.js @@ -23,8 +23,8 @@ import { import PropTypes from 'prop-types'; import { nullableProptype } from '@parity/shared/util/proptypes'; +import { AddIcon, CheckIcon } from '@parity/ui/Icons'; -import { AddIcon, CheckIcon } from '~/ui/Icons'; import { clearError, confirm, propose } from './actions'; import styles from './reverse.css'; diff --git a/js/src/dapps/registry/actions.js b/js/packages/dapp-registry/actions.js similarity index 100% rename from js/src/dapps/registry/actions.js rename to js/packages/dapp-registry/actions.js diff --git a/js/src/dapps/registry/addresses/accounts-reducer.js b/js/packages/dapp-registry/addresses/accounts-reducer.js similarity index 100% rename from js/src/dapps/registry/addresses/accounts-reducer.js rename to js/packages/dapp-registry/addresses/accounts-reducer.js diff --git a/js/src/dapps/registry/addresses/actions.js b/js/packages/dapp-registry/addresses/actions.js similarity index 100% rename from js/src/dapps/registry/addresses/actions.js rename to js/packages/dapp-registry/addresses/actions.js diff --git a/js/src/dapps/registry/addresses/contacts-reducer.js b/js/packages/dapp-registry/addresses/contacts-reducer.js similarity index 100% rename from js/src/dapps/registry/addresses/contacts-reducer.js rename to js/packages/dapp-registry/addresses/contacts-reducer.js diff --git a/js/src/dapps/registry/index.js b/js/packages/dapp-registry/index.js similarity index 97% rename from js/src/dapps/registry/index.js rename to js/packages/dapp-registry/index.js index a144b6a63e..54e631ff21 100644 --- a/js/src/dapps/registry/index.js +++ b/js/packages/dapp-registry/index.js @@ -26,7 +26,7 @@ import Container from './Container'; import '@parity/shared/assets/fonts/Roboto/font.css'; import '@parity/shared/assets/fonts/RobotoMono/font.css'; -import '../style.css'; +import '@parity/dapps/style.css'; ReactDOM.render( diff --git a/js/src/dapps/registry/parity.js b/js/packages/dapp-registry/parity.js similarity index 100% rename from js/src/dapps/registry/parity.js rename to js/packages/dapp-registry/parity.js diff --git a/js/src/dapps/registry/reducers.js b/js/packages/dapp-registry/reducers.js similarity index 100% rename from js/src/dapps/registry/reducers.js rename to js/packages/dapp-registry/reducers.js diff --git a/js/src/dapps/registry/store.js b/js/packages/dapp-registry/store.js similarity index 100% rename from js/src/dapps/registry/store.js rename to js/packages/dapp-registry/store.js diff --git a/js/src/dapps/registry/ui/address.css b/js/packages/dapp-registry/ui/address.css similarity index 100% rename from js/src/dapps/registry/ui/address.css rename to js/packages/dapp-registry/ui/address.css diff --git a/js/src/dapps/registry/ui/address.js b/js/packages/dapp-registry/ui/address.js similarity index 100% rename from js/src/dapps/registry/ui/address.js rename to js/packages/dapp-registry/ui/address.js diff --git a/js/src/dapps/registry/ui/hash.css b/js/packages/dapp-registry/ui/hash.css similarity index 100% rename from js/src/dapps/registry/ui/hash.css rename to js/packages/dapp-registry/ui/hash.css diff --git a/js/src/dapps/registry/ui/hash.js b/js/packages/dapp-registry/ui/hash.js similarity index 100% rename from js/src/dapps/registry/ui/hash.js rename to js/packages/dapp-registry/ui/hash.js diff --git a/js/src/dapps/registry/ui/image.js b/js/packages/dapp-registry/ui/image.js similarity index 100% rename from js/src/dapps/registry/ui/image.js rename to js/packages/dapp-registry/ui/image.js diff --git a/js/src/dapps/registry/util/actions.js b/js/packages/dapp-registry/util/actions.js similarity index 100% rename from js/src/dapps/registry/util/actions.js rename to js/packages/dapp-registry/util/actions.js diff --git a/js/src/dapps/registry/util/etherscan-url.js b/js/packages/dapp-registry/util/etherscan-url.js similarity index 93% rename from js/src/dapps/registry/util/etherscan-url.js rename to js/packages/dapp-registry/util/etherscan-url.js index 68e765c17e..265cf6a192 100644 --- a/js/src/dapps/registry/util/etherscan-url.js +++ b/js/packages/dapp-registry/util/etherscan-url.js @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import { url as externalUrl } from '~/3rdparty/etherscan/links'; +import { url as externalUrl } from '@parity/etherscan/links'; const leading0x = /^0x/; diff --git a/js/src/dapps/registry/util/post-tx.js b/js/packages/dapp-registry/util/post-tx.js similarity index 100% rename from js/src/dapps/registry/util/post-tx.js rename to js/packages/dapp-registry/util/post-tx.js diff --git a/js/src/dapps/registry/util/registry.js b/js/packages/dapp-registry/util/registry.js similarity index 100% rename from js/src/dapps/registry/util/registry.js rename to js/packages/dapp-registry/util/registry.js diff --git a/js/src/views/Settings/Background/background.css b/js/packages/dapp-settings/Background/background.css similarity index 100% rename from js/src/views/Settings/Background/background.css rename to js/packages/dapp-settings/Background/background.css diff --git a/js/src/views/Settings/Background/background.js b/js/packages/dapp-settings/Background/background.js similarity index 100% rename from js/src/views/Settings/Background/background.js rename to js/packages/dapp-settings/Background/background.js diff --git a/js/src/views/Settings/Background/index.js b/js/packages/dapp-settings/Background/index.js similarity index 100% rename from js/src/views/Settings/Background/index.js rename to js/packages/dapp-settings/Background/index.js diff --git a/js/src/views/Settings/Node/index.js b/js/packages/dapp-settings/Node/index.js similarity index 100% rename from js/src/views/Settings/Node/index.js rename to js/packages/dapp-settings/Node/index.js diff --git a/js/src/views/Settings/Node/node.js b/js/packages/dapp-settings/Node/node.js similarity index 100% rename from js/src/views/Settings/Node/node.js rename to js/packages/dapp-settings/Node/node.js diff --git a/js/src/views/Settings/Node/node.spec.js b/js/packages/dapp-settings/Node/node.spec.js similarity index 100% rename from js/src/views/Settings/Node/node.spec.js rename to js/packages/dapp-settings/Node/node.spec.js diff --git a/js/src/views/Settings/Node/node.test.js b/js/packages/dapp-settings/Node/node.test.js similarity index 100% rename from js/src/views/Settings/Node/node.test.js rename to js/packages/dapp-settings/Node/node.test.js diff --git a/js/src/views/Settings/Node/store.js b/js/packages/dapp-settings/Node/store.js similarity index 100% rename from js/src/views/Settings/Node/store.js rename to js/packages/dapp-settings/Node/store.js diff --git a/js/src/views/Settings/Node/store.spec.js b/js/packages/dapp-settings/Node/store.spec.js similarity index 100% rename from js/src/views/Settings/Node/store.spec.js rename to js/packages/dapp-settings/Node/store.spec.js diff --git a/js/src/views/Settings/Proxy/index.js b/js/packages/dapp-settings/Proxy/index.js similarity index 100% rename from js/src/views/Settings/Proxy/index.js rename to js/packages/dapp-settings/Proxy/index.js diff --git a/js/src/views/Settings/Proxy/proxy.css b/js/packages/dapp-settings/Proxy/proxy.css similarity index 100% rename from js/src/views/Settings/Proxy/proxy.css rename to js/packages/dapp-settings/Proxy/proxy.css diff --git a/js/src/views/Settings/Proxy/proxy.js b/js/packages/dapp-settings/Proxy/proxy.js similarity index 100% rename from js/src/views/Settings/Proxy/proxy.js rename to js/packages/dapp-settings/Proxy/proxy.js diff --git a/js/src/views/Settings/Views/index.js b/js/packages/dapp-settings/Views/index.js similarity index 92% rename from js/src/views/Settings/Views/index.js rename to js/packages/dapp-settings/Views/index.js index 004ada849f..7eb70b1509 100644 --- a/js/src/views/Settings/Views/index.js +++ b/js/packages/dapp-settings/Views/index.js @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import defaultViews from './defaults'; +import defaultViews from '@parity/shared/config/defaultViews'; export default from './views'; diff --git a/js/src/views/Settings/Views/views.css b/js/packages/dapp-settings/Views/views.css similarity index 100% rename from js/src/views/Settings/Views/views.css rename to js/packages/dapp-settings/Views/views.css diff --git a/js/src/views/Settings/Views/views.js b/js/packages/dapp-settings/Views/views.js similarity index 100% rename from js/src/views/Settings/Views/views.js rename to js/packages/dapp-settings/Views/views.js diff --git a/js/src/views/Settings/api.js b/js/packages/dapp-settings/api.js similarity index 100% rename from js/src/views/Settings/api.js rename to js/packages/dapp-settings/api.js diff --git a/js/src/views/Settings/index.js b/js/packages/dapp-settings/index.js similarity index 100% rename from js/src/views/Settings/index.js rename to js/packages/dapp-settings/index.js diff --git a/js/src/views/Settings/layout.css b/js/packages/dapp-settings/layout.css similarity index 100% rename from js/src/views/Settings/layout.css rename to js/packages/dapp-settings/layout.css diff --git a/js/src/views/Settings/package.json b/js/packages/dapp-settings/package.json similarity index 100% rename from js/src/views/Settings/package.json rename to js/packages/dapp-settings/package.json diff --git a/js/src/views/Settings/settings.css b/js/packages/dapp-settings/settings.css similarity index 100% rename from js/src/views/Settings/settings.css rename to js/packages/dapp-settings/settings.css diff --git a/js/src/views/Settings/settings.js b/js/packages/dapp-settings/settings.js similarity index 100% rename from js/src/views/Settings/settings.js rename to js/packages/dapp-settings/settings.js diff --git a/js/src/dapps/signaturereg/Application/application.css b/js/packages/dapp-signaturereg/Application/application.css similarity index 100% rename from js/src/dapps/signaturereg/Application/application.css rename to js/packages/dapp-signaturereg/Application/application.css diff --git a/js/src/dapps/signaturereg/Application/application.js b/js/packages/dapp-signaturereg/Application/application.js similarity index 100% rename from js/src/dapps/signaturereg/Application/application.js rename to js/packages/dapp-signaturereg/Application/application.js diff --git a/js/src/dapps/signaturereg/Application/index.js b/js/packages/dapp-signaturereg/Application/index.js similarity index 100% rename from js/src/dapps/signaturereg/Application/index.js rename to js/packages/dapp-signaturereg/Application/index.js diff --git a/js/src/dapps/signaturereg/Button/button.css b/js/packages/dapp-signaturereg/Button/button.css similarity index 100% rename from js/src/dapps/signaturereg/Button/button.css rename to js/packages/dapp-signaturereg/Button/button.css diff --git a/js/src/dapps/signaturereg/Button/button.js b/js/packages/dapp-signaturereg/Button/button.js similarity index 100% rename from js/src/dapps/signaturereg/Button/button.js rename to js/packages/dapp-signaturereg/Button/button.js diff --git a/js/src/dapps/signaturereg/Button/index.js b/js/packages/dapp-signaturereg/Button/index.js similarity index 100% rename from js/src/dapps/signaturereg/Button/index.js rename to js/packages/dapp-signaturereg/Button/index.js diff --git a/js/src/dapps/signaturereg/Events/events.css b/js/packages/dapp-signaturereg/Events/events.css similarity index 100% rename from js/src/dapps/signaturereg/Events/events.css rename to js/packages/dapp-signaturereg/Events/events.css diff --git a/js/src/dapps/signaturereg/Events/events.js b/js/packages/dapp-signaturereg/Events/events.js similarity index 100% rename from js/src/dapps/signaturereg/Events/events.js rename to js/packages/dapp-signaturereg/Events/events.js diff --git a/js/src/dapps/tokendeploy/Deploy/Events/index.js b/js/packages/dapp-signaturereg/Events/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Events/index.js rename to js/packages/dapp-signaturereg/Events/index.js diff --git a/js/src/dapps/signaturereg/Header/header.css b/js/packages/dapp-signaturereg/Header/header.css similarity index 100% rename from js/src/dapps/signaturereg/Header/header.css rename to js/packages/dapp-signaturereg/Header/header.css diff --git a/js/src/dapps/signaturereg/Header/header.js b/js/packages/dapp-signaturereg/Header/header.js similarity index 100% rename from js/src/dapps/signaturereg/Header/header.js rename to js/packages/dapp-signaturereg/Header/header.js diff --git a/js/src/dapps/signaturereg/Header/index.js b/js/packages/dapp-signaturereg/Header/index.js similarity index 100% rename from js/src/dapps/signaturereg/Header/index.js rename to js/packages/dapp-signaturereg/Header/index.js diff --git a/js/src/dapps/signaturereg/IdentityIcon/identityIcon.css b/js/packages/dapp-signaturereg/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/dapps/signaturereg/IdentityIcon/identityIcon.css rename to js/packages/dapp-signaturereg/IdentityIcon/identityIcon.css diff --git a/js/src/dapps/signaturereg/IdentityIcon/identityIcon.js b/js/packages/dapp-signaturereg/IdentityIcon/identityIcon.js similarity index 100% rename from js/src/dapps/signaturereg/IdentityIcon/identityIcon.js rename to js/packages/dapp-signaturereg/IdentityIcon/identityIcon.js diff --git a/js/src/dapps/signaturereg/IdentityIcon/index.js b/js/packages/dapp-signaturereg/IdentityIcon/index.js similarity index 100% rename from js/src/dapps/signaturereg/IdentityIcon/index.js rename to js/packages/dapp-signaturereg/IdentityIcon/index.js diff --git a/js/src/dapps/signaturereg/Import/import.css b/js/packages/dapp-signaturereg/Import/import.css similarity index 100% rename from js/src/dapps/signaturereg/Import/import.css rename to js/packages/dapp-signaturereg/Import/import.css diff --git a/js/src/dapps/signaturereg/Import/import.js b/js/packages/dapp-signaturereg/Import/import.js similarity index 100% rename from js/src/dapps/signaturereg/Import/import.js rename to js/packages/dapp-signaturereg/Import/import.js diff --git a/js/src/dapps/signaturereg/Import/index.js b/js/packages/dapp-signaturereg/Import/index.js similarity index 100% rename from js/src/dapps/signaturereg/Import/index.js rename to js/packages/dapp-signaturereg/Import/index.js diff --git a/js/src/dapps/signaturereg/Loading/index.js b/js/packages/dapp-signaturereg/Loading/index.js similarity index 100% rename from js/src/dapps/signaturereg/Loading/index.js rename to js/packages/dapp-signaturereg/Loading/index.js diff --git a/js/src/dapps/signaturereg/Loading/loading.css b/js/packages/dapp-signaturereg/Loading/loading.css similarity index 100% rename from js/src/dapps/signaturereg/Loading/loading.css rename to js/packages/dapp-signaturereg/Loading/loading.css diff --git a/js/src/dapps/signaturereg/Loading/loading.js b/js/packages/dapp-signaturereg/Loading/loading.js similarity index 100% rename from js/src/dapps/signaturereg/Loading/loading.js rename to js/packages/dapp-signaturereg/Loading/loading.js diff --git a/js/src/dapps/signaturereg/format.js b/js/packages/dapp-signaturereg/format.js similarity index 100% rename from js/src/dapps/signaturereg/format.js rename to js/packages/dapp-signaturereg/format.js diff --git a/js/src/dapps/dappreg/index.js b/js/packages/dapp-signaturereg/index.js similarity index 97% rename from js/src/dapps/dappreg/index.js rename to js/packages/dapp-signaturereg/index.js index a8bb73d576..de98cb6361 100644 --- a/js/src/dapps/dappreg/index.js +++ b/js/packages/dapp-signaturereg/index.js @@ -14,18 +14,18 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import React from 'react'; import ReactDOM from 'react-dom'; -import injectTapEventPlugin from 'react-tap-event-plugin'; +import React from 'react'; import { AppContainer } from 'react-hot-loader'; +import injectTapEventPlugin from 'react-tap-event-plugin'; injectTapEventPlugin(); import Application from './Application'; import '@parity/shared/assets/fonts/Roboto/font.css'; import '@parity/shared/assets/fonts/RobotoMono/font.css'; -import '../style.css'; +import '@parity/dapps/style.css'; ReactDOM.render( diff --git a/js/src/dapps/signaturereg/parity.js b/js/packages/dapp-signaturereg/parity.js similarity index 100% rename from js/src/dapps/signaturereg/parity.js rename to js/packages/dapp-signaturereg/parity.js diff --git a/js/src/dapps/signaturereg/services.js b/js/packages/dapp-signaturereg/services.js similarity index 100% rename from js/src/dapps/signaturereg/services.js rename to js/packages/dapp-signaturereg/services.js diff --git a/js/src/views/Signer/RequestsPage/index.js b/js/packages/dapp-signer/RequestsPage/index.js similarity index 100% rename from js/src/views/Signer/RequestsPage/index.js rename to js/packages/dapp-signer/RequestsPage/index.js diff --git a/js/src/views/Signer/RequestsPage/requestsPage.css b/js/packages/dapp-signer/RequestsPage/requestsPage.css similarity index 100% rename from js/src/views/Signer/RequestsPage/requestsPage.css rename to js/packages/dapp-signer/RequestsPage/requestsPage.css diff --git a/js/src/views/Signer/RequestsPage/requestsPage.js b/js/packages/dapp-signer/RequestsPage/requestsPage.js similarity index 96% rename from js/src/views/Signer/RequestsPage/requestsPage.js rename to js/packages/dapp-signer/RequestsPage/requestsPage.js index fe5bed8abe..fc571b4c81 100644 --- a/js/src/views/Signer/RequestsPage/requestsPage.js +++ b/js/packages/dapp-signer/RequestsPage/requestsPage.js @@ -26,8 +26,9 @@ import { newError } from '@parity/shared/redux/actions'; import { startConfirmRequest, startRejectRequest } from '@parity/shared/redux/providers/signerActions'; import { Container, Page, TxList } from '@parity/ui'; -import Store from '~/shell/Signer/store'; -import RequestPending from '~/shell/Signer/components/RequestPending'; +// FIXME: We should not be importing from shell! +import Store from '~/src/Signer/store'; +import RequestPending from '~/src/Signer/components/RequestPending'; import styles from './requestsPage.css'; diff --git a/js/src/views/Signer/api.js b/js/packages/dapp-signer/api.js similarity index 100% rename from js/src/views/Signer/api.js rename to js/packages/dapp-signer/api.js diff --git a/js/src/views/Signer/index.js b/js/packages/dapp-signer/index.js similarity index 100% rename from js/src/views/Signer/index.js rename to js/packages/dapp-signer/index.js diff --git a/js/src/views/Signer/package.json b/js/packages/dapp-signer/package.json similarity index 100% rename from js/src/views/Signer/package.json rename to js/packages/dapp-signer/package.json diff --git a/js/src/views/Signer/signer.js b/js/packages/dapp-signer/signer.js similarity index 100% rename from js/src/views/Signer/signer.js rename to js/packages/dapp-signer/signer.js diff --git a/js/src/views/Status/Debug/Logs/index.js b/js/packages/dapp-status/Debug/Logs/index.js similarity index 100% rename from js/src/views/Status/Debug/Logs/index.js rename to js/packages/dapp-status/Debug/Logs/index.js diff --git a/js/src/views/Status/Debug/Logs/logs.js b/js/packages/dapp-status/Debug/Logs/logs.js similarity index 100% rename from js/src/views/Status/Debug/Logs/logs.js rename to js/packages/dapp-status/Debug/Logs/logs.js diff --git a/js/src/ui/Form/Toggle/index.js b/js/packages/dapp-status/Debug/Toggle/index.js similarity index 100% rename from js/src/ui/Form/Toggle/index.js rename to js/packages/dapp-status/Debug/Toggle/index.js diff --git a/js/src/views/Status/Debug/Toggle/toggle.js b/js/packages/dapp-status/Debug/Toggle/toggle.js similarity index 100% rename from js/src/views/Status/Debug/Toggle/toggle.js rename to js/packages/dapp-status/Debug/Toggle/toggle.js diff --git a/js/src/views/Status/Debug/debug.css b/js/packages/dapp-status/Debug/debug.css similarity index 100% rename from js/src/views/Status/Debug/debug.css rename to js/packages/dapp-status/Debug/debug.css diff --git a/js/src/views/Status/Debug/debug.js b/js/packages/dapp-status/Debug/debug.js similarity index 100% rename from js/src/views/Status/Debug/debug.js rename to js/packages/dapp-status/Debug/debug.js diff --git a/js/src/views/Status/Debug/index.js b/js/packages/dapp-status/Debug/index.js similarity index 100% rename from js/src/views/Status/Debug/index.js rename to js/packages/dapp-status/Debug/index.js diff --git a/js/src/views/Status/Debug/store.js b/js/packages/dapp-status/Debug/store.js similarity index 100% rename from js/src/views/Status/Debug/store.js rename to js/packages/dapp-status/Debug/store.js diff --git a/js/src/views/Status/Health/health.js b/js/packages/dapp-status/Health/health.js similarity index 98% rename from js/src/views/Status/Health/health.js rename to js/packages/dapp-status/Health/health.js index 7c3ef864c5..f4190b99c2 100644 --- a/js/src/views/Status/Health/health.js +++ b/js/packages/dapp-status/Health/health.js @@ -19,7 +19,7 @@ import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; -import { Container, ContainerTitle, StatusIndicator } from '~/ui'; +import { Container, ContainerTitle, StatusIndicator } from '@parity/ui'; import grid from '../Node/node.css'; diff --git a/js/src/views/Status/Health/index.js b/js/packages/dapp-status/Health/index.js similarity index 100% rename from js/src/views/Status/Health/index.js rename to js/packages/dapp-status/Health/index.js diff --git a/js/src/views/Status/MiningSettings/decodeExtraData.js b/js/packages/dapp-status/MiningSettings/decodeExtraData.js similarity index 100% rename from js/src/views/Status/MiningSettings/decodeExtraData.js rename to js/packages/dapp-status/MiningSettings/decodeExtraData.js diff --git a/js/src/views/Status/MiningSettings/decodeExtraData.spec.js b/js/packages/dapp-status/MiningSettings/decodeExtraData.spec.js similarity index 100% rename from js/src/views/Status/MiningSettings/decodeExtraData.spec.js rename to js/packages/dapp-status/MiningSettings/decodeExtraData.spec.js diff --git a/js/src/views/Status/MiningSettings/index.js b/js/packages/dapp-status/MiningSettings/index.js similarity index 100% rename from js/src/views/Status/MiningSettings/index.js rename to js/packages/dapp-status/MiningSettings/index.js diff --git a/js/src/views/Status/MiningSettings/miningSettings.js b/js/packages/dapp-status/MiningSettings/miningSettings.js similarity index 100% rename from js/src/views/Status/MiningSettings/miningSettings.js rename to js/packages/dapp-status/MiningSettings/miningSettings.js diff --git a/js/src/views/Status/MiningSettings/numberFromString.js b/js/packages/dapp-status/MiningSettings/numberFromString.js similarity index 100% rename from js/src/views/Status/MiningSettings/numberFromString.js rename to js/packages/dapp-status/MiningSettings/numberFromString.js diff --git a/js/src/views/Status/MiningSettings/numberFromString.spec.js b/js/packages/dapp-status/MiningSettings/numberFromString.spec.js similarity index 100% rename from js/src/views/Status/MiningSettings/numberFromString.spec.js rename to js/packages/dapp-status/MiningSettings/numberFromString.spec.js diff --git a/js/src/views/Status/Node/index.js b/js/packages/dapp-status/Node/index.js similarity index 100% rename from js/src/views/Status/Node/index.js rename to js/packages/dapp-status/Node/index.js diff --git a/js/src/views/Status/Node/node.css b/js/packages/dapp-status/Node/node.css similarity index 100% rename from js/src/views/Status/Node/node.css rename to js/packages/dapp-status/Node/node.css diff --git a/js/src/views/Status/Node/node.js b/js/packages/dapp-status/Node/node.js similarity index 100% rename from js/src/views/Status/Node/node.js rename to js/packages/dapp-status/Node/node.js diff --git a/js/src/views/Status/Node/store.js b/js/packages/dapp-status/Node/store.js similarity index 100% rename from js/src/views/Status/Node/store.js rename to js/packages/dapp-status/Node/store.js diff --git a/js/src/views/Status/Peers/Peer/index.js b/js/packages/dapp-status/Peers/Peer/index.js similarity index 100% rename from js/src/views/Status/Peers/Peer/index.js rename to js/packages/dapp-status/Peers/Peer/index.js diff --git a/js/src/views/Status/Peers/Peer/peer.js b/js/packages/dapp-status/Peers/Peer/peer.js similarity index 100% rename from js/src/views/Status/Peers/Peer/peer.js rename to js/packages/dapp-status/Peers/Peer/peer.js diff --git a/js/src/views/Status/Peers/index.js b/js/packages/dapp-status/Peers/index.js similarity index 100% rename from js/src/views/Status/Peers/index.js rename to js/packages/dapp-status/Peers/index.js diff --git a/js/src/views/Status/Peers/peers.css b/js/packages/dapp-status/Peers/peers.css similarity index 100% rename from js/src/views/Status/Peers/peers.css rename to js/packages/dapp-status/Peers/peers.css diff --git a/js/src/views/Status/Peers/peers.js b/js/packages/dapp-status/Peers/peers.js similarity index 100% rename from js/src/views/Status/Peers/peers.js rename to js/packages/dapp-status/Peers/peers.js diff --git a/js/src/views/Status/api.js b/js/packages/dapp-status/api.js similarity index 100% rename from js/src/views/Status/api.js rename to js/packages/dapp-status/api.js diff --git a/js/src/views/Status/index.js b/js/packages/dapp-status/index.js similarity index 100% rename from js/src/views/Status/index.js rename to js/packages/dapp-status/index.js diff --git a/js/src/views/Status/package.json b/js/packages/dapp-status/package.json similarity index 100% rename from js/src/views/Status/package.json rename to js/packages/dapp-status/package.json diff --git a/js/src/views/Status/status.css b/js/packages/dapp-status/status.css similarity index 100% rename from js/src/views/Status/status.css rename to js/packages/dapp-status/status.css diff --git a/js/src/views/Status/status.js b/js/packages/dapp-status/status.js similarity index 100% rename from js/src/views/Status/status.js rename to js/packages/dapp-status/status.js diff --git a/js/src/dapps/tokendeploy/AddressSelect/addressSelect.css b/js/packages/dapp-tokendeploy/AddressSelect/addressSelect.css similarity index 100% rename from js/src/dapps/tokendeploy/AddressSelect/addressSelect.css rename to js/packages/dapp-tokendeploy/AddressSelect/addressSelect.css diff --git a/js/src/dapps/tokendeploy/AddressSelect/addressSelect.js b/js/packages/dapp-tokendeploy/AddressSelect/addressSelect.js similarity index 100% rename from js/src/dapps/tokendeploy/AddressSelect/addressSelect.js rename to js/packages/dapp-tokendeploy/AddressSelect/addressSelect.js diff --git a/js/src/dapps/tokendeploy/AddressSelect/index.js b/js/packages/dapp-tokendeploy/AddressSelect/index.js similarity index 100% rename from js/src/dapps/tokendeploy/AddressSelect/index.js rename to js/packages/dapp-tokendeploy/AddressSelect/index.js diff --git a/js/src/dapps/tokendeploy/Application/Header/header.css b/js/packages/dapp-tokendeploy/Application/Header/header.css similarity index 100% rename from js/src/dapps/tokendeploy/Application/Header/header.css rename to js/packages/dapp-tokendeploy/Application/Header/header.css diff --git a/js/src/dapps/tokendeploy/Application/Header/header.js b/js/packages/dapp-tokendeploy/Application/Header/header.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/Header/header.js rename to js/packages/dapp-tokendeploy/Application/Header/header.js diff --git a/js/src/views/Account/Header/index.js b/js/packages/dapp-tokendeploy/Application/Header/index.js similarity index 100% rename from js/src/views/Account/Header/index.js rename to js/packages/dapp-tokendeploy/Application/Header/index.js diff --git a/js/src/dapps/tokendeploy/Application/Loading/index.js b/js/packages/dapp-tokendeploy/Application/Loading/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/Loading/index.js rename to js/packages/dapp-tokendeploy/Application/Loading/index.js diff --git a/js/src/dapps/tokendeploy/Application/Loading/loading.css b/js/packages/dapp-tokendeploy/Application/Loading/loading.css similarity index 100% rename from js/src/dapps/tokendeploy/Application/Loading/loading.css rename to js/packages/dapp-tokendeploy/Application/Loading/loading.css diff --git a/js/src/dapps/tokendeploy/Application/Loading/loading.js b/js/packages/dapp-tokendeploy/Application/Loading/loading.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/Loading/loading.js rename to js/packages/dapp-tokendeploy/Application/Loading/loading.js diff --git a/js/src/dapps/tokendeploy/Application/application.css b/js/packages/dapp-tokendeploy/Application/application.css similarity index 100% rename from js/src/dapps/tokendeploy/Application/application.css rename to js/packages/dapp-tokendeploy/Application/application.css diff --git a/js/src/dapps/tokendeploy/Application/application.js b/js/packages/dapp-tokendeploy/Application/application.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/application.js rename to js/packages/dapp-tokendeploy/Application/application.js diff --git a/js/src/dapps/tokendeploy/Application/index.js b/js/packages/dapp-tokendeploy/Application/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/index.js rename to js/packages/dapp-tokendeploy/Application/index.js diff --git a/js/src/dapps/tokendeploy/Application/pages.js b/js/packages/dapp-tokendeploy/Application/pages.js similarity index 100% rename from js/src/dapps/tokendeploy/Application/pages.js rename to js/packages/dapp-tokendeploy/Application/pages.js diff --git a/js/src/dapps/tokendeploy/Container/container.css b/js/packages/dapp-tokendeploy/Container/container.css similarity index 100% rename from js/src/dapps/tokendeploy/Container/container.css rename to js/packages/dapp-tokendeploy/Container/container.css diff --git a/js/src/dapps/tokendeploy/Container/container.js b/js/packages/dapp-tokendeploy/Container/container.js similarity index 100% rename from js/src/dapps/tokendeploy/Container/container.js rename to js/packages/dapp-tokendeploy/Container/container.js diff --git a/js/src/dapps/tokendeploy/Container/index.js b/js/packages/dapp-tokendeploy/Container/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Container/index.js rename to js/packages/dapp-tokendeploy/Container/index.js diff --git a/js/src/dapps/tokendeploy/Deploy/Deployment/deployment.css b/js/packages/dapp-tokendeploy/Deploy/Deployment/deployment.css similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Deployment/deployment.css rename to js/packages/dapp-tokendeploy/Deploy/Deployment/deployment.css diff --git a/js/src/dapps/tokendeploy/Deploy/Deployment/deployment.js b/js/packages/dapp-tokendeploy/Deploy/Deployment/deployment.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Deployment/deployment.js rename to js/packages/dapp-tokendeploy/Deploy/Deployment/deployment.js diff --git a/js/src/dapps/tokendeploy/Deploy/Deployment/index.js b/js/packages/dapp-tokendeploy/Deploy/Deployment/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Deployment/index.js rename to js/packages/dapp-tokendeploy/Deploy/Deployment/index.js diff --git a/js/src/dapps/tokendeploy/Deploy/Event/event.css b/js/packages/dapp-tokendeploy/Deploy/Event/event.css similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Event/event.css rename to js/packages/dapp-tokendeploy/Deploy/Event/event.css diff --git a/js/src/dapps/tokendeploy/Deploy/Event/event.js b/js/packages/dapp-tokendeploy/Deploy/Event/event.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Event/event.js rename to js/packages/dapp-tokendeploy/Deploy/Event/event.js diff --git a/js/src/dapps/tokendeploy/Transfer/Event/index.js b/js/packages/dapp-tokendeploy/Deploy/Event/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Event/index.js rename to js/packages/dapp-tokendeploy/Deploy/Event/index.js diff --git a/js/src/dapps/tokendeploy/Deploy/Events/events.css b/js/packages/dapp-tokendeploy/Deploy/Events/events.css similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Events/events.css rename to js/packages/dapp-tokendeploy/Deploy/Events/events.css diff --git a/js/src/dapps/tokendeploy/Deploy/Events/events.js b/js/packages/dapp-tokendeploy/Deploy/Events/events.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/Events/events.js rename to js/packages/dapp-tokendeploy/Deploy/Events/events.js diff --git a/js/src/dapps/tokendeploy/Transfer/Events/index.js b/js/packages/dapp-tokendeploy/Deploy/Events/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Events/index.js rename to js/packages/dapp-tokendeploy/Deploy/Events/index.js diff --git a/js/src/dapps/tokendeploy/Deploy/deploy.js b/js/packages/dapp-tokendeploy/Deploy/deploy.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/deploy.js rename to js/packages/dapp-tokendeploy/Deploy/deploy.js diff --git a/js/src/dapps/tokendeploy/Deploy/index.js b/js/packages/dapp-tokendeploy/Deploy/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Deploy/index.js rename to js/packages/dapp-tokendeploy/Deploy/index.js diff --git a/js/src/dapps/tokendeploy/IdentityIcon/identityIcon.css b/js/packages/dapp-tokendeploy/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/dapps/tokendeploy/IdentityIcon/identityIcon.css rename to js/packages/dapp-tokendeploy/IdentityIcon/identityIcon.css diff --git a/js/src/dapps/tokendeploy/IdentityIcon/identityIcon.js b/js/packages/dapp-tokendeploy/IdentityIcon/identityIcon.js similarity index 100% rename from js/src/dapps/tokendeploy/IdentityIcon/identityIcon.js rename to js/packages/dapp-tokendeploy/IdentityIcon/identityIcon.js diff --git a/js/src/dapps/tokendeploy/IdentityIcon/index.js b/js/packages/dapp-tokendeploy/IdentityIcon/index.js similarity index 100% rename from js/src/dapps/tokendeploy/IdentityIcon/index.js rename to js/packages/dapp-tokendeploy/IdentityIcon/index.js diff --git a/js/src/dapps/tokendeploy/Overview/Owner/index.js b/js/packages/dapp-tokendeploy/Overview/Owner/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Owner/index.js rename to js/packages/dapp-tokendeploy/Overview/Owner/index.js diff --git a/js/src/dapps/tokendeploy/Overview/Owner/owner.css b/js/packages/dapp-tokendeploy/Overview/Owner/owner.css similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Owner/owner.css rename to js/packages/dapp-tokendeploy/Overview/Owner/owner.css diff --git a/js/src/dapps/tokendeploy/Overview/Owner/owner.js b/js/packages/dapp-tokendeploy/Overview/Owner/owner.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Owner/owner.js rename to js/packages/dapp-tokendeploy/Overview/Owner/owner.js diff --git a/js/src/dapps/tokendeploy/Overview/Token/index.js b/js/packages/dapp-tokendeploy/Overview/Token/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Token/index.js rename to js/packages/dapp-tokendeploy/Overview/Token/index.js diff --git a/js/src/dapps/tokendeploy/Overview/Token/token.css b/js/packages/dapp-tokendeploy/Overview/Token/token.css similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Token/token.css rename to js/packages/dapp-tokendeploy/Overview/Token/token.css diff --git a/js/src/dapps/tokendeploy/Overview/Token/token.js b/js/packages/dapp-tokendeploy/Overview/Token/token.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/Token/token.js rename to js/packages/dapp-tokendeploy/Overview/Token/token.js diff --git a/js/src/dapps/tokendeploy/Overview/index.js b/js/packages/dapp-tokendeploy/Overview/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/index.js rename to js/packages/dapp-tokendeploy/Overview/index.js diff --git a/js/src/dapps/tokendeploy/Overview/overview.css b/js/packages/dapp-tokendeploy/Overview/overview.css similarity index 100% rename from js/src/dapps/tokendeploy/Overview/overview.css rename to js/packages/dapp-tokendeploy/Overview/overview.css diff --git a/js/src/dapps/tokendeploy/Overview/overview.js b/js/packages/dapp-tokendeploy/Overview/overview.js similarity index 100% rename from js/src/dapps/tokendeploy/Overview/overview.js rename to js/packages/dapp-tokendeploy/Overview/overview.js diff --git a/js/src/dapps/tokendeploy/Transfer/Event/event.js b/js/packages/dapp-tokendeploy/Transfer/Event/event.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Event/event.js rename to js/packages/dapp-tokendeploy/Transfer/Event/event.js diff --git a/js/src/views/Contract/Events/Event/index.js b/js/packages/dapp-tokendeploy/Transfer/Event/index.js similarity index 100% rename from js/src/views/Contract/Events/Event/index.js rename to js/packages/dapp-tokendeploy/Transfer/Event/index.js diff --git a/js/src/dapps/tokendeploy/Transfer/Events/events.js b/js/packages/dapp-tokendeploy/Transfer/Events/events.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Events/events.js rename to js/packages/dapp-tokendeploy/Transfer/Events/events.js diff --git a/js/src/views/Contract/Events/index.js b/js/packages/dapp-tokendeploy/Transfer/Events/index.js similarity index 100% rename from js/src/views/Contract/Events/index.js rename to js/packages/dapp-tokendeploy/Transfer/Events/index.js diff --git a/js/src/dapps/tokendeploy/Transfer/Send/index.js b/js/packages/dapp-tokendeploy/Transfer/Send/index.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Send/index.js rename to js/packages/dapp-tokendeploy/Transfer/Send/index.js diff --git a/js/src/dapps/tokendeploy/Transfer/Send/send.css b/js/packages/dapp-tokendeploy/Transfer/Send/send.css similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Send/send.css rename to js/packages/dapp-tokendeploy/Transfer/Send/send.css diff --git a/js/src/dapps/tokendeploy/Transfer/Send/send.js b/js/packages/dapp-tokendeploy/Transfer/Send/send.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/Send/send.js rename to js/packages/dapp-tokendeploy/Transfer/Send/send.js diff --git a/js/src/views/Account/Transfer/index.js b/js/packages/dapp-tokendeploy/Transfer/index.js similarity index 100% rename from js/src/views/Account/Transfer/index.js rename to js/packages/dapp-tokendeploy/Transfer/index.js diff --git a/js/src/dapps/tokendeploy/Transfer/transfer.js b/js/packages/dapp-tokendeploy/Transfer/transfer.js similarity index 100% rename from js/src/dapps/tokendeploy/Transfer/transfer.js rename to js/packages/dapp-tokendeploy/Transfer/transfer.js diff --git a/js/src/dapps/tokendeploy/_form.css b/js/packages/dapp-tokendeploy/_form.css similarity index 100% rename from js/src/dapps/tokendeploy/_form.css rename to js/packages/dapp-tokendeploy/_form.css diff --git a/js/src/dapps/tokendeploy/_status.css b/js/packages/dapp-tokendeploy/_status.css similarity index 100% rename from js/src/dapps/tokendeploy/_status.css rename to js/packages/dapp-tokendeploy/_status.css diff --git a/js/src/dapps/tokendeploy/background.jpg b/js/packages/dapp-tokendeploy/background.jpg similarity index 100% rename from js/src/dapps/tokendeploy/background.jpg rename to js/packages/dapp-tokendeploy/background.jpg diff --git a/js/src/dapps/tokendeploy/index.js b/js/packages/dapp-tokendeploy/index.js similarity index 98% rename from js/src/dapps/tokendeploy/index.js rename to js/packages/dapp-tokendeploy/index.js index 5b85563c24..99bbc62859 100644 --- a/js/src/dapps/tokendeploy/index.js +++ b/js/packages/dapp-tokendeploy/index.js @@ -29,7 +29,7 @@ import Transfer from './Transfer'; import '@parity/shared/assets/fonts/Roboto/font.css'; import '@parity/shared/assets/fonts/RobotoMono/font.css'; -import '../style.css'; +import '@parity/dapps/style.css'; ReactDOM.render( diff --git a/js/src/dapps/tokendeploy/parity.js b/js/packages/dapp-tokendeploy/parity.js similarity index 100% rename from js/src/dapps/tokendeploy/parity.js rename to js/packages/dapp-tokendeploy/parity.js diff --git a/js/src/dapps/tokendeploy/services.js b/js/packages/dapp-tokendeploy/services.js similarity index 99% rename from js/src/dapps/tokendeploy/services.js rename to js/packages/dapp-tokendeploy/services.js index b5817c3807..bd8f87ddce 100644 --- a/js/src/dapps/tokendeploy/services.js +++ b/js/packages/dapp-tokendeploy/services.js @@ -16,7 +16,7 @@ import BigNumber from 'bignumber.js'; -import { url as etherscanUrl } from '~/3rdparty/etherscan/links'; +import { url as etherscanUrl } from '@parity/etherscan/links'; import * as abis from '@parity/shared/contracts/abi'; import { api } from './parity'; diff --git a/js/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.css b/js/packages/dapp-tokenreg/Accounts/AccountSelector/account-selector.css similarity index 100% rename from js/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.css rename to js/packages/dapp-tokenreg/Accounts/AccountSelector/account-selector.css diff --git a/js/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.js b/js/packages/dapp-tokenreg/Accounts/AccountSelector/account-selector.js similarity index 100% rename from js/src/dapps/tokenreg/Accounts/AccountSelector/account-selector.js rename to js/packages/dapp-tokenreg/Accounts/AccountSelector/account-selector.js diff --git a/js/src/dapps/tokenreg/Accounts/AccountSelector/container.js b/js/packages/dapp-tokenreg/Accounts/AccountSelector/container.js similarity index 100% rename from js/src/dapps/tokenreg/Accounts/AccountSelector/container.js rename to js/packages/dapp-tokenreg/Accounts/AccountSelector/container.js diff --git a/js/src/dapps/tokenreg/Accounts/AccountSelector/index.js b/js/packages/dapp-tokenreg/Accounts/AccountSelector/index.js similarity index 100% rename from js/src/dapps/tokenreg/Accounts/AccountSelector/index.js rename to js/packages/dapp-tokenreg/Accounts/AccountSelector/index.js diff --git a/js/src/dapps/tokenreg/Accounts/actions.js b/js/packages/dapp-tokenreg/Accounts/actions.js similarity index 100% rename from js/src/dapps/tokenreg/Accounts/actions.js rename to js/packages/dapp-tokenreg/Accounts/actions.js diff --git a/js/src/dapps/tokenreg/Accounts/reducer.js b/js/packages/dapp-tokenreg/Accounts/reducer.js similarity index 100% rename from js/src/dapps/tokenreg/Accounts/reducer.js rename to js/packages/dapp-tokenreg/Accounts/reducer.js diff --git a/js/src/dapps/tokenreg/Actions/Query/index.js b/js/packages/dapp-tokenreg/Actions/Query/index.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/Query/index.js rename to js/packages/dapp-tokenreg/Actions/Query/index.js diff --git a/js/src/dapps/tokenreg/Actions/Query/query.js b/js/packages/dapp-tokenreg/Actions/Query/query.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/Query/query.js rename to js/packages/dapp-tokenreg/Actions/Query/query.js diff --git a/js/src/dapps/tokenreg/Actions/Register/index.js b/js/packages/dapp-tokenreg/Actions/Register/index.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/Register/index.js rename to js/packages/dapp-tokenreg/Actions/Register/index.js diff --git a/js/src/dapps/tokenreg/Actions/Register/register.js b/js/packages/dapp-tokenreg/Actions/Register/register.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/Register/register.js rename to js/packages/dapp-tokenreg/Actions/Register/register.js diff --git a/js/src/dapps/tokenreg/Actions/actions.css b/js/packages/dapp-tokenreg/Actions/actions.css similarity index 100% rename from js/src/dapps/tokenreg/Actions/actions.css rename to js/packages/dapp-tokenreg/Actions/actions.css diff --git a/js/src/dapps/tokenreg/Actions/actions.js b/js/packages/dapp-tokenreg/Actions/actions.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/actions.js rename to js/packages/dapp-tokenreg/Actions/actions.js diff --git a/js/src/dapps/tokenreg/Actions/component.js b/js/packages/dapp-tokenreg/Actions/component.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/component.js rename to js/packages/dapp-tokenreg/Actions/component.js diff --git a/js/src/dapps/tokenreg/Actions/container.js b/js/packages/dapp-tokenreg/Actions/container.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/container.js rename to js/packages/dapp-tokenreg/Actions/container.js diff --git a/js/src/dapps/tokenreg/Actions/index.js b/js/packages/dapp-tokenreg/Actions/index.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/index.js rename to js/packages/dapp-tokenreg/Actions/index.js diff --git a/js/src/dapps/tokenreg/Actions/reducer.js b/js/packages/dapp-tokenreg/Actions/reducer.js similarity index 100% rename from js/src/dapps/tokenreg/Actions/reducer.js rename to js/packages/dapp-tokenreg/Actions/reducer.js diff --git a/js/src/dapps/tokenreg/Application/application.css b/js/packages/dapp-tokenreg/Application/application.css similarity index 100% rename from js/src/dapps/tokenreg/Application/application.css rename to js/packages/dapp-tokenreg/Application/application.css diff --git a/js/src/dapps/tokenreg/Application/application.js b/js/packages/dapp-tokenreg/Application/application.js similarity index 100% rename from js/src/dapps/tokenreg/Application/application.js rename to js/packages/dapp-tokenreg/Application/application.js diff --git a/js/src/dapps/tokenreg/Application/index.js b/js/packages/dapp-tokenreg/Application/index.js similarity index 100% rename from js/src/dapps/tokenreg/Application/index.js rename to js/packages/dapp-tokenreg/Application/index.js diff --git a/js/src/dapps/tokenreg/Chip/chip.css b/js/packages/dapp-tokenreg/Chip/chip.css similarity index 100% rename from js/src/dapps/tokenreg/Chip/chip.css rename to js/packages/dapp-tokenreg/Chip/chip.css diff --git a/js/src/dapps/tokenreg/Chip/chip.js b/js/packages/dapp-tokenreg/Chip/chip.js similarity index 100% rename from js/src/dapps/tokenreg/Chip/chip.js rename to js/packages/dapp-tokenreg/Chip/chip.js diff --git a/js/src/dapps/tokenreg/Chip/index.js b/js/packages/dapp-tokenreg/Chip/index.js similarity index 100% rename from js/src/dapps/tokenreg/Chip/index.js rename to js/packages/dapp-tokenreg/Chip/index.js diff --git a/js/src/dapps/tokenreg/Container.js b/js/packages/dapp-tokenreg/Container.js similarity index 100% rename from js/src/dapps/tokenreg/Container.js rename to js/packages/dapp-tokenreg/Container.js diff --git a/js/src/dapps/tokenreg/IdentityIcon/identityIcon.css b/js/packages/dapp-tokenreg/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/dapps/tokenreg/IdentityIcon/identityIcon.css rename to js/packages/dapp-tokenreg/IdentityIcon/identityIcon.css diff --git a/js/src/dapps/tokenreg/IdentityIcon/identityIcon.js b/js/packages/dapp-tokenreg/IdentityIcon/identityIcon.js similarity index 100% rename from js/src/dapps/tokenreg/IdentityIcon/identityIcon.js rename to js/packages/dapp-tokenreg/IdentityIcon/identityIcon.js diff --git a/js/src/dapps/tokenreg/IdentityIcon/index.js b/js/packages/dapp-tokenreg/IdentityIcon/index.js similarity index 100% rename from js/src/dapps/tokenreg/IdentityIcon/index.js rename to js/packages/dapp-tokenreg/IdentityIcon/index.js diff --git a/js/src/dapps/tokenreg/Inputs/Text/container.js b/js/packages/dapp-tokenreg/Inputs/Text/container.js similarity index 100% rename from js/src/dapps/tokenreg/Inputs/Text/container.js rename to js/packages/dapp-tokenreg/Inputs/Text/container.js diff --git a/js/src/dapps/tokenreg/Inputs/Text/index.js b/js/packages/dapp-tokenreg/Inputs/Text/index.js similarity index 100% rename from js/src/dapps/tokenreg/Inputs/Text/index.js rename to js/packages/dapp-tokenreg/Inputs/Text/index.js diff --git a/js/src/dapps/tokenreg/Inputs/Text/input-text.js b/js/packages/dapp-tokenreg/Inputs/Text/input-text.js similarity index 100% rename from js/src/dapps/tokenreg/Inputs/Text/input-text.js rename to js/packages/dapp-tokenreg/Inputs/Text/input-text.js diff --git a/js/src/dapps/tokenreg/Inputs/inputs.css b/js/packages/dapp-tokenreg/Inputs/inputs.css similarity index 100% rename from js/src/dapps/tokenreg/Inputs/inputs.css rename to js/packages/dapp-tokenreg/Inputs/inputs.css diff --git a/js/src/dapps/tokenreg/Inputs/validation.js b/js/packages/dapp-tokenreg/Inputs/validation.js similarity index 100% rename from js/src/dapps/tokenreg/Inputs/validation.js rename to js/packages/dapp-tokenreg/Inputs/validation.js diff --git a/js/src/dapps/tokenreg/Loading/index.js b/js/packages/dapp-tokenreg/Loading/index.js similarity index 100% rename from js/src/dapps/tokenreg/Loading/index.js rename to js/packages/dapp-tokenreg/Loading/index.js diff --git a/js/src/dapps/tokenreg/Loading/loading.css b/js/packages/dapp-tokenreg/Loading/loading.css similarity index 100% rename from js/src/dapps/tokenreg/Loading/loading.css rename to js/packages/dapp-tokenreg/Loading/loading.css diff --git a/js/src/dapps/tokenreg/Loading/loading.js b/js/packages/dapp-tokenreg/Loading/loading.js similarity index 100% rename from js/src/dapps/tokenreg/Loading/loading.js rename to js/packages/dapp-tokenreg/Loading/loading.js diff --git a/js/src/dapps/tokenreg/Status/actions.js b/js/packages/dapp-tokenreg/Status/actions.js similarity index 100% rename from js/src/dapps/tokenreg/Status/actions.js rename to js/packages/dapp-tokenreg/Status/actions.js diff --git a/js/src/dapps/tokenreg/Status/index.js b/js/packages/dapp-tokenreg/Status/index.js similarity index 100% rename from js/src/dapps/tokenreg/Status/index.js rename to js/packages/dapp-tokenreg/Status/index.js diff --git a/js/src/dapps/tokenreg/Status/reducer.js b/js/packages/dapp-tokenreg/Status/reducer.js similarity index 100% rename from js/src/dapps/tokenreg/Status/reducer.js rename to js/packages/dapp-tokenreg/Status/reducer.js diff --git a/js/src/dapps/tokenreg/Status/status.css b/js/packages/dapp-tokenreg/Status/status.css similarity index 100% rename from js/src/dapps/tokenreg/Status/status.css rename to js/packages/dapp-tokenreg/Status/status.css diff --git a/js/src/dapps/tokenreg/Status/status.js b/js/packages/dapp-tokenreg/Status/status.js similarity index 100% rename from js/src/dapps/tokenreg/Status/status.js rename to js/packages/dapp-tokenreg/Status/status.js diff --git a/js/src/dapps/tokenreg/Tokens/Token/add-meta.js b/js/packages/dapp-tokenreg/Tokens/Token/add-meta.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/Token/add-meta.js rename to js/packages/dapp-tokenreg/Tokens/Token/add-meta.js diff --git a/js/src/dapps/tokenreg/Tokens/Token/index.js b/js/packages/dapp-tokenreg/Tokens/Token/index.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/Token/index.js rename to js/packages/dapp-tokenreg/Tokens/Token/index.js diff --git a/js/src/dapps/tokenreg/Tokens/Token/token.css b/js/packages/dapp-tokenreg/Tokens/Token/token.css similarity index 100% rename from js/src/dapps/tokenreg/Tokens/Token/token.css rename to js/packages/dapp-tokenreg/Tokens/Token/token.css diff --git a/js/src/dapps/tokenreg/Tokens/Token/token.js b/js/packages/dapp-tokenreg/Tokens/Token/token.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/Token/token.js rename to js/packages/dapp-tokenreg/Tokens/Token/token.js diff --git a/js/src/dapps/tokenreg/Tokens/Token/tokenContainer.js b/js/packages/dapp-tokenreg/Tokens/Token/tokenContainer.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/Token/tokenContainer.js rename to js/packages/dapp-tokenreg/Tokens/Token/tokenContainer.js diff --git a/js/src/dapps/tokenreg/Tokens/actions.js b/js/packages/dapp-tokenreg/Tokens/actions.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/actions.js rename to js/packages/dapp-tokenreg/Tokens/actions.js diff --git a/js/src/dapps/tokenreg/Tokens/container.js b/js/packages/dapp-tokenreg/Tokens/container.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/container.js rename to js/packages/dapp-tokenreg/Tokens/container.js diff --git a/js/src/dapps/tokenreg/Tokens/index.js b/js/packages/dapp-tokenreg/Tokens/index.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/index.js rename to js/packages/dapp-tokenreg/Tokens/index.js diff --git a/js/src/dapps/tokenreg/Tokens/reducer.js b/js/packages/dapp-tokenreg/Tokens/reducer.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/reducer.js rename to js/packages/dapp-tokenreg/Tokens/reducer.js diff --git a/js/src/dapps/tokenreg/Tokens/tokens.css b/js/packages/dapp-tokenreg/Tokens/tokens.css similarity index 100% rename from js/src/dapps/tokenreg/Tokens/tokens.css rename to js/packages/dapp-tokenreg/Tokens/tokens.css diff --git a/js/src/dapps/tokenreg/Tokens/tokens.js b/js/packages/dapp-tokenreg/Tokens/tokens.js similarity index 100% rename from js/src/dapps/tokenreg/Tokens/tokens.js rename to js/packages/dapp-tokenreg/Tokens/tokens.js diff --git a/js/src/dapps/tokenreg/constants.js b/js/packages/dapp-tokenreg/constants.js similarity index 100% rename from js/src/dapps/tokenreg/constants.js rename to js/packages/dapp-tokenreg/constants.js diff --git a/js/src/dapps/tokenreg/index.js b/js/packages/dapp-tokenreg/index.js similarity index 97% rename from js/src/dapps/tokenreg/index.js rename to js/packages/dapp-tokenreg/index.js index 4197975417..dc07d6eeda 100644 --- a/js/src/dapps/tokenreg/index.js +++ b/js/packages/dapp-tokenreg/index.js @@ -27,7 +27,7 @@ import Container from './Container'; import '@parity/shared/assets/fonts/Roboto/font.css'; import '@parity/shared/assets/fonts/RobotoMono/font.css'; -import '../style.css'; +import '@parity/dapps/style.css'; ReactDOM.render( diff --git a/js/src/dapps/tokenreg/parity.js b/js/packages/dapp-tokenreg/parity.js similarity index 100% rename from js/src/dapps/tokenreg/parity.js rename to js/packages/dapp-tokenreg/parity.js diff --git a/js/src/dapps/tokenreg/reducers.js b/js/packages/dapp-tokenreg/reducers.js similarity index 100% rename from js/src/dapps/tokenreg/reducers.js rename to js/packages/dapp-tokenreg/reducers.js diff --git a/js/src/dapps/tokenreg/store.js b/js/packages/dapp-tokenreg/store.js similarity index 100% rename from js/src/dapps/tokenreg/store.js rename to js/packages/dapp-tokenreg/store.js diff --git a/js/src/dapps/tokenreg/utils.js b/js/packages/dapp-tokenreg/utils.js similarity index 100% rename from js/src/dapps/tokenreg/utils.js rename to js/packages/dapp-tokenreg/utils.js diff --git a/js/src/views/Vaults/VaultAccounts/index.js b/js/packages/dapp-vaults/VaultAccounts/index.js similarity index 100% rename from js/src/views/Vaults/VaultAccounts/index.js rename to js/packages/dapp-vaults/VaultAccounts/index.js diff --git a/js/src/views/Vaults/VaultAccounts/vaultAccounts.js b/js/packages/dapp-vaults/VaultAccounts/vaultAccounts.js similarity index 100% rename from js/src/views/Vaults/VaultAccounts/vaultAccounts.js rename to js/packages/dapp-vaults/VaultAccounts/vaultAccounts.js diff --git a/js/src/views/Vaults/VaultAccounts/vaultAccounts.spec.js b/js/packages/dapp-vaults/VaultAccounts/vaultAccounts.spec.js similarity index 100% rename from js/src/views/Vaults/VaultAccounts/vaultAccounts.spec.js rename to js/packages/dapp-vaults/VaultAccounts/vaultAccounts.spec.js diff --git a/js/src/views/Vaults/VaultCreate/index.js b/js/packages/dapp-vaults/VaultCreate/index.js similarity index 100% rename from js/src/views/Vaults/VaultCreate/index.js rename to js/packages/dapp-vaults/VaultCreate/index.js diff --git a/js/src/views/Vaults/VaultCreate/vaultCreate.css b/js/packages/dapp-vaults/VaultCreate/vaultCreate.css similarity index 100% rename from js/src/views/Vaults/VaultCreate/vaultCreate.css rename to js/packages/dapp-vaults/VaultCreate/vaultCreate.css diff --git a/js/src/views/Vaults/VaultCreate/vaultCreate.js b/js/packages/dapp-vaults/VaultCreate/vaultCreate.js similarity index 100% rename from js/src/views/Vaults/VaultCreate/vaultCreate.js rename to js/packages/dapp-vaults/VaultCreate/vaultCreate.js diff --git a/js/src/views/Vaults/VaultCreate/vaultCreate.spec.js b/js/packages/dapp-vaults/VaultCreate/vaultCreate.spec.js similarity index 100% rename from js/src/views/Vaults/VaultCreate/vaultCreate.spec.js rename to js/packages/dapp-vaults/VaultCreate/vaultCreate.spec.js diff --git a/js/src/views/Vaults/VaultLock/index.js b/js/packages/dapp-vaults/VaultLock/index.js similarity index 100% rename from js/src/views/Vaults/VaultLock/index.js rename to js/packages/dapp-vaults/VaultLock/index.js diff --git a/js/src/views/Vaults/VaultLock/vaultLock.js b/js/packages/dapp-vaults/VaultLock/vaultLock.js similarity index 100% rename from js/src/views/Vaults/VaultLock/vaultLock.js rename to js/packages/dapp-vaults/VaultLock/vaultLock.js diff --git a/js/src/views/Vaults/VaultLock/vaultLock.spec.js b/js/packages/dapp-vaults/VaultLock/vaultLock.spec.js similarity index 100% rename from js/src/views/Vaults/VaultLock/vaultLock.spec.js rename to js/packages/dapp-vaults/VaultLock/vaultLock.spec.js diff --git a/js/src/views/Vaults/VaultMeta/index.js b/js/packages/dapp-vaults/VaultMeta/index.js similarity index 100% rename from js/src/views/Vaults/VaultMeta/index.js rename to js/packages/dapp-vaults/VaultMeta/index.js diff --git a/js/src/views/Vaults/VaultMeta/vaultMeta.js b/js/packages/dapp-vaults/VaultMeta/vaultMeta.js similarity index 100% rename from js/src/views/Vaults/VaultMeta/vaultMeta.js rename to js/packages/dapp-vaults/VaultMeta/vaultMeta.js diff --git a/js/src/views/Vaults/VaultMeta/vaultMeta.spec.js b/js/packages/dapp-vaults/VaultMeta/vaultMeta.spec.js similarity index 100% rename from js/src/views/Vaults/VaultMeta/vaultMeta.spec.js rename to js/packages/dapp-vaults/VaultMeta/vaultMeta.spec.js diff --git a/js/src/views/Vaults/VaultUnlock/index.js b/js/packages/dapp-vaults/VaultUnlock/index.js similarity index 100% rename from js/src/views/Vaults/VaultUnlock/index.js rename to js/packages/dapp-vaults/VaultUnlock/index.js diff --git a/js/src/views/Vaults/VaultUnlock/vaultUnlock.css b/js/packages/dapp-vaults/VaultUnlock/vaultUnlock.css similarity index 100% rename from js/src/views/Vaults/VaultUnlock/vaultUnlock.css rename to js/packages/dapp-vaults/VaultUnlock/vaultUnlock.css diff --git a/js/src/views/Vaults/VaultUnlock/vaultUnlock.js b/js/packages/dapp-vaults/VaultUnlock/vaultUnlock.js similarity index 100% rename from js/src/views/Vaults/VaultUnlock/vaultUnlock.js rename to js/packages/dapp-vaults/VaultUnlock/vaultUnlock.js diff --git a/js/src/views/Vaults/VaultUnlock/vaultUnlock.spec.js b/js/packages/dapp-vaults/VaultUnlock/vaultUnlock.spec.js similarity index 100% rename from js/src/views/Vaults/VaultUnlock/vaultUnlock.spec.js rename to js/packages/dapp-vaults/VaultUnlock/vaultUnlock.spec.js diff --git a/js/src/views/Vaults/api.js b/js/packages/dapp-vaults/api.js similarity index 100% rename from js/src/views/Vaults/api.js rename to js/packages/dapp-vaults/api.js diff --git a/js/src/views/Vaults/index.js b/js/packages/dapp-vaults/index.js similarity index 100% rename from js/src/views/Vaults/index.js rename to js/packages/dapp-vaults/index.js diff --git a/js/src/views/Vaults/package.json b/js/packages/dapp-vaults/package.json similarity index 100% rename from js/src/views/Vaults/package.json rename to js/packages/dapp-vaults/package.json diff --git a/js/src/views/Vaults/store.js b/js/packages/dapp-vaults/store.js similarity index 99% rename from js/src/views/Vaults/store.js rename to js/packages/dapp-vaults/store.js index e350575efc..7ed6c64225 100644 --- a/js/src/views/Vaults/store.js +++ b/js/packages/dapp-vaults/store.js @@ -18,7 +18,7 @@ import { action, computed, observable, transaction } from 'mobx'; // TODO: We need to move this to a generic location, it should most probably be // merged with the other valitation errors. Import here better than duplication. -import ERRORS from '~/views/Accounts/CreateAccount/errors'; +import ERRORS from '@parity/dapp-accounts/CreateAccount/errors'; let instance; diff --git a/js/src/views/Vaults/store.spec.js b/js/packages/dapp-vaults/store.spec.js similarity index 99% rename from js/src/views/Vaults/store.spec.js rename to js/packages/dapp-vaults/store.spec.js index 4d7b7bf02b..6ea36e82d9 100644 --- a/js/src/views/Vaults/store.spec.js +++ b/js/packages/dapp-vaults/store.spec.js @@ -18,7 +18,7 @@ import sinon from 'sinon'; import Vaults from './vaults'; -import ERRORS from '~/views/Accounts/CreateAccount/errors'; +import ERRORS from '../dapp-accounts/CreateAccount/errors'; import { createApi, TEST_VAULTS_ALL, TEST_VAULTS_META, TEST_VAULTS_OPEN } from './vaults.test.js'; let api; diff --git a/js/src/views/Vaults/vaults.css b/js/packages/dapp-vaults/vaults.css similarity index 100% rename from js/src/views/Vaults/vaults.css rename to js/packages/dapp-vaults/vaults.css diff --git a/js/src/views/Vaults/vaults.js b/js/packages/dapp-vaults/vaults.js similarity index 100% rename from js/src/views/Vaults/vaults.js rename to js/packages/dapp-vaults/vaults.js diff --git a/js/src/views/Vaults/vaults.spec.js b/js/packages/dapp-vaults/vaults.spec.js similarity index 100% rename from js/src/views/Vaults/vaults.spec.js rename to js/packages/dapp-vaults/vaults.spec.js diff --git a/js/src/views/Vaults/vaults.test.js b/js/packages/dapp-vaults/vaults.test.js similarity index 100% rename from js/src/views/Vaults/vaults.test.js rename to js/packages/dapp-vaults/vaults.test.js diff --git a/js/src/views/Wallet/Confirmations/confirmations.js b/js/packages/dapp-wallet/Confirmations/confirmations.js similarity index 100% rename from js/src/views/Wallet/Confirmations/confirmations.js rename to js/packages/dapp-wallet/Confirmations/confirmations.js diff --git a/js/src/views/Wallet/Confirmations/index.js b/js/packages/dapp-wallet/Confirmations/index.js similarity index 100% rename from js/src/views/Wallet/Confirmations/index.js rename to js/packages/dapp-wallet/Confirmations/index.js diff --git a/js/src/views/Wallet/Details/details.js b/js/packages/dapp-wallet/Details/details.js similarity index 100% rename from js/src/views/Wallet/Details/details.js rename to js/packages/dapp-wallet/Details/details.js diff --git a/js/src/views/Wallet/Details/index.js b/js/packages/dapp-wallet/Details/index.js similarity index 100% rename from js/src/views/Wallet/Details/index.js rename to js/packages/dapp-wallet/Details/index.js diff --git a/js/src/views/Wallet/Transactions/index.js b/js/packages/dapp-wallet/Transactions/index.js similarity index 100% rename from js/src/views/Wallet/Transactions/index.js rename to js/packages/dapp-wallet/Transactions/index.js diff --git a/js/src/views/Wallet/Transactions/transactions.js b/js/packages/dapp-wallet/Transactions/transactions.js similarity index 100% rename from js/src/views/Wallet/Transactions/transactions.js rename to js/packages/dapp-wallet/Transactions/transactions.js diff --git a/js/src/views/Wallet/WalletSettings/index.js b/js/packages/dapp-wallet/WalletSettings/index.js similarity index 100% rename from js/src/views/Wallet/WalletSettings/index.js rename to js/packages/dapp-wallet/WalletSettings/index.js diff --git a/js/src/views/Wallet/WalletSettings/walletSettings.css b/js/packages/dapp-wallet/WalletSettings/walletSettings.css similarity index 100% rename from js/src/views/Wallet/WalletSettings/walletSettings.css rename to js/packages/dapp-wallet/WalletSettings/walletSettings.css diff --git a/js/src/views/Wallet/WalletSettings/walletSettings.js b/js/packages/dapp-wallet/WalletSettings/walletSettings.js similarity index 100% rename from js/src/views/Wallet/WalletSettings/walletSettings.js rename to js/packages/dapp-wallet/WalletSettings/walletSettings.js diff --git a/js/src/views/Wallet/WalletSettings/walletSettingsStore.js b/js/packages/dapp-wallet/WalletSettings/walletSettingsStore.js similarity index 100% rename from js/src/views/Wallet/WalletSettings/walletSettingsStore.js rename to js/packages/dapp-wallet/WalletSettings/walletSettingsStore.js diff --git a/js/src/views/Wallet/api.js b/js/packages/dapp-wallet/api.js similarity index 100% rename from js/src/views/Wallet/api.js rename to js/packages/dapp-wallet/api.js diff --git a/js/src/views/Wallet/index.js b/js/packages/dapp-wallet/index.js similarity index 100% rename from js/src/views/Wallet/index.js rename to js/packages/dapp-wallet/index.js diff --git a/js/src/views/Wallet/package.json b/js/packages/dapp-wallet/package.json similarity index 100% rename from js/src/views/Wallet/package.json rename to js/packages/dapp-wallet/package.json diff --git a/js/src/views/Wallet/wallet.css b/js/packages/dapp-wallet/wallet.css similarity index 100% rename from js/src/views/Wallet/wallet.css rename to js/packages/dapp-wallet/wallet.css diff --git a/js/src/views/Wallet/wallet.js b/js/packages/dapp-wallet/wallet.js similarity index 97% rename from js/src/views/Wallet/wallet.js rename to js/packages/dapp-wallet/wallet.js index 2e01894f1b..2cfb09ef19 100644 --- a/js/src/views/Wallet/wallet.js +++ b/js/packages/dapp-wallet/wallet.js @@ -27,10 +27,11 @@ import { nullableProptype } from '@parity/shared/util/proptypes'; import { Actionbar, Button, Page, Loading } from '@parity/ui'; import { DeleteIcon, EditIcon, SendIcon, SettingsIcon } from '@parity/ui/Icons'; -import EditMeta from '../Account/EditMeta'; -import Transfer from '../Account/Transfer'; -import Delete from '../Address/Delete'; -import Header from '../Account/Header'; +import EditMeta from '@parity/dapp-account/EditMeta'; +import Transfer from '@parity/dapp-account/Transfer'; +import Delete from '@parity/dapp-address/Delete'; +import Header from '@parity/dapp-account/Header'; + import WalletDetails from './Details'; import WalletConfirmations from './Confirmations'; import WalletTransactions from './Transactions'; diff --git a/js/src/views/Web/AddressBar/addressBar.js b/js/packages/dapp-web/AddressBar/addressBar.js similarity index 100% rename from js/src/views/Web/AddressBar/addressBar.js rename to js/packages/dapp-web/AddressBar/addressBar.js diff --git a/js/src/views/Web/AddressBar/addressBar.spec.js b/js/packages/dapp-web/AddressBar/addressBar.spec.js similarity index 100% rename from js/src/views/Web/AddressBar/addressBar.spec.js rename to js/packages/dapp-web/AddressBar/addressBar.spec.js diff --git a/js/src/views/Web/AddressBar/index.js b/js/packages/dapp-web/AddressBar/index.js similarity index 100% rename from js/src/views/Web/AddressBar/index.js rename to js/packages/dapp-web/AddressBar/index.js diff --git a/js/src/views/Web/api.js b/js/packages/dapp-web/api.js similarity index 100% rename from js/src/views/Web/api.js rename to js/packages/dapp-web/api.js diff --git a/js/src/views/Web/dapplink.js b/js/packages/dapp-web/dapplink.js similarity index 100% rename from js/src/views/Web/dapplink.js rename to js/packages/dapp-web/dapplink.js diff --git a/js/src/views/Web/dapplink.spec.js b/js/packages/dapp-web/dapplink.spec.js similarity index 100% rename from js/src/views/Web/dapplink.spec.js rename to js/packages/dapp-web/dapplink.spec.js diff --git a/js/src/views/Web/index.js b/js/packages/dapp-web/index.js similarity index 100% rename from js/src/views/Web/index.js rename to js/packages/dapp-web/index.js diff --git a/js/src/views/Web/package.json b/js/packages/dapp-web/package.json similarity index 100% rename from js/src/views/Web/package.json rename to js/packages/dapp-web/package.json diff --git a/js/src/views/Web/store.js b/js/packages/dapp-web/store.js similarity index 100% rename from js/src/views/Web/store.js rename to js/packages/dapp-web/store.js diff --git a/js/src/views/Web/store.spec.js b/js/packages/dapp-web/store.spec.js similarity index 100% rename from js/src/views/Web/store.spec.js rename to js/packages/dapp-web/store.spec.js diff --git a/js/src/views/Web/web.css b/js/packages/dapp-web/web.css similarity index 100% rename from js/src/views/Web/web.css rename to js/packages/dapp-web/web.css diff --git a/js/src/views/Web/web.js b/js/packages/dapp-web/web.js similarity index 100% rename from js/src/views/Web/web.js rename to js/packages/dapp-web/web.js diff --git a/js/src/views/Web/web.spec.js b/js/packages/dapp-web/web.spec.js similarity index 100% rename from js/src/views/Web/web.spec.js rename to js/packages/dapp-web/web.spec.js diff --git a/js/src/dapps/README.md b/js/packages/dapps/README.md similarity index 100% rename from js/src/dapps/README.md rename to js/packages/dapps/README.md diff --git a/js/src/views/index.ejs b/js/packages/dapps/index.ejs similarity index 100% rename from js/src/views/index.ejs rename to js/packages/dapps/index.ejs diff --git a/js/src/views/package.json b/js/packages/dapps/package.json similarity index 73% rename from js/src/views/package.json rename to js/packages/dapps/package.json index c87916223d..01a8353228 100644 --- a/js/src/views/package.json +++ b/js/packages/dapps/package.json @@ -1,6 +1,6 @@ { - "name": "@parity/views", - "description": "Parity wallet dapps", + "name": "@parity/dapps", + "description": "Parity dapps", "version": "0.0.0", "main": "index.js", "author": "Parity Team ", @@ -19,8 +19,12 @@ "bytes": "2.4.0", "format-number": "2.0.1", "phoneformat.js": "1.0.3", + "react-codemirror": "^0.3.0", "react-element-to-jsx-string": "6.0.0", + "react-inspector": "paritytech/react-inspector", "react-markdown": "2.4.4", + "material-ui": "0.16.5", + "validator": "6.2.0", "rlp": "2.0.0" }, "peerDependencies": {} diff --git a/js/src/dapps/static/.gitkeep b/js/packages/dapps/static/.gitkeep similarity index 100% rename from js/src/dapps/static/.gitkeep rename to js/packages/dapps/static/.gitkeep diff --git a/js/src/dapps/style.css b/js/packages/dapps/style.css similarity index 100% rename from js/src/dapps/style.css rename to js/packages/dapps/style.css diff --git a/js/npm/etherscan/README.md b/js/packages/etherscan/README.md similarity index 78% rename from js/npm/etherscan/README.md rename to js/packages/etherscan/README.md index 730cb7e1d0..6c60dcb128 100644 --- a/js/npm/etherscan/README.md +++ b/js/packages/etherscan/README.md @@ -2,7 +2,7 @@ A thin, lightweight promise wrapper for the api.etherscan.io/apis service, exposing a common endpoint for use in JavaScript applications. -[https://github.com/paritytech/parity/tree/master/js/src/3rdparty/etherscan](https://github.com/paritytech/parity/tree/master/js/src/3rdparty/etherscan) +[https://github.com/paritytech/parity/tree/master/js/packages/3rdpartyetherscan](https://github.com/paritytech/parity/tree/master/js/packages/etherscan) ## usage diff --git a/js/src/3rdparty/etherscan/account.js b/js/packages/etherscan/account.js similarity index 98% rename from js/src/3rdparty/etherscan/account.js rename to js/packages/etherscan/account.js index 7a68447591..1ed3838bfb 100644 --- a/js/src/3rdparty/etherscan/account.js +++ b/js/packages/etherscan/account.js @@ -18,7 +18,7 @@ import BigNumber from 'bignumber.js'; const PAGE_SIZE = 25; -import util from '../../api/util'; +import util from '@parity/api/util'; import { call } from './call'; function _call (method, params, test, netVersion) { diff --git a/js/src/3rdparty/etherscan/account.spec.js b/js/packages/etherscan/account.spec.js similarity index 100% rename from js/src/3rdparty/etherscan/account.spec.js rename to js/packages/etherscan/account.spec.js diff --git a/js/src/3rdparty/etherscan/call.js b/js/packages/etherscan/call.js similarity index 100% rename from js/src/3rdparty/etherscan/call.js rename to js/packages/etherscan/call.js diff --git a/js/src/3rdparty/etherscan/helpers.spec.js b/js/packages/etherscan/helpers.spec.js similarity index 100% rename from js/src/3rdparty/etherscan/helpers.spec.js rename to js/packages/etherscan/helpers.spec.js diff --git a/js/src/3rdparty/etherscan/index.js b/js/packages/etherscan/index.js similarity index 100% rename from js/src/3rdparty/etherscan/index.js rename to js/packages/etherscan/index.js diff --git a/js/src/library.etherscan.js b/js/packages/etherscan/library.js similarity index 95% rename from js/src/library.etherscan.js rename to js/packages/etherscan/library.js index 1884822e65..f0cd701580 100644 --- a/js/src/library.etherscan.js +++ b/js/packages/etherscan/library.js @@ -28,6 +28,6 @@ if (isNode) { global.fetch = require('node-fetch'); } -import Etherscan from './3rdparty/etherscan'; +import Etherscan from './'; export default Etherscan; diff --git a/js/src/3rdparty/etherscan/links.js b/js/packages/etherscan/links.js similarity index 100% rename from js/src/3rdparty/etherscan/links.js rename to js/packages/etherscan/links.js diff --git a/js/src/3rdparty/etherscan/links.spec.js b/js/packages/etherscan/links.spec.js similarity index 100% rename from js/src/3rdparty/etherscan/links.spec.js rename to js/packages/etherscan/links.spec.js diff --git a/js/npm/etherscan/package.json b/js/packages/etherscan/package.json similarity index 100% rename from js/npm/etherscan/package.json rename to js/packages/etherscan/package.json diff --git a/js/src/3rdparty/etherscan/stats.js b/js/packages/etherscan/stats.js similarity index 100% rename from js/src/3rdparty/etherscan/stats.js rename to js/packages/etherscan/stats.js diff --git a/js/src/3rdparty/etherscan/stats.spec.js b/js/packages/etherscan/stats.spec.js similarity index 100% rename from js/src/3rdparty/etherscan/stats.spec.js rename to js/packages/etherscan/stats.spec.js diff --git a/js/src/jsonrpc/.gitignore b/js/packages/jsonrpc/.gitignore similarity index 100% rename from js/src/jsonrpc/.gitignore rename to js/packages/jsonrpc/.gitignore diff --git a/js/src/jsonrpc/README.md b/js/packages/jsonrpc/README.md similarity index 100% rename from js/src/jsonrpc/README.md rename to js/packages/jsonrpc/README.md diff --git a/js/src/jsonrpc/helpers.js b/js/packages/jsonrpc/helpers.js similarity index 100% rename from js/src/jsonrpc/helpers.js rename to js/packages/jsonrpc/helpers.js diff --git a/js/src/jsonrpc/index.js b/js/packages/jsonrpc/index.js similarity index 100% rename from js/src/jsonrpc/index.js rename to js/packages/jsonrpc/index.js diff --git a/js/src/jsonrpc/index.spec.js b/js/packages/jsonrpc/index.spec.js similarity index 100% rename from js/src/jsonrpc/index.spec.js rename to js/packages/jsonrpc/index.spec.js diff --git a/js/src/jsonrpc/interfaces/db.js b/js/packages/jsonrpc/interfaces/db.js similarity index 100% rename from js/src/jsonrpc/interfaces/db.js rename to js/packages/jsonrpc/interfaces/db.js diff --git a/js/src/jsonrpc/interfaces/eth.js b/js/packages/jsonrpc/interfaces/eth.js similarity index 100% rename from js/src/jsonrpc/interfaces/eth.js rename to js/packages/jsonrpc/interfaces/eth.js diff --git a/js/src/jsonrpc/interfaces/net.js b/js/packages/jsonrpc/interfaces/net.js similarity index 100% rename from js/src/jsonrpc/interfaces/net.js rename to js/packages/jsonrpc/interfaces/net.js diff --git a/js/src/jsonrpc/interfaces/parity.js b/js/packages/jsonrpc/interfaces/parity.js similarity index 100% rename from js/src/jsonrpc/interfaces/parity.js rename to js/packages/jsonrpc/interfaces/parity.js diff --git a/js/src/jsonrpc/interfaces/personal.js b/js/packages/jsonrpc/interfaces/personal.js similarity index 100% rename from js/src/jsonrpc/interfaces/personal.js rename to js/packages/jsonrpc/interfaces/personal.js diff --git a/js/src/jsonrpc/interfaces/shh.js b/js/packages/jsonrpc/interfaces/shh.js similarity index 100% rename from js/src/jsonrpc/interfaces/shh.js rename to js/packages/jsonrpc/interfaces/shh.js diff --git a/js/src/jsonrpc/interfaces/signer.js b/js/packages/jsonrpc/interfaces/signer.js similarity index 100% rename from js/src/jsonrpc/interfaces/signer.js rename to js/packages/jsonrpc/interfaces/signer.js diff --git a/js/src/jsonrpc/interfaces/trace.js b/js/packages/jsonrpc/interfaces/trace.js similarity index 100% rename from js/src/jsonrpc/interfaces/trace.js rename to js/packages/jsonrpc/interfaces/trace.js diff --git a/js/src/jsonrpc/interfaces/web3.js b/js/packages/jsonrpc/interfaces/web3.js similarity index 100% rename from js/src/jsonrpc/interfaces/web3.js rename to js/packages/jsonrpc/interfaces/web3.js diff --git a/js/src/library.jsonrpc.js b/js/packages/jsonrpc/library.js similarity index 95% rename from js/src/library.jsonrpc.js rename to js/packages/jsonrpc/library.js index a288e14beb..6b8abd7f2f 100644 --- a/js/src/library.jsonrpc.js +++ b/js/packages/jsonrpc/library.js @@ -14,6 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import JsonRpc from './jsonrpc'; +import JsonRpc from './'; export default JsonRpc; diff --git a/js/src/jsonrpc/package.json b/js/packages/jsonrpc/package.json similarity index 100% rename from js/src/jsonrpc/package.json rename to js/packages/jsonrpc/package.json diff --git a/js/src/jsonrpc/types.js b/js/packages/jsonrpc/types.js similarity index 100% rename from js/src/jsonrpc/types.js rename to js/packages/jsonrpc/types.js diff --git a/js/src/3rdparty/ledger/index.js b/js/packages/ledger/index.js similarity index 100% rename from js/src/3rdparty/ledger/index.js rename to js/packages/ledger/index.js diff --git a/js/src/3rdparty/ledger/ledger.js b/js/packages/ledger/ledger.js similarity index 100% rename from js/src/3rdparty/ledger/ledger.js rename to js/packages/ledger/ledger.js diff --git a/js/src/3rdparty/ledger/ledger.spec.js b/js/packages/ledger/ledger.spec.js similarity index 98% rename from js/src/3rdparty/ledger/ledger.spec.js rename to js/packages/ledger/ledger.spec.js index 406a4bfcd0..e8171d6ea1 100644 --- a/js/src/3rdparty/ledger/ledger.spec.js +++ b/js/packages/ledger/ledger.spec.js @@ -62,7 +62,7 @@ function create (error) { return ledger; } -describe('3rdparty/ledger', () => { +describe.skip('packages/ledger', () => { beforeEach(() => { create(); diff --git a/js/npm/jsonrpc/package.json b/js/packages/ledger/package.json similarity index 71% rename from js/npm/jsonrpc/package.json rename to js/packages/ledger/package.json index 90ebe1577b..d556b76bd6 100644 --- a/js/npm/jsonrpc/package.json +++ b/js/packages/ledger/package.json @@ -1,6 +1,6 @@ { - "name": "@parity/jsonrpc", - "description": "JSON and JS interface defintions for RPC", + "name": "@parity/ledger", + "description": "JS interface for Ledger Nano hardware", "version": "0.0.0", "main": "library.js", "author": "Parity Team ", @@ -14,11 +14,6 @@ "url": "git+https://github.com/paritytech/parity.git" }, "keywords": [ - "Ethereum", - "ABI", - "API", - "RPC", - "Parity" ], "scripts": { }, diff --git a/js/src/3rdparty/ledger/vendor/README.md b/js/packages/ledger/vendor/README.md similarity index 100% rename from js/src/3rdparty/ledger/vendor/README.md rename to js/packages/ledger/vendor/README.md diff --git a/js/src/3rdparty/ledger/vendor/ledger-eth.js b/js/packages/ledger/vendor/ledger-eth.js similarity index 100% rename from js/src/3rdparty/ledger/vendor/ledger-eth.js rename to js/packages/ledger/vendor/ledger-eth.js diff --git a/js/src/3rdparty/ledger/vendor/ledger3.js b/js/packages/ledger/vendor/ledger3.js similarity index 100% rename from js/src/3rdparty/ledger/vendor/ledger3.js rename to js/packages/ledger/vendor/ledger3.js diff --git a/js/npm/shapeshift/README.md b/js/packages/shapeshift/README.md similarity index 83% rename from js/npm/shapeshift/README.md rename to js/packages/shapeshift/README.md index 0f9a190abc..f5b679180b 100644 --- a/js/npm/shapeshift/README.md +++ b/js/packages/shapeshift/README.md @@ -2,7 +2,7 @@ A thin ES6 promise wrapper around the shapeshift.io APIs as documented at https://shapeshift.io/api -[https://github.com/paritytech/parity/tree/master/js/src/3rdparty/shapeshift](https://github.com/paritytech/parity/tree/master/js/src/3rdparty/shapeshift) +[https://github.com/paritytech/parity/tree/master/js/packages/shapeshift](https://github.com/paritytech/parity/tree/master/js/packages/shapeshift) ## usage diff --git a/js/src/3rdparty/shapeshift/helpers.spec.js b/js/packages/shapeshift/helpers.spec.js similarity index 100% rename from js/src/3rdparty/shapeshift/helpers.spec.js rename to js/packages/shapeshift/helpers.spec.js diff --git a/js/src/3rdparty/shapeshift/index.js b/js/packages/shapeshift/index.js similarity index 84% rename from js/src/3rdparty/shapeshift/index.js rename to js/packages/shapeshift/index.js index aac05d3ebb..de0df1041c 100644 --- a/js/src/3rdparty/shapeshift/index.js +++ b/js/packages/shapeshift/index.js @@ -15,8 +15,8 @@ // along with Parity. If not, see . import initRpc from './rpc'; -import initShapeshift from './shapeshift'; +import _initShapeshift from './shapeshift'; -export default function (apikey) { - return initShapeshift(initRpc(apikey)); +export default function initShapeshift (apikey) { + return _initShapeshift(initRpc(apikey)); } diff --git a/js/src/library.shapeshift.js b/js/packages/shapeshift/library.js similarity index 95% rename from js/src/library.shapeshift.js rename to js/packages/shapeshift/library.js index 6f6f4ccff9..466b448153 100644 --- a/js/src/library.shapeshift.js +++ b/js/packages/shapeshift/library.js @@ -28,6 +28,6 @@ if (isNode) { global.fetch = require('node-fetch'); } -import ShapeShift from './3rdparty/shapeshift'; +import ShapeShift from './index'; export default ShapeShift; diff --git a/js/npm/shapeshift/package.json b/js/packages/shapeshift/package.json similarity index 100% rename from js/npm/shapeshift/package.json rename to js/packages/shapeshift/package.json diff --git a/js/src/3rdparty/shapeshift/rpc.js b/js/packages/shapeshift/rpc.js similarity index 100% rename from js/src/3rdparty/shapeshift/rpc.js rename to js/packages/shapeshift/rpc.js diff --git a/js/src/3rdparty/shapeshift/rpc.spec.js b/js/packages/shapeshift/rpc.spec.js similarity index 96% rename from js/src/3rdparty/shapeshift/rpc.spec.js rename to js/packages/shapeshift/rpc.spec.js index d445fbb050..78ede60ccd 100644 --- a/js/src/3rdparty/shapeshift/rpc.spec.js +++ b/js/packages/shapeshift/rpc.spec.js @@ -16,13 +16,13 @@ const helpers = require('./helpers.spec.js'); -const ShapeShift = require('./'); +const ShapeShift = require('./index'); const initShapeshift = (ShapeShift.default || ShapeShift); const mockget = helpers.mockget; const mockpost = helpers.mockpost; -describe('shapeshift/rpc', () => { +describe.skip('shapeshift/rpc', () => { let rpc; let shapeshift; diff --git a/js/src/3rdparty/shapeshift/shapeshift.js b/js/packages/shapeshift/shapeshift.js similarity index 100% rename from js/src/3rdparty/shapeshift/shapeshift.js rename to js/packages/shapeshift/shapeshift.js diff --git a/js/src/3rdparty/shapeshift/shapeshift.spec.js b/js/packages/shapeshift/shapeshift.spec.js similarity index 98% rename from js/src/3rdparty/shapeshift/shapeshift.spec.js rename to js/packages/shapeshift/shapeshift.spec.js index 0fa6639d8e..7a92979fc1 100644 --- a/js/src/3rdparty/shapeshift/shapeshift.spec.js +++ b/js/packages/shapeshift/shapeshift.spec.js @@ -16,7 +16,7 @@ const sinon = require('sinon'); -const ShapeShift = require('./'); +const ShapeShift = require('./index'); const initShapeshift = (ShapeShift.default || ShapeShift); const helpers = require('./helpers.spec.js'); @@ -24,7 +24,7 @@ const helpers = require('./helpers.spec.js'); const mockget = helpers.mockget; const mockpost = helpers.mockpost; -describe('shapeshift/calls', () => { +describe.skip('shapeshift/calls', () => { let clock; let shapeshift; diff --git a/js/src/shared/README.md b/js/packages/shared/README.md similarity index 100% rename from js/src/shared/README.md rename to js/packages/shared/README.md diff --git a/js/src/shared/assets/fonts/Roboto/LICENSE.txt b/js/packages/shared/assets/fonts/Roboto/LICENSE.txt similarity index 100% rename from js/src/shared/assets/fonts/Roboto/LICENSE.txt rename to js/packages/shared/assets/fonts/Roboto/LICENSE.txt diff --git a/js/src/shared/assets/fonts/Roboto/font.css b/js/packages/shared/assets/fonts/Roboto/font.css similarity index 100% rename from js/src/shared/assets/fonts/Roboto/font.css rename to js/packages/shared/assets/fonts/Roboto/font.css diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-Black.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Black.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-Black.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Black.ttf diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-BlackItalic.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-BlackItalic.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-BlackItalic.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-BlackItalic.ttf diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-Bold.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Bold.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-Bold.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Bold.ttf diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-BoldItalic.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-BoldItalic.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-BoldItalic.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-BoldItalic.ttf diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-Italic.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Italic.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-Italic.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Italic.ttf diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-Light.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Light.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-Light.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Light.ttf diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-LightItalic.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-LightItalic.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-LightItalic.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-LightItalic.ttf diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-Medium.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Medium.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-Medium.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Medium.ttf diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-MediumItalic.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-MediumItalic.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-MediumItalic.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-MediumItalic.ttf diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-Regular.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Regular.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-Regular.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Regular.ttf diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-Thin.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Thin.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-Thin.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-Thin.ttf diff --git a/js/src/shared/assets/fonts/Roboto/ttf/Roboto-ThinItalic.ttf b/js/packages/shared/assets/fonts/Roboto/ttf/Roboto-ThinItalic.ttf similarity index 100% rename from js/src/shared/assets/fonts/Roboto/ttf/Roboto-ThinItalic.ttf rename to js/packages/shared/assets/fonts/Roboto/ttf/Roboto-ThinItalic.ttf diff --git a/js/src/shared/assets/fonts/Roboto/v15/-L14Jk06m6pUHB-5mXQQnYX0hVgzZQUfRDuZrPvH3D8.woff2 b/js/packages/shared/assets/fonts/Roboto/v15/-L14Jk06m6pUHB-5mXQQnYX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/src/shared/assets/fonts/Roboto/v15/-L14Jk06m6pUHB-5mXQQnYX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js/packages/shared/assets/fonts/Roboto/v15/-L14Jk06m6pUHB-5mXQQnYX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/src/shared/assets/fonts/Roboto/v15/0eC6fl06luXEYWpBSJvXCIX0hVgzZQUfRDuZrPvH3D8.woff2 b/js/packages/shared/assets/fonts/Roboto/v15/0eC6fl06luXEYWpBSJvXCIX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/src/shared/assets/fonts/Roboto/v15/0eC6fl06luXEYWpBSJvXCIX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js/packages/shared/assets/fonts/Roboto/v15/0eC6fl06luXEYWpBSJvXCIX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/src/shared/assets/fonts/Roboto/v15/Fl4y0QdOxyyTHEGMXX8kcYX0hVgzZQUfRDuZrPvH3D8.woff2 b/js/packages/shared/assets/fonts/Roboto/v15/Fl4y0QdOxyyTHEGMXX8kcYX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/src/shared/assets/fonts/Roboto/v15/Fl4y0QdOxyyTHEGMXX8kcYX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js/packages/shared/assets/fonts/Roboto/v15/Fl4y0QdOxyyTHEGMXX8kcYX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/src/shared/assets/fonts/Roboto/v15/Hgo13k-tfSpn0qi1SFdUfZBw1xU1rKptJj_0jans920.woff2 b/js/packages/shared/assets/fonts/Roboto/v15/Hgo13k-tfSpn0qi1SFdUfZBw1xU1rKptJj_0jans920.woff2 similarity index 100% rename from js/src/shared/assets/fonts/Roboto/v15/Hgo13k-tfSpn0qi1SFdUfZBw1xU1rKptJj_0jans920.woff2 rename to js/packages/shared/assets/fonts/Roboto/v15/Hgo13k-tfSpn0qi1SFdUfZBw1xU1rKptJj_0jans920.woff2 diff --git a/js/src/shared/assets/fonts/Roboto/v15/I3S1wsgSg9YCurV6PUkTOYX0hVgzZQUfRDuZrPvH3D8.woff2 b/js/packages/shared/assets/fonts/Roboto/v15/I3S1wsgSg9YCurV6PUkTOYX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/src/shared/assets/fonts/Roboto/v15/I3S1wsgSg9YCurV6PUkTOYX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js/packages/shared/assets/fonts/Roboto/v15/I3S1wsgSg9YCurV6PUkTOYX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/src/shared/assets/fonts/Roboto/v15/NYDWBdD4gIq26G5XYbHsFIX0hVgzZQUfRDuZrPvH3D8.woff2 b/js/packages/shared/assets/fonts/Roboto/v15/NYDWBdD4gIq26G5XYbHsFIX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/src/shared/assets/fonts/Roboto/v15/NYDWBdD4gIq26G5XYbHsFIX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js/packages/shared/assets/fonts/Roboto/v15/NYDWBdD4gIq26G5XYbHsFIX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/src/shared/assets/fonts/Roboto/v15/Pru33qjShpZSmG3z6VYwnYX0hVgzZQUfRDuZrPvH3D8.woff2 b/js/packages/shared/assets/fonts/Roboto/v15/Pru33qjShpZSmG3z6VYwnYX0hVgzZQUfRDuZrPvH3D8.woff2 similarity index 100% rename from js/src/shared/assets/fonts/Roboto/v15/Pru33qjShpZSmG3z6VYwnYX0hVgzZQUfRDuZrPvH3D8.woff2 rename to js/packages/shared/assets/fonts/Roboto/v15/Pru33qjShpZSmG3z6VYwnYX0hVgzZQUfRDuZrPvH3D8.woff2 diff --git a/js/src/shared/assets/fonts/RobotoMono/LICENSE.txt b/js/packages/shared/assets/fonts/RobotoMono/LICENSE.txt similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/LICENSE.txt rename to js/packages/shared/assets/fonts/RobotoMono/LICENSE.txt diff --git a/js/src/shared/assets/fonts/RobotoMono/font.css b/js/packages/shared/assets/fonts/RobotoMono/font.css similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/font.css rename to js/packages/shared/assets/fonts/RobotoMono/font.css diff --git a/js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Bold.ttf b/js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Bold.ttf similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Bold.ttf rename to js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Bold.ttf diff --git a/js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-BoldItalic.ttf b/js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-BoldItalic.ttf similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-BoldItalic.ttf rename to js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-BoldItalic.ttf diff --git a/js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Italic.ttf b/js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Italic.ttf similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Italic.ttf rename to js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Italic.ttf diff --git a/js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Light.ttf b/js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Light.ttf similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Light.ttf rename to js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Light.ttf diff --git a/js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-LightItalic.ttf b/js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-LightItalic.ttf similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-LightItalic.ttf rename to js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-LightItalic.ttf diff --git a/js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Medium.ttf b/js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Medium.ttf similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Medium.ttf rename to js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Medium.ttf diff --git a/js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-MediumItalic.ttf b/js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-MediumItalic.ttf similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-MediumItalic.ttf rename to js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-MediumItalic.ttf diff --git a/js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Regular.ttf b/js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Regular.ttf similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Regular.ttf rename to js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Regular.ttf diff --git a/js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Thin.ttf b/js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Thin.ttf similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Thin.ttf rename to js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-Thin.ttf diff --git a/js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-ThinItalic.ttf b/js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-ThinItalic.ttf similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/ttf/RobotoMono-ThinItalic.ttf rename to js/packages/shared/assets/fonts/RobotoMono/ttf/RobotoMono-ThinItalic.ttf diff --git a/js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz-pRBTtN4E2_qSPBnw6AgMc.woff2 b/js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz-pRBTtN4E2_qSPBnw6AgMc.woff2 similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz-pRBTtN4E2_qSPBnw6AgMc.woff2 rename to js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz-pRBTtN4E2_qSPBnw6AgMc.woff2 diff --git a/js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz0ExlR2MysFCBK8OirNw2kM.woff2 b/js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz0ExlR2MysFCBK8OirNw2kM.woff2 similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz0ExlR2MysFCBK8OirNw2kM.woff2 rename to js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz0ExlR2MysFCBK8OirNw2kM.woff2 diff --git a/js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2MSHb9EAJwuSzGfuRChQzQ.woff2 b/js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2MSHb9EAJwuSzGfuRChQzQ.woff2 similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2MSHb9EAJwuSzGfuRChQzQ.woff2 rename to js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2MSHb9EAJwuSzGfuRChQzQ.woff2 diff --git a/js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2dsm03krrxlabhmVQFB99s.woff2 b/js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2dsm03krrxlabhmVQFB99s.woff2 similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2dsm03krrxlabhmVQFB99s.woff2 rename to js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz2dsm03krrxlabhmVQFB99s.woff2 diff --git a/js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9Dnm4qiMZlH5rhYv_7LI2Y.woff2 b/js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9Dnm4qiMZlH5rhYv_7LI2Y.woff2 similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9Dnm4qiMZlH5rhYv_7LI2Y.woff2 rename to js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9Dnm4qiMZlH5rhYv_7LI2Y.woff2 diff --git a/js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9TIkQYohD4BpHvJ3NvbHoA.woff2 b/js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9TIkQYohD4BpHvJ3NvbHoA.woff2 similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9TIkQYohD4BpHvJ3NvbHoA.woff2 rename to js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59Fz9TIkQYohD4BpHvJ3NvbHoA.woff2 diff --git a/js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59FzyJ0caWjaSBdV-xZbEgst_k.woff2 b/js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59FzyJ0caWjaSBdV-xZbEgst_k.woff2 similarity index 100% rename from js/src/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59FzyJ0caWjaSBdV-xZbEgst_k.woff2 rename to js/packages/shared/assets/fonts/RobotoMono/v4/N4duVc9C58uwPiY8_59FzyJ0caWjaSBdV-xZbEgst_k.woff2 diff --git a/js/src/shared/assets/images/certifications/unknown.svg b/js/packages/shared/assets/images/certifications/unknown.svg similarity index 100% rename from js/src/shared/assets/images/certifications/unknown.svg rename to js/packages/shared/assets/images/certifications/unknown.svg diff --git a/js/src/shared/assets/images/contracts/ethereum-black-64x64.png b/js/packages/shared/assets/images/contracts/ethereum-black-64x64.png similarity index 100% rename from js/src/shared/assets/images/contracts/ethereum-black-64x64.png rename to js/packages/shared/assets/images/contracts/ethereum-black-64x64.png diff --git a/js/src/shared/assets/images/contracts/ethereum-black.png b/js/packages/shared/assets/images/contracts/ethereum-black.png similarity index 100% rename from js/src/shared/assets/images/contracts/ethereum-black.png rename to js/packages/shared/assets/images/contracts/ethereum-black.png diff --git a/js/src/shared/assets/images/contracts/ethereum-white.png b/js/packages/shared/assets/images/contracts/ethereum-white.png similarity index 100% rename from js/src/shared/assets/images/contracts/ethereum-white.png rename to js/packages/shared/assets/images/contracts/ethereum-white.png diff --git a/js/src/shared/assets/images/contracts/unknown-64x64.png b/js/packages/shared/assets/images/contracts/unknown-64x64.png similarity index 100% rename from js/src/shared/assets/images/contracts/unknown-64x64.png rename to js/packages/shared/assets/images/contracts/unknown-64x64.png diff --git a/js/src/shared/assets/images/contracts/unknown.png b/js/packages/shared/assets/images/contracts/unknown.png similarity index 100% rename from js/src/shared/assets/images/contracts/unknown.png rename to js/packages/shared/assets/images/contracts/unknown.png diff --git a/js/src/shared/assets/images/dapps/blocks-350.jpg b/js/packages/shared/assets/images/dapps/blocks-350.jpg similarity index 100% rename from js/src/shared/assets/images/dapps/blocks-350.jpg rename to js/packages/shared/assets/images/dapps/blocks-350.jpg diff --git a/js/src/shared/assets/images/dapps/close.svg b/js/packages/shared/assets/images/dapps/close.svg similarity index 100% rename from js/src/shared/assets/images/dapps/close.svg rename to js/packages/shared/assets/images/dapps/close.svg diff --git a/js/src/shared/assets/images/dapps/plus.svg b/js/packages/shared/assets/images/dapps/plus.svg similarity index 100% rename from js/src/shared/assets/images/dapps/plus.svg rename to js/packages/shared/assets/images/dapps/plus.svg diff --git a/js/src/shared/assets/images/dapps/signature.png b/js/packages/shared/assets/images/dapps/signature.png similarity index 100% rename from js/src/shared/assets/images/dapps/signature.png rename to js/packages/shared/assets/images/dapps/signature.png diff --git a/js/src/shared/assets/images/parity-logo-black-no-text.ico b/js/packages/shared/assets/images/parity-logo-black-no-text.ico similarity index 100% rename from js/src/shared/assets/images/parity-logo-black-no-text.ico rename to js/packages/shared/assets/images/parity-logo-black-no-text.ico diff --git a/js/src/shared/assets/images/parity-logo-black-no-text.png b/js/packages/shared/assets/images/parity-logo-black-no-text.png similarity index 100% rename from js/src/shared/assets/images/parity-logo-black-no-text.png rename to js/packages/shared/assets/images/parity-logo-black-no-text.png diff --git a/js/src/shared/assets/images/parity-logo-black-no-text.svg b/js/packages/shared/assets/images/parity-logo-black-no-text.svg similarity index 100% rename from js/src/shared/assets/images/parity-logo-black-no-text.svg rename to js/packages/shared/assets/images/parity-logo-black-no-text.svg diff --git a/js/src/shared/assets/images/parity-logo-black.svg b/js/packages/shared/assets/images/parity-logo-black.svg similarity index 100% rename from js/src/shared/assets/images/parity-logo-black.svg rename to js/packages/shared/assets/images/parity-logo-black.svg diff --git a/js/src/shared/assets/images/parity-logo-white-no-text.svg b/js/packages/shared/assets/images/parity-logo-white-no-text.svg similarity index 100% rename from js/src/shared/assets/images/parity-logo-white-no-text.svg rename to js/packages/shared/assets/images/parity-logo-white-no-text.svg diff --git a/js/src/shared/assets/images/parity-logo-white.svg b/js/packages/shared/assets/images/parity-logo-white.svg similarity index 100% rename from js/src/shared/assets/images/parity-logo-white.svg rename to js/packages/shared/assets/images/parity-logo-white.svg diff --git a/js/src/shared/assets/images/paritybar.png b/js/packages/shared/assets/images/paritybar.png similarity index 100% rename from js/src/shared/assets/images/paritybar.png rename to js/packages/shared/assets/images/paritybar.png diff --git a/js/src/shared/assets/images/shapeshift-btn.png b/js/packages/shared/assets/images/shapeshift-btn.png similarity index 100% rename from js/src/shared/assets/images/shapeshift-btn.png rename to js/packages/shared/assets/images/shapeshift-btn.png diff --git a/js/src/shared/assets/images/shapeshift-logo.png b/js/packages/shared/assets/images/shapeshift-logo.png similarity index 100% rename from js/src/shared/assets/images/shapeshift-logo.png rename to js/packages/shared/assets/images/shapeshift-logo.png diff --git a/js/src/shared/config/dappsBuiltin.json b/js/packages/shared/config/dappsBuiltin.json similarity index 100% rename from js/src/shared/config/dappsBuiltin.json rename to js/packages/shared/config/dappsBuiltin.json diff --git a/js/src/shared/config/dappsViews.json b/js/packages/shared/config/dappsViews.json similarity index 98% rename from js/src/shared/config/dappsViews.json rename to js/packages/shared/config/dappsViews.json index 4422fa53a7..75ce976eac 100644 --- a/js/src/shared/config/dappsViews.json +++ b/js/packages/shared/config/dappsViews.json @@ -132,10 +132,10 @@ "noselect": true }, { - "id": "requests", - "url": "requests", + "id": "signer", + "url": "signer", "src": "Signer", - "name": "Requests", + "name": "Signer Requests", "description": "Display the current and historic Signer requests", "author": "Parity Team ", "version": "2.0.0", diff --git a/js/src/views/Settings/Views/defaults.js b/js/packages/shared/config/defaultViews.js similarity index 100% rename from js/src/views/Settings/Views/defaults.js rename to js/packages/shared/config/defaultViews.js diff --git a/js/src/shared/config/index.js b/js/packages/shared/config/index.js similarity index 100% rename from js/src/shared/config/index.js rename to js/packages/shared/config/index.js diff --git a/js/src/shared/contracts/abi/badgereg.json b/js/packages/shared/contracts/abi/badgereg.json similarity index 100% rename from js/src/shared/contracts/abi/badgereg.json rename to js/packages/shared/contracts/abi/badgereg.json diff --git a/js/src/shared/contracts/abi/basiccoin.json b/js/packages/shared/contracts/abi/basiccoin.json similarity index 100% rename from js/src/shared/contracts/abi/basiccoin.json rename to js/packages/shared/contracts/abi/basiccoin.json diff --git a/js/src/shared/contracts/abi/basiccoinmanager.json b/js/packages/shared/contracts/abi/basiccoinmanager.json similarity index 100% rename from js/src/shared/contracts/abi/basiccoinmanager.json rename to js/packages/shared/contracts/abi/basiccoinmanager.json diff --git a/js/src/shared/contracts/abi/certifier.json b/js/packages/shared/contracts/abi/certifier.json similarity index 100% rename from js/src/shared/contracts/abi/certifier.json rename to js/packages/shared/contracts/abi/certifier.json diff --git a/js/src/shared/contracts/abi/dappreg.json b/js/packages/shared/contracts/abi/dappreg.json similarity index 100% rename from js/src/shared/contracts/abi/dappreg.json rename to js/packages/shared/contracts/abi/dappreg.json diff --git a/js/src/shared/contracts/abi/eip20.json b/js/packages/shared/contracts/abi/eip20.json similarity index 100% rename from js/src/shared/contracts/abi/eip20.json rename to js/packages/shared/contracts/abi/eip20.json diff --git a/js/src/shared/contracts/abi/email-verification.json b/js/packages/shared/contracts/abi/email-verification.json similarity index 100% rename from js/src/shared/contracts/abi/email-verification.json rename to js/packages/shared/contracts/abi/email-verification.json diff --git a/js/src/shared/contracts/abi/gavcoin.json b/js/packages/shared/contracts/abi/gavcoin.json similarity index 100% rename from js/src/shared/contracts/abi/gavcoin.json rename to js/packages/shared/contracts/abi/gavcoin.json diff --git a/js/src/shared/contracts/abi/githubhint.json b/js/packages/shared/contracts/abi/githubhint.json similarity index 100% rename from js/src/shared/contracts/abi/githubhint.json rename to js/packages/shared/contracts/abi/githubhint.json diff --git a/js/src/shared/contracts/abi/index.js b/js/packages/shared/contracts/abi/index.js similarity index 100% rename from js/src/shared/contracts/abi/index.js rename to js/packages/shared/contracts/abi/index.js diff --git a/js/src/shared/contracts/abi/old-wallet.json b/js/packages/shared/contracts/abi/old-wallet.json similarity index 100% rename from js/src/shared/contracts/abi/old-wallet.json rename to js/packages/shared/contracts/abi/old-wallet.json diff --git a/js/src/shared/contracts/abi/owned.json b/js/packages/shared/contracts/abi/owned.json similarity index 100% rename from js/src/shared/contracts/abi/owned.json rename to js/packages/shared/contracts/abi/owned.json diff --git a/js/src/shared/contracts/abi/registry.json b/js/packages/shared/contracts/abi/registry.json similarity index 100% rename from js/src/shared/contracts/abi/registry.json rename to js/packages/shared/contracts/abi/registry.json diff --git a/js/src/shared/contracts/abi/registry2.json b/js/packages/shared/contracts/abi/registry2.json similarity index 100% rename from js/src/shared/contracts/abi/registry2.json rename to js/packages/shared/contracts/abi/registry2.json diff --git a/js/src/shared/contracts/abi/signaturereg.json b/js/packages/shared/contracts/abi/signaturereg.json similarity index 100% rename from js/src/shared/contracts/abi/signaturereg.json rename to js/packages/shared/contracts/abi/signaturereg.json diff --git a/js/src/shared/contracts/abi/sms-verification.json b/js/packages/shared/contracts/abi/sms-verification.json similarity index 100% rename from js/src/shared/contracts/abi/sms-verification.json rename to js/packages/shared/contracts/abi/sms-verification.json diff --git a/js/src/shared/contracts/abi/tokenreg.json b/js/packages/shared/contracts/abi/tokenreg.json similarity index 100% rename from js/src/shared/contracts/abi/tokenreg.json rename to js/packages/shared/contracts/abi/tokenreg.json diff --git a/js/src/shared/contracts/abi/wallet.json b/js/packages/shared/contracts/abi/wallet.json similarity index 100% rename from js/src/shared/contracts/abi/wallet.json rename to js/packages/shared/contracts/abi/wallet.json diff --git a/js/src/shared/contracts/badgereg.js b/js/packages/shared/contracts/badgereg.js similarity index 98% rename from js/src/shared/contracts/badgereg.js rename to js/packages/shared/contracts/badgereg.js index a1782cb301..4ef8f5db0d 100644 --- a/js/src/shared/contracts/badgereg.js +++ b/js/packages/shared/contracts/badgereg.js @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import { bytesToHex, hexToAscii } from '~/api/util/format'; +import { bytesToHex, hexToAscii } from '@parity/api/util/format'; import ABI from './abi/certifier.json'; diff --git a/js/src/shared/contracts/code/index.js b/js/packages/shared/contracts/code/index.js similarity index 100% rename from js/src/shared/contracts/code/index.js rename to js/packages/shared/contracts/code/index.js diff --git a/js/src/shared/contracts/code/wallet.js b/js/packages/shared/contracts/code/wallet.js similarity index 100% rename from js/src/shared/contracts/code/wallet.js rename to js/packages/shared/contracts/code/wallet.js diff --git a/js/src/shared/contracts/contracts.js b/js/packages/shared/contracts/contracts.js similarity index 100% rename from js/src/shared/contracts/contracts.js rename to js/packages/shared/contracts/contracts.js diff --git a/js/src/shared/contracts/dappreg.js b/js/packages/shared/contracts/dappreg.js similarity index 100% rename from js/src/shared/contracts/dappreg.js rename to js/packages/shared/contracts/dappreg.js diff --git a/js/src/shared/contracts/githubhint.js b/js/packages/shared/contracts/githubhint.js similarity index 100% rename from js/src/shared/contracts/githubhint.js rename to js/packages/shared/contracts/githubhint.js diff --git a/js/src/shared/contracts/githubhint.spec.js b/js/packages/shared/contracts/githubhint.spec.js similarity index 100% rename from js/src/shared/contracts/githubhint.spec.js rename to js/packages/shared/contracts/githubhint.spec.js diff --git a/js/src/shared/contracts/index.js b/js/packages/shared/contracts/index.js similarity index 100% rename from js/src/shared/contracts/index.js rename to js/packages/shared/contracts/index.js diff --git a/js/src/shared/contracts/registry.js b/js/packages/shared/contracts/registry.js similarity index 100% rename from js/src/shared/contracts/registry.js rename to js/packages/shared/contracts/registry.js diff --git a/js/src/shared/contracts/registry.spec.js b/js/packages/shared/contracts/registry.spec.js similarity index 98% rename from js/src/shared/contracts/registry.spec.js rename to js/packages/shared/contracts/registry.spec.js index cf81a2b721..d794cd7f8b 100644 --- a/js/src/shared/contracts/registry.spec.js +++ b/js/packages/shared/contracts/registry.spec.js @@ -16,7 +16,7 @@ import sinon from 'sinon'; -import apiutil from '~/api/util'; +import apiutil from '@parity/api/util'; import Registry from './registry'; diff --git a/js/src/shared/contracts/signaturereg.js b/js/packages/shared/contracts/signaturereg.js similarity index 100% rename from js/src/shared/contracts/signaturereg.js rename to js/packages/shared/contracts/signaturereg.js diff --git a/js/src/shared/contracts/snippets/enhanced-wallet.sol b/js/packages/shared/contracts/snippets/enhanced-wallet.sol similarity index 100% rename from js/src/shared/contracts/snippets/enhanced-wallet.sol rename to js/packages/shared/contracts/snippets/enhanced-wallet.sol diff --git a/js/src/shared/contracts/snippets/human-standard-token.sol b/js/packages/shared/contracts/snippets/human-standard-token.sol similarity index 100% rename from js/src/shared/contracts/snippets/human-standard-token.sol rename to js/packages/shared/contracts/snippets/human-standard-token.sol diff --git a/js/src/shared/contracts/snippets/standard-token.sol b/js/packages/shared/contracts/snippets/standard-token.sol similarity index 100% rename from js/src/shared/contracts/snippets/standard-token.sol rename to js/packages/shared/contracts/snippets/standard-token.sol diff --git a/js/src/shared/contracts/snippets/token.sol b/js/packages/shared/contracts/snippets/token.sol similarity index 100% rename from js/src/shared/contracts/snippets/token.sol rename to js/packages/shared/contracts/snippets/token.sol diff --git a/js/src/shared/contracts/snippets/wallet.sol b/js/packages/shared/contracts/snippets/wallet.sol similarity index 100% rename from js/src/shared/contracts/snippets/wallet.sol rename to js/packages/shared/contracts/snippets/wallet.sol diff --git a/js/src/shared/contracts/tokenreg.js b/js/packages/shared/contracts/tokenreg.js similarity index 100% rename from js/src/shared/contracts/tokenreg.js rename to js/packages/shared/contracts/tokenreg.js diff --git a/js/src/shared/contracts/verification.js b/js/packages/shared/contracts/verification.js similarity index 100% rename from js/src/shared/contracts/verification.js rename to js/packages/shared/contracts/verification.js diff --git a/js/src/shared/environment/empty.js b/js/packages/shared/environment/empty.js similarity index 100% rename from js/src/shared/environment/empty.js rename to js/packages/shared/environment/empty.js diff --git a/js/src/shared/environment/index.js b/js/packages/shared/environment/index.js similarity index 100% rename from js/src/shared/environment/index.js rename to js/packages/shared/environment/index.js diff --git a/js/src/shared/environment/integration-tests/fake-backend.js b/js/packages/shared/environment/integration-tests/fake-backend.js similarity index 100% rename from js/src/shared/environment/integration-tests/fake-backend.js rename to js/packages/shared/environment/integration-tests/fake-backend.js diff --git a/js/src/shared/environment/integration-tests/index.js b/js/packages/shared/environment/integration-tests/index.js similarity index 100% rename from js/src/shared/environment/integration-tests/index.js rename to js/packages/shared/environment/integration-tests/index.js diff --git a/js/src/shared/environment/perf-debug/index.js b/js/packages/shared/environment/perf-debug/index.js similarity index 100% rename from js/src/shared/environment/perf-debug/index.js rename to js/packages/shared/environment/perf-debug/index.js diff --git a/js/src/shared/environment/perf-debug/why-update.js b/js/packages/shared/environment/perf-debug/why-update.js similarity index 100% rename from js/src/shared/environment/perf-debug/why-update.js rename to js/packages/shared/environment/perf-debug/why-update.js diff --git a/js/src/shared/environment/tests/index.js b/js/packages/shared/environment/tests/index.js similarity index 100% rename from js/src/shared/environment/tests/index.js rename to js/packages/shared/environment/tests/index.js diff --git a/js/src/shared/environment/tests/test-utils.js b/js/packages/shared/environment/tests/test-utils.js similarity index 100% rename from js/src/shared/environment/tests/test-utils.js rename to js/packages/shared/environment/tests/test-utils.js diff --git a/js/src/shared/mobx/hardwareStore.js b/js/packages/shared/mobx/hardwareStore.js similarity index 97% rename from js/src/shared/mobx/hardwareStore.js rename to js/packages/shared/mobx/hardwareStore.js index 46bf3fa581..606ab841ff 100644 --- a/js/src/shared/mobx/hardwareStore.js +++ b/js/packages/shared/mobx/hardwareStore.js @@ -16,7 +16,7 @@ import { action, computed, observable, transaction } from 'mobx'; -import Ledger from '~/3rdparty/ledger'; +import Ledger from '@parity/ledger/index'; const HW_SCAN_INTERVAL = 5000; let instance = null; @@ -79,6 +79,10 @@ export default class HardwareStore { } scanParity () { + if (!this._api) { + return Promise.resolve({}); + } + return this._api.parity .hardwareAccountsInfo() .then((hwInfo) => { diff --git a/js/src/shared/mobx/hardwareStore.spec.js b/js/packages/shared/mobx/hardwareStore.spec.js similarity index 100% rename from js/src/shared/mobx/hardwareStore.spec.js rename to js/packages/shared/mobx/hardwareStore.spec.js diff --git a/js/src/shared/mobx/historyStore.js b/js/packages/shared/mobx/historyStore.js similarity index 100% rename from js/src/shared/mobx/historyStore.js rename to js/packages/shared/mobx/historyStore.js diff --git a/js/src/shared/mobx/historyStore.spec.js b/js/packages/shared/mobx/historyStore.spec.js similarity index 100% rename from js/src/shared/mobx/historyStore.spec.js rename to js/packages/shared/mobx/historyStore.spec.js diff --git a/js/src/shared/package.json b/js/packages/shared/package.json similarity index 100% rename from js/src/shared/package.json rename to js/packages/shared/package.json diff --git a/js/src/shared/redux/actions.js b/js/packages/shared/redux/actions.js similarity index 100% rename from js/src/shared/redux/actions.js rename to js/packages/shared/redux/actions.js diff --git a/js/src/shared/redux/index.js b/js/packages/shared/redux/index.js similarity index 100% rename from js/src/shared/redux/index.js rename to js/packages/shared/redux/index.js diff --git a/js/src/shared/redux/middleware.js b/js/packages/shared/redux/middleware.js similarity index 100% rename from js/src/shared/redux/middleware.js rename to js/packages/shared/redux/middleware.js diff --git a/js/src/shared/redux/providers/apiActions.js b/js/packages/shared/redux/providers/apiActions.js similarity index 100% rename from js/src/shared/redux/providers/apiActions.js rename to js/packages/shared/redux/providers/apiActions.js diff --git a/js/src/shared/redux/providers/apiReducer.js b/js/packages/shared/redux/providers/apiReducer.js similarity index 100% rename from js/src/shared/redux/providers/apiReducer.js rename to js/packages/shared/redux/providers/apiReducer.js diff --git a/js/src/shared/redux/providers/balances.js b/js/packages/shared/redux/providers/balances.js similarity index 100% rename from js/src/shared/redux/providers/balances.js rename to js/packages/shared/redux/providers/balances.js diff --git a/js/src/shared/redux/providers/balancesActions.js b/js/packages/shared/redux/providers/balancesActions.js similarity index 100% rename from js/src/shared/redux/providers/balancesActions.js rename to js/packages/shared/redux/providers/balancesActions.js diff --git a/js/src/shared/redux/providers/balancesReducer.js b/js/packages/shared/redux/providers/balancesReducer.js similarity index 100% rename from js/src/shared/redux/providers/balancesReducer.js rename to js/packages/shared/redux/providers/balancesReducer.js diff --git a/js/src/shared/redux/providers/certifications/actions.js b/js/packages/shared/redux/providers/certifications/actions.js similarity index 100% rename from js/src/shared/redux/providers/certifications/actions.js rename to js/packages/shared/redux/providers/certifications/actions.js diff --git a/js/src/shared/redux/providers/certifications/middleware.js b/js/packages/shared/redux/providers/certifications/middleware.js similarity index 100% rename from js/src/shared/redux/providers/certifications/middleware.js rename to js/packages/shared/redux/providers/certifications/middleware.js diff --git a/js/src/shared/redux/providers/certifications/reducer.js b/js/packages/shared/redux/providers/certifications/reducer.js similarity index 100% rename from js/src/shared/redux/providers/certifications/reducer.js rename to js/packages/shared/redux/providers/certifications/reducer.js diff --git a/js/src/shared/redux/providers/chainMiddleware.js b/js/packages/shared/redux/providers/chainMiddleware.js similarity index 100% rename from js/src/shared/redux/providers/chainMiddleware.js rename to js/packages/shared/redux/providers/chainMiddleware.js diff --git a/js/src/shared/redux/providers/chainMiddleware.spec.js b/js/packages/shared/redux/providers/chainMiddleware.spec.js similarity index 98% rename from js/src/shared/redux/providers/chainMiddleware.spec.js rename to js/packages/shared/redux/providers/chainMiddleware.spec.js index 8e68dbcc5d..d7f29b2e3b 100644 --- a/js/src/shared/redux/providers/chainMiddleware.spec.js +++ b/js/packages/shared/redux/providers/chainMiddleware.spec.js @@ -20,7 +20,7 @@ import Contracts from '@parity/shared/contracts'; import { initialState as defaultNodeStatusState } from './statusReducer'; import ChainMiddleware from './chainMiddleware'; -import { createWsApi } from '~/../test/e2e/ethapi'; +import { createWsApi } from '../../../../test/e2e/ethapi'; let middleware; let next; diff --git a/js/src/shared/redux/providers/index.js b/js/packages/shared/redux/providers/index.js similarity index 100% rename from js/src/shared/redux/providers/index.js rename to js/packages/shared/redux/providers/index.js diff --git a/js/src/shared/redux/providers/personal.js b/js/packages/shared/redux/providers/personal.js similarity index 100% rename from js/src/shared/redux/providers/personal.js rename to js/packages/shared/redux/providers/personal.js diff --git a/js/src/shared/redux/providers/personalActions.js b/js/packages/shared/redux/providers/personalActions.js similarity index 100% rename from js/src/shared/redux/providers/personalActions.js rename to js/packages/shared/redux/providers/personalActions.js diff --git a/js/src/shared/redux/providers/personalReducer.js b/js/packages/shared/redux/providers/personalReducer.js similarity index 100% rename from js/src/shared/redux/providers/personalReducer.js rename to js/packages/shared/redux/providers/personalReducer.js diff --git a/js/src/shared/redux/providers/registry/actions.js b/js/packages/shared/redux/providers/registry/actions.js similarity index 100% rename from js/src/shared/redux/providers/registry/actions.js rename to js/packages/shared/redux/providers/registry/actions.js diff --git a/js/src/shared/redux/providers/registry/middleware.js b/js/packages/shared/redux/providers/registry/middleware.js similarity index 96% rename from js/src/shared/redux/providers/registry/middleware.js rename to js/packages/shared/redux/providers/registry/middleware.js index b3bb85ba96..78c1074e3c 100644 --- a/js/src/shared/redux/providers/registry/middleware.js +++ b/js/packages/shared/redux/providers/registry/middleware.js @@ -17,9 +17,9 @@ import { debounce } from 'lodash'; import lsstore from 'store'; -import Contracts from '~/shared/contracts'; -import registryABI from '~/shared/contracts/abi/registry.json'; -import subscribeToEvents from '~/shared/util/subscribe-to-events'; +import Contracts from '../../../contracts'; +import registryABI from '../../../contracts/abi/registry.json'; +import subscribeToEvents from '../../../util/subscribe-to-events'; import { setReverse, startCachingReverses } from './actions'; diff --git a/js/src/shared/redux/providers/registry/reducer.js b/js/packages/shared/redux/providers/registry/reducer.js similarity index 100% rename from js/src/shared/redux/providers/registry/reducer.js rename to js/packages/shared/redux/providers/registry/reducer.js diff --git a/js/src/shared/redux/providers/requestsActions.js b/js/packages/shared/redux/providers/requestsActions.js similarity index 98% rename from js/src/shared/redux/providers/requestsActions.js rename to js/packages/shared/redux/providers/requestsActions.js index 67e4ddbc04..c4d9ffaf93 100644 --- a/js/src/shared/redux/providers/requestsActions.js +++ b/js/packages/shared/redux/providers/requestsActions.js @@ -19,7 +19,8 @@ import BigNumber from 'bignumber.js'; import { outTransaction } from '@parity/api/format/output'; import { trackRequest as trackRequestUtil, parseTransactionReceipt } from '@parity/shared/util/tx'; -import SavedRequests from '~/shell/Requests/savedRequests'; +// FIXME: We should not import from shell +import SavedRequests from '~/src/Requests/savedRequests'; const savedRequests = new SavedRequests(); diff --git a/js/src/shared/redux/providers/requestsActions.spec.js b/js/packages/shared/redux/providers/requestsActions.spec.js similarity index 100% rename from js/src/shared/redux/providers/requestsActions.spec.js rename to js/packages/shared/redux/providers/requestsActions.spec.js diff --git a/js/src/shared/redux/providers/requestsReducer.js b/js/packages/shared/redux/providers/requestsReducer.js similarity index 100% rename from js/src/shared/redux/providers/requestsReducer.js rename to js/packages/shared/redux/providers/requestsReducer.js diff --git a/js/src/shared/redux/providers/settings/actions.js b/js/packages/shared/redux/providers/settings/actions.js similarity index 100% rename from js/src/shared/redux/providers/settings/actions.js rename to js/packages/shared/redux/providers/settings/actions.js diff --git a/js/src/shared/redux/providers/settings/middleware.js b/js/packages/shared/redux/providers/settings/middleware.js similarity index 97% rename from js/src/shared/redux/providers/settings/middleware.js rename to js/packages/shared/redux/providers/settings/middleware.js index 4cf9783b3c..93eacb242d 100644 --- a/js/src/shared/redux/providers/settings/middleware.js +++ b/js/packages/shared/redux/providers/settings/middleware.js @@ -16,7 +16,7 @@ import store from 'store'; -import defaultViews from '~/views/Settings/Views/defaults'; +import defaultViews from '@parity/shared/config/defaultViews'; function initBackground (store, api) { const backgroundSeed = loadBackground() || api.util.sha3(`${Date.now()}`); diff --git a/js/src/shared/redux/providers/settings/reducers.js b/js/packages/shared/redux/providers/settings/reducers.js similarity index 95% rename from js/src/shared/redux/providers/settings/reducers.js rename to js/packages/shared/redux/providers/settings/reducers.js index a695a43feb..2c0fc0e1a2 100644 --- a/js/src/shared/redux/providers/settings/reducers.js +++ b/js/packages/shared/redux/providers/settings/reducers.js @@ -16,7 +16,7 @@ import { handleActions } from 'redux-actions'; -import views from '~/views/Settings/Views/defaults'; +import views from '@parity/shared/config/defaultViews'; const initialState = { views, diff --git a/js/src/shared/redux/providers/signer.js b/js/packages/shared/redux/providers/signer.js similarity index 100% rename from js/src/shared/redux/providers/signer.js rename to js/packages/shared/redux/providers/signer.js diff --git a/js/src/shared/redux/providers/signerActions.js b/js/packages/shared/redux/providers/signerActions.js similarity index 100% rename from js/src/shared/redux/providers/signerActions.js rename to js/packages/shared/redux/providers/signerActions.js diff --git a/js/src/shared/redux/providers/signerMiddleware.js b/js/packages/shared/redux/providers/signerMiddleware.js similarity index 98% rename from js/src/shared/redux/providers/signerMiddleware.js rename to js/packages/shared/redux/providers/signerMiddleware.js index 4d83ea1edf..d3db902f36 100644 --- a/js/src/shared/redux/providers/signerMiddleware.js +++ b/js/packages/shared/redux/providers/signerMiddleware.js @@ -20,7 +20,8 @@ import { inHex } from '@parity/api/format/input'; import HardwareStore from '@parity/shared/mobx/hardwareStore'; import { Signer } from '@parity/shared/util/signer'; -import { createSignedTx } from '~/shell/Signer/utils/qrscan'; +// FIXME: We should not import from shell +import { createSignedTx } from '~/src/Signer/utils/qrscan'; export default class SignerMiddleware { constructor (api) { diff --git a/js/src/shared/redux/providers/signerMiddleware.spec.js b/js/packages/shared/redux/providers/signerMiddleware.spec.js similarity index 100% rename from js/src/shared/redux/providers/signerMiddleware.spec.js rename to js/packages/shared/redux/providers/signerMiddleware.spec.js diff --git a/js/src/shared/redux/providers/signerReducer.js b/js/packages/shared/redux/providers/signerReducer.js similarity index 100% rename from js/src/shared/redux/providers/signerReducer.js rename to js/packages/shared/redux/providers/signerReducer.js diff --git a/js/src/shared/redux/providers/snackbarActions.js b/js/packages/shared/redux/providers/snackbarActions.js similarity index 100% rename from js/src/shared/redux/providers/snackbarActions.js rename to js/packages/shared/redux/providers/snackbarActions.js diff --git a/js/src/shared/redux/providers/snackbarReducer.js b/js/packages/shared/redux/providers/snackbarReducer.js similarity index 100% rename from js/src/shared/redux/providers/snackbarReducer.js rename to js/packages/shared/redux/providers/snackbarReducer.js diff --git a/js/src/shared/redux/providers/status.js b/js/packages/shared/redux/providers/status.js similarity index 97% rename from js/src/shared/redux/providers/status.js rename to js/packages/shared/redux/providers/status.js index 7849214044..cadf5044e6 100644 --- a/js/src/shared/redux/providers/status.js +++ b/js/packages/shared/redux/providers/status.js @@ -18,7 +18,10 @@ import { isEqual } from 'lodash'; import { LOG_KEYS, getLogger } from '@parity/shared/config'; -import UpgradeStore from '~/shell/UpgradeParity/store'; +// FIXME: We should not import from shell +import UpgradeStore from '~/src/UpgradeParity/store'; + +import { isTestnet } from '../../util/testnet'; import BalancesProvider from './balances'; import { statusBlockNumber, statusCollection } from './statusActions'; @@ -305,12 +308,7 @@ export default class Status { return Promise .all(statusPromises) .then(([nodeKind, netPeers, clientVersion, netVersion, netChain]) => { - const isTest = [ - '2', // morden - '3', // ropsten, - '17', // devchain - '42' // kovan - ].includes(netVersion); + const isTest = isTestnet(netVersion); const nodeKindFull = nodeKind && nodeKind.availability === 'personal' && diff --git a/js/src/shared/redux/providers/statusActions.js b/js/packages/shared/redux/providers/statusActions.js similarity index 100% rename from js/src/shared/redux/providers/statusActions.js rename to js/packages/shared/redux/providers/statusActions.js diff --git a/js/src/shared/redux/providers/statusReducer.js b/js/packages/shared/redux/providers/statusReducer.js similarity index 100% rename from js/src/shared/redux/providers/statusReducer.js rename to js/packages/shared/redux/providers/statusReducer.js diff --git a/js/src/shared/redux/providers/tokensActions.js b/js/packages/shared/redux/providers/tokensActions.js similarity index 93% rename from js/src/shared/redux/providers/tokensActions.js rename to js/packages/shared/redux/providers/tokensActions.js index b6ed9bde7c..f036a31ec7 100644 --- a/js/src/shared/redux/providers/tokensActions.js +++ b/js/packages/shared/redux/providers/tokensActions.js @@ -18,9 +18,9 @@ import { uniq } from 'lodash'; import { IconCache } from '@parity/ui'; -import { LOG_KEYS, getLogger } from '~/shared/config'; -import Contracts from '~/shared/contracts'; -import { fetchTokenIds, fetchTokenInfo } from '~/shared/util/tokens'; +import { LOG_KEYS, getLogger } from '../../config'; +import Contracts from '../../contracts'; +import { fetchTokenIds, fetchTokenInfo } from '../../util/tokens'; import { updateTokensFilter } from './balancesActions'; diff --git a/js/src/shared/redux/providers/tokensReducer.js b/js/packages/shared/redux/providers/tokensReducer.js similarity index 100% rename from js/src/shared/redux/providers/tokensReducer.js rename to js/packages/shared/redux/providers/tokensReducer.js diff --git a/js/src/shared/redux/providers/walletActions.js b/js/packages/shared/redux/providers/walletActions.js similarity index 98% rename from js/src/shared/redux/providers/walletActions.js rename to js/packages/shared/redux/providers/walletActions.js index ee6d5f68e9..7db601a037 100644 --- a/js/src/shared/redux/providers/walletActions.js +++ b/js/packages/shared/redux/providers/walletActions.js @@ -21,9 +21,9 @@ import { ERROR_CODES } from '@parity/api/transport/error'; import { bytesToHex, toHex } from '@parity/api/util/format'; import { newError } from '@parity/ui/Errors/actions'; -import { wallet as WALLET_ABI } from '~/shared/contracts/abi'; -import { MAX_GAS_ESTIMATION } from '~/shared/util/constants'; -import WalletsUtils from '~/shared/util/wallets'; +import { wallet as WALLET_ABI } from '../../contracts/abi'; +import { MAX_GAS_ESTIMATION } from '../../util/constants'; +import WalletsUtils from '../../util/wallets'; const UPDATE_OWNERS = 'owners'; const UPDATE_REQUIRE = 'require'; diff --git a/js/src/shared/redux/providers/walletReducer.js b/js/packages/shared/redux/providers/walletReducer.js similarity index 100% rename from js/src/shared/redux/providers/walletReducer.js rename to js/packages/shared/redux/providers/walletReducer.js diff --git a/js/src/shared/redux/providers/worker.js b/js/packages/shared/redux/providers/worker.js similarity index 95% rename from js/src/shared/redux/providers/worker.js rename to js/packages/shared/redux/providers/worker.js index 3a7811241d..8e7d8a4b07 100644 --- a/js/src/shared/redux/providers/worker.js +++ b/js/packages/shared/redux/providers/worker.js @@ -16,7 +16,9 @@ import PromiseWorker from 'promise-worker'; import runtime from 'serviceworker-webpack-plugin/lib/runtime'; -import WebWorker from 'worker-loader!~/webWorker.js'; + +// FIXME: WebWorker here should be close, not in src +import WebWorker from 'worker-loader!~/src/webWorker.js'; import { setWorker } from './workerActions'; diff --git a/js/src/shared/redux/providers/workerActions.js b/js/packages/shared/redux/providers/workerActions.js similarity index 100% rename from js/src/shared/redux/providers/workerActions.js rename to js/packages/shared/redux/providers/workerActions.js diff --git a/js/src/shared/redux/providers/workerReducer.js b/js/packages/shared/redux/providers/workerReducer.js similarity index 100% rename from js/src/shared/redux/providers/workerReducer.js rename to js/packages/shared/redux/providers/workerReducer.js diff --git a/js/src/shared/redux/providers/workerWrapper.js b/js/packages/shared/redux/providers/workerWrapper.js similarity index 100% rename from js/src/shared/redux/providers/workerWrapper.js rename to js/packages/shared/redux/providers/workerWrapper.js diff --git a/js/src/shared/redux/reducers.js b/js/packages/shared/redux/reducers.js similarity index 100% rename from js/src/shared/redux/reducers.js rename to js/packages/shared/redux/reducers.js diff --git a/js/src/shared/redux/store.js b/js/packages/shared/redux/store.js similarity index 100% rename from js/src/shared/redux/store.js rename to js/packages/shared/redux/store.js diff --git a/js/src/shared/redux/util.js b/js/packages/shared/redux/util.js similarity index 100% rename from js/src/shared/redux/util.js rename to js/packages/shared/redux/util.js diff --git a/js/src/shared/util/abi.js b/js/packages/shared/util/abi.js similarity index 100% rename from js/src/shared/util/abi.js rename to js/packages/shared/util/abi.js diff --git a/js/src/shared/util/constants.js b/js/packages/shared/util/constants.js similarity index 100% rename from js/src/shared/util/constants.js rename to js/packages/shared/util/constants.js diff --git a/js/src/shared/util/dapps.js b/js/packages/shared/util/dapps.js similarity index 97% rename from js/src/shared/util/dapps.js rename to js/packages/shared/util/dapps.js index 201eb559b2..be34ba874d 100644 --- a/js/src/shared/util/dapps.js +++ b/js/packages/shared/util/dapps.js @@ -20,9 +20,8 @@ import { pick, range, uniq } from 'lodash'; import { bytesToHex } from '@parity/api/util/format'; import { IconCache } from '@parity/ui'; -import builtinJson from '~/shared/config/dappsBuiltin.json'; -import viewsJson from '~/shared/config/dappsViews.json'; - +import builtinJson from '../config/dappsBuiltin.json'; +import viewsJson from '../config/dappsViews.json'; import Contracts from '../contracts'; const builtinApps = [].concat( diff --git a/js/src/shared/util/messages.js b/js/packages/shared/util/messages.js similarity index 100% rename from js/src/shared/util/messages.js rename to js/packages/shared/util/messages.js diff --git a/js/src/shared/util/notifications.js b/js/packages/shared/util/notifications.js similarity index 95% rename from js/src/shared/util/notifications.js rename to js/packages/shared/util/notifications.js index 640054136f..296fb0f6f6 100644 --- a/js/src/shared/util/notifications.js +++ b/js/packages/shared/util/notifications.js @@ -17,7 +17,7 @@ import Push from 'push.js'; import BigNumber from 'bignumber.js'; -import unkownIcon from '~/shared/assets/images/contracts/unknown-64x64.png'; +import unkownIcon from '../assets/images/contracts/unknown-64x64.png'; export function notifyTransaction (account, token, _value, onClick) { const name = account.name || account.address; diff --git a/js/src/shared/util/proptypes.js b/js/packages/shared/util/proptypes.js similarity index 100% rename from js/src/shared/util/proptypes.js rename to js/packages/shared/util/proptypes.js diff --git a/js/src/shared/util/signer.js b/js/packages/shared/util/signer.js similarity index 100% rename from js/src/shared/util/signer.js rename to js/packages/shared/util/signer.js diff --git a/js/src/shared/util/solidity.js b/js/packages/shared/util/solidity.js similarity index 100% rename from js/src/shared/util/solidity.js rename to js/packages/shared/util/solidity.js diff --git a/js/src/shared/util/subscribe-to-events.js b/js/packages/shared/util/subscribe-to-events.js similarity index 100% rename from js/src/shared/util/subscribe-to-events.js rename to js/packages/shared/util/subscribe-to-events.js diff --git a/js/src/shared/util/subscribe-to-events.spec.js b/js/packages/shared/util/subscribe-to-events.spec.js similarity index 100% rename from js/src/shared/util/subscribe-to-events.spec.js rename to js/packages/shared/util/subscribe-to-events.spec.js diff --git a/js/src/shared/util/subscribe-to-events.test.js b/js/packages/shared/util/subscribe-to-events.test.js similarity index 100% rename from js/src/shared/util/subscribe-to-events.test.js rename to js/packages/shared/util/subscribe-to-events.test.js diff --git a/js/npm/parity/test/smoke.spec.js b/js/packages/shared/util/testnet.js similarity index 75% rename from js/npm/parity/test/smoke.spec.js rename to js/packages/shared/util/testnet.js index fb1ae0d4d5..a8bcfdd724 100644 --- a/js/npm/parity/test/smoke.spec.js +++ b/js/packages/shared/util/testnet.js @@ -14,13 +14,11 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -const parity = require('../'); - -describe('load the Parity library', function () { - it('should no throw any error', () => { - expect(parity).to.be.ok; - - expect(parity.Api).to.be.ok; - expect(parity.Abi).to.be.ok; - }); -}); +export function isTestnet (chainId) { + return [ + '2', // morden + '3', // ropsten, + '17', // devchain + '42' // kovan + ].includes(chainId); +} diff --git a/js/src/shared/util/tokens.js b/js/packages/shared/util/tokens.js similarity index 97% rename from js/src/shared/util/tokens.js rename to js/packages/shared/util/tokens.js index 9e42b7340c..61aeeb3b98 100644 --- a/js/src/shared/util/tokens.js +++ b/js/packages/shared/util/tokens.js @@ -20,7 +20,7 @@ import BigNumber from 'bignumber.js'; import { sha3 } from '@parity/api/util/sha3'; import { IconCache } from '@parity/ui'; -import imagesEthereum from '~/shared/assets/images/contracts/ethereum-black-64x64.png'; +import imagesEthereum from '../assets/images/contracts/ethereum-black-64x64.png'; const BALANCEOF_SIGNATURE = sha3('balanceOf(address)'); const ADDRESS_PADDING = range(24).map(() => '0').join(''); diff --git a/js/src/shared/util/tx.js b/js/packages/shared/util/tx.js similarity index 100% rename from js/src/shared/util/tx.js rename to js/packages/shared/util/tx.js diff --git a/js/src/shared/util/validation.js b/js/packages/shared/util/validation.js similarity index 100% rename from js/src/shared/util/validation.js rename to js/packages/shared/util/validation.js diff --git a/js/src/shared/util/validation.spec.js b/js/packages/shared/util/validation.spec.js similarity index 100% rename from js/src/shared/util/validation.spec.js rename to js/packages/shared/util/validation.spec.js diff --git a/js/src/shared/util/wallets.js b/js/packages/shared/util/wallets.js similarity index 100% rename from js/src/shared/util/wallets.js rename to js/packages/shared/util/wallets.js diff --git a/js/src/ui/AccountCard/accountCard.css b/js/packages/ui/AccountCard/accountCard.css similarity index 100% rename from js/src/ui/AccountCard/accountCard.css rename to js/packages/ui/AccountCard/accountCard.css diff --git a/js/src/ui/AccountCard/accountCard.example.js b/js/packages/ui/AccountCard/accountCard.example.js similarity index 97% rename from js/src/ui/AccountCard/accountCard.example.js rename to js/packages/ui/AccountCard/accountCard.example.js index a8e0db2c11..ab260bcbc2 100644 --- a/js/src/ui/AccountCard/accountCard.example.js +++ b/js/packages/ui/AccountCard/accountCard.example.js @@ -16,7 +16,7 @@ import React from 'react'; -import PlaygroundExample from '~/views/Playground/playgroundExample'; +import PlaygroundExample from '@parity/dapp-playground/playgroundExample'; import AccountCard from './accountCard'; diff --git a/js/src/ui/AccountCard/accountCard.js b/js/packages/ui/AccountCard/accountCard.js similarity index 96% rename from js/src/ui/AccountCard/accountCard.js rename to js/packages/ui/AccountCard/accountCard.js index 395e68a5d2..05ce24919d 100644 --- a/js/src/ui/AccountCard/accountCard.js +++ b/js/packages/ui/AccountCard/accountCard.js @@ -19,11 +19,11 @@ import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import keycode from 'keycode'; -import Balance from '~/ui/Balance'; -import Container from '~/ui/Container'; -import IdentityIcon from '~/ui/IdentityIcon'; -import IdentityName from '~/ui/IdentityName'; -import Tags from '~/ui/Tags'; +import Balance from '../Balance'; +import Container from '../Container'; +import IdentityIcon from '../IdentityIcon'; +import IdentityName from '../IdentityName'; +import Tags from '../Tags'; import styles from './accountCard.css'; diff --git a/js/src/ui/AccountCard/accountCard.spec.js b/js/packages/ui/AccountCard/accountCard.spec.js similarity index 100% rename from js/src/ui/AccountCard/accountCard.spec.js rename to js/packages/ui/AccountCard/accountCard.spec.js diff --git a/js/src/ui/AccountCard/index.js b/js/packages/ui/AccountCard/index.js similarity index 100% rename from js/src/ui/AccountCard/index.js rename to js/packages/ui/AccountCard/index.js diff --git a/js/src/ui/Actionbar/Export/export.js b/js/packages/ui/Actionbar/Export/export.js similarity index 95% rename from js/src/ui/Actionbar/Export/export.js rename to js/packages/ui/Actionbar/Export/export.js index ffab530369..1e602a8f11 100644 --- a/js/src/ui/Actionbar/Export/export.js +++ b/js/packages/ui/Actionbar/Export/export.js @@ -20,8 +20,8 @@ import { FormattedMessage } from 'react-intl'; import FileSaver from 'file-saver'; -import Button from '~/ui/Button'; -import { FileDownloadIcon } from '~/ui/Icons'; +import Button from '../../Button'; +import { FileDownloadIcon } from '../../Icons'; export default class ActionbarExport extends Component { static propTypes = { diff --git a/js/src/ui/Actionbar/Export/index.js b/js/packages/ui/Actionbar/Export/index.js similarity index 100% rename from js/src/ui/Actionbar/Export/index.js rename to js/packages/ui/Actionbar/Export/index.js diff --git a/js/src/ui/Actionbar/Import/import.css b/js/packages/ui/Actionbar/Import/import.css similarity index 100% rename from js/src/ui/Actionbar/Import/import.css rename to js/packages/ui/Actionbar/Import/import.css diff --git a/js/src/ui/Actionbar/Import/import.js b/js/packages/ui/Actionbar/Import/import.js similarity index 96% rename from js/src/ui/Actionbar/Import/import.js rename to js/packages/ui/Actionbar/Import/import.js index 894689dc9d..031f945568 100644 --- a/js/src/ui/Actionbar/Import/import.js +++ b/js/packages/ui/Actionbar/Import/import.js @@ -20,10 +20,10 @@ import { FormattedMessage } from 'react-intl'; import { nodeOrStringProptype } from '@parity/shared/util/proptypes'; -import Button from '~/ui/Button'; -import FileSelect from '~/ui/Form/FileSelect'; -import { CancelIcon, DoneIcon, FileUploadIcon } from '~/ui/Icons'; -import Portal from '~/ui/Portal'; +import Button from '../../Button'; +import FileSelect from '../../Form/FileSelect'; +import { CancelIcon, DoneIcon, FileUploadIcon } from '../../Icons'; +import Portal from '../../Portal'; import styles from './import.css'; diff --git a/js/src/ui/Actionbar/Import/index.js b/js/packages/ui/Actionbar/Import/index.js similarity index 100% rename from js/src/ui/Actionbar/Import/index.js rename to js/packages/ui/Actionbar/Import/index.js diff --git a/js/src/ui/Actionbar/Search/index.js b/js/packages/ui/Actionbar/Search/index.js similarity index 100% rename from js/src/ui/Actionbar/Search/index.js rename to js/packages/ui/Actionbar/Search/index.js diff --git a/js/src/ui/Actionbar/Search/search.css b/js/packages/ui/Actionbar/Search/search.css similarity index 100% rename from js/src/ui/Actionbar/Search/search.css rename to js/packages/ui/Actionbar/Search/search.css diff --git a/js/src/ui/Actionbar/Search/search.js b/js/packages/ui/Actionbar/Search/search.js similarity index 97% rename from js/src/ui/Actionbar/Search/search.js rename to js/packages/ui/Actionbar/Search/search.js index 51a2f79d27..f80141447c 100644 --- a/js/src/ui/Actionbar/Search/search.js +++ b/js/packages/ui/Actionbar/Search/search.js @@ -18,9 +18,9 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; -import Button from '~/ui/Button'; -import InputChip from '~/ui/Form/InputChip'; -import { SearchIcon } from '~/ui/Icons'; +import Button from '../../Button'; +import InputChip from '../../Form/InputChip'; +import { SearchIcon } from '../../Icons'; import styles from './search.css'; diff --git a/js/src/ui/Actionbar/Sort/index.js b/js/packages/ui/Actionbar/Sort/index.js similarity index 100% rename from js/src/ui/Actionbar/Sort/index.js rename to js/packages/ui/Actionbar/Sort/index.js diff --git a/js/src/ui/Actionbar/Sort/sort.js b/js/packages/ui/Actionbar/Sort/sort.js similarity index 95% rename from js/src/ui/Actionbar/Sort/sort.js rename to js/packages/ui/Actionbar/Sort/sort.js index c6c97e7f94..1eb2eefd0a 100644 --- a/js/src/ui/Actionbar/Sort/sort.js +++ b/js/packages/ui/Actionbar/Sort/sort.js @@ -19,10 +19,10 @@ import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { observer } from 'mobx-react'; -import Button from '~/ui/Button'; -import { SortIcon } from '~/ui/Icons'; -import List from '~/ui/List'; -import Popup from '~/ui/Popup'; +import Button from '../../Button'; +import { SortIcon } from '../../Icons'; +import List from '../../List'; +import Popup from '../../Popup'; import SortStore from './sortStore'; diff --git a/js/src/ui/Actionbar/Sort/sortStore.js b/js/packages/ui/Actionbar/Sort/sortStore.js similarity index 100% rename from js/src/ui/Actionbar/Sort/sortStore.js rename to js/packages/ui/Actionbar/Sort/sortStore.js diff --git a/js/src/ui/Actionbar/actionbar.css b/js/packages/ui/Actionbar/actionbar.css similarity index 100% rename from js/src/ui/Actionbar/actionbar.css rename to js/packages/ui/Actionbar/actionbar.css diff --git a/js/src/ui/Actionbar/actionbar.js b/js/packages/ui/Actionbar/actionbar.js similarity index 100% rename from js/src/ui/Actionbar/actionbar.js rename to js/packages/ui/Actionbar/actionbar.js diff --git a/js/src/ui/Actionbar/actionbar.spec.js b/js/packages/ui/Actionbar/actionbar.spec.js similarity index 100% rename from js/src/ui/Actionbar/actionbar.spec.js rename to js/packages/ui/Actionbar/actionbar.spec.js diff --git a/js/src/ui/Actionbar/index.js b/js/packages/ui/Actionbar/index.js similarity index 100% rename from js/src/ui/Actionbar/index.js rename to js/packages/ui/Actionbar/index.js diff --git a/js/src/ui/Badge/badge.css b/js/packages/ui/Badge/badge.css similarity index 100% rename from js/src/ui/Badge/badge.css rename to js/packages/ui/Badge/badge.css diff --git a/js/src/ui/Badge/badge.js b/js/packages/ui/Badge/badge.js similarity index 100% rename from js/src/ui/Badge/badge.js rename to js/packages/ui/Badge/badge.js diff --git a/js/src/ui/Badge/badge.spec.js b/js/packages/ui/Badge/badge.spec.js similarity index 100% rename from js/src/ui/Badge/badge.spec.js rename to js/packages/ui/Badge/badge.spec.js diff --git a/js/src/ui/Badge/index.js b/js/packages/ui/Badge/index.js similarity index 100% rename from js/src/ui/Badge/index.js rename to js/packages/ui/Badge/index.js diff --git a/js/src/ui/Balance/balance.css b/js/packages/ui/Balance/balance.css similarity index 100% rename from js/src/ui/Balance/balance.css rename to js/packages/ui/Balance/balance.css diff --git a/js/src/ui/Balance/balance.js b/js/packages/ui/Balance/balance.js similarity index 98% rename from js/src/ui/Balance/balance.js rename to js/packages/ui/Balance/balance.js index abf78d4128..12e2e00d7f 100644 --- a/js/src/ui/Balance/balance.js +++ b/js/packages/ui/Balance/balance.js @@ -20,7 +20,7 @@ import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; -import TokenImage from '~/ui/TokenImage'; +import TokenImage from '../TokenImage'; import styles from './balance.css'; diff --git a/js/src/ui/Balance/balance.spec.js b/js/packages/ui/Balance/balance.spec.js similarity index 100% rename from js/src/ui/Balance/balance.spec.js rename to js/packages/ui/Balance/balance.spec.js diff --git a/js/src/ui/Balance/index.js b/js/packages/ui/Balance/index.js similarity index 100% rename from js/src/ui/Balance/index.js rename to js/packages/ui/Balance/index.js diff --git a/js/src/ui/BlockStatus/blockStatus.css b/js/packages/ui/BlockStatus/blockStatus.css similarity index 100% rename from js/src/ui/BlockStatus/blockStatus.css rename to js/packages/ui/BlockStatus/blockStatus.css diff --git a/js/src/ui/BlockStatus/blockStatus.js b/js/packages/ui/BlockStatus/blockStatus.js similarity index 100% rename from js/src/ui/BlockStatus/blockStatus.js rename to js/packages/ui/BlockStatus/blockStatus.js diff --git a/js/src/ui/BlockStatus/blockStatus.spec.js b/js/packages/ui/BlockStatus/blockStatus.spec.js similarity index 100% rename from js/src/ui/BlockStatus/blockStatus.spec.js rename to js/packages/ui/BlockStatus/blockStatus.spec.js diff --git a/js/src/ui/BlockStatus/index.js b/js/packages/ui/BlockStatus/index.js similarity index 100% rename from js/src/ui/BlockStatus/index.js rename to js/packages/ui/BlockStatus/index.js diff --git a/js/src/ui/Button/button.css b/js/packages/ui/Button/button.css similarity index 100% rename from js/src/ui/Button/button.css rename to js/packages/ui/Button/button.css diff --git a/js/src/ui/Button/button.js b/js/packages/ui/Button/button.js similarity index 100% rename from js/src/ui/Button/button.js rename to js/packages/ui/Button/button.js diff --git a/js/src/ui/Button/button.spec.js b/js/packages/ui/Button/button.spec.js similarity index 100% rename from js/src/ui/Button/button.spec.js rename to js/packages/ui/Button/button.spec.js diff --git a/js/src/ui/Button/index.js b/js/packages/ui/Button/index.js similarity index 100% rename from js/src/ui/Button/index.js rename to js/packages/ui/Button/index.js diff --git a/js/src/ui/Certifications/certifications.css b/js/packages/ui/Certifications/certifications.css similarity index 100% rename from js/src/ui/Certifications/certifications.css rename to js/packages/ui/Certifications/certifications.css diff --git a/js/src/ui/Certifications/certifications.js b/js/packages/ui/Certifications/certifications.js similarity index 98% rename from js/src/ui/Certifications/certifications.js rename to js/packages/ui/Certifications/certifications.js index f1e9f9a76a..452dd10ee4 100644 --- a/js/src/ui/Certifications/certifications.js +++ b/js/packages/ui/Certifications/certifications.js @@ -19,7 +19,8 @@ import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import defaultIcon from '@parity/shared/assets/images/certifications/unknown.svg'; -import IconCache from '~/ui/IconCache'; + +import IconCache from '../IconCache'; import styles from './certifications.css'; diff --git a/js/src/ui/Certifications/index.js b/js/packages/ui/Certifications/index.js similarity index 100% rename from js/src/ui/Certifications/index.js rename to js/packages/ui/Certifications/index.js diff --git a/js/src/ui/ConfirmDialog/confirmDialog.css b/js/packages/ui/ConfirmDialog/confirmDialog.css similarity index 100% rename from js/src/ui/ConfirmDialog/confirmDialog.css rename to js/packages/ui/ConfirmDialog/confirmDialog.css diff --git a/js/src/ui/ConfirmDialog/confirmDialog.js b/js/packages/ui/ConfirmDialog/confirmDialog.js similarity index 100% rename from js/src/ui/ConfirmDialog/confirmDialog.js rename to js/packages/ui/ConfirmDialog/confirmDialog.js diff --git a/js/src/ui/ConfirmDialog/confirmDialog.spec.js b/js/packages/ui/ConfirmDialog/confirmDialog.spec.js similarity index 100% rename from js/src/ui/ConfirmDialog/confirmDialog.spec.js rename to js/packages/ui/ConfirmDialog/confirmDialog.spec.js diff --git a/js/src/ui/ConfirmDialog/index.js b/js/packages/ui/ConfirmDialog/index.js similarity index 100% rename from js/src/ui/ConfirmDialog/index.js rename to js/packages/ui/ConfirmDialog/index.js diff --git a/js/src/ui/Container/Title/Actions/actions.js b/js/packages/ui/Container/Title/Actions/actions.js similarity index 100% rename from js/src/ui/Container/Title/Actions/actions.js rename to js/packages/ui/Container/Title/Actions/actions.js diff --git a/js/src/ui/Container/Title/Actions/index.js b/js/packages/ui/Container/Title/Actions/index.js similarity index 100% rename from js/src/ui/Container/Title/Actions/index.js rename to js/packages/ui/Container/Title/Actions/index.js diff --git a/js/src/ui/Container/Title/Byline/byline.js b/js/packages/ui/Container/Title/Byline/byline.js similarity index 100% rename from js/src/ui/Container/Title/Byline/byline.js rename to js/packages/ui/Container/Title/Byline/byline.js diff --git a/js/src/ui/Container/Title/Byline/index.js b/js/packages/ui/Container/Title/Byline/index.js similarity index 100% rename from js/src/ui/Container/Title/Byline/index.js rename to js/packages/ui/Container/Title/Byline/index.js diff --git a/js/src/ui/Container/Title/Description/description.js b/js/packages/ui/Container/Title/Description/description.js similarity index 100% rename from js/src/ui/Container/Title/Description/description.js rename to js/packages/ui/Container/Title/Description/description.js diff --git a/js/src/ui/Container/Title/Description/index.js b/js/packages/ui/Container/Title/Description/index.js similarity index 100% rename from js/src/ui/Container/Title/Description/index.js rename to js/packages/ui/Container/Title/Description/index.js diff --git a/js/src/ui/Container/Title/index.js b/js/packages/ui/Container/Title/index.js similarity index 100% rename from js/src/ui/Container/Title/index.js rename to js/packages/ui/Container/Title/index.js diff --git a/js/src/ui/Container/Title/title.css b/js/packages/ui/Container/Title/title.css similarity index 100% rename from js/src/ui/Container/Title/title.css rename to js/packages/ui/Container/Title/title.css diff --git a/js/src/ui/Container/Title/title.js b/js/packages/ui/Container/Title/title.js similarity index 100% rename from js/src/ui/Container/Title/title.js rename to js/packages/ui/Container/Title/title.js diff --git a/js/src/ui/Container/Title/title.spec.js b/js/packages/ui/Container/Title/title.spec.js similarity index 100% rename from js/src/ui/Container/Title/title.spec.js rename to js/packages/ui/Container/Title/title.spec.js diff --git a/js/src/ui/Container/container.css b/js/packages/ui/Container/container.css similarity index 100% rename from js/src/ui/Container/container.css rename to js/packages/ui/Container/container.css diff --git a/js/src/ui/Container/container.js b/js/packages/ui/Container/container.js similarity index 100% rename from js/src/ui/Container/container.js rename to js/packages/ui/Container/container.js diff --git a/js/src/ui/Container/container.spec.js b/js/packages/ui/Container/container.spec.js similarity index 100% rename from js/src/ui/Container/container.spec.js rename to js/packages/ui/Container/container.spec.js diff --git a/js/src/ui/Container/index.js b/js/packages/ui/Container/index.js similarity index 100% rename from js/src/ui/Container/index.js rename to js/packages/ui/Container/index.js diff --git a/js/src/ui/ContextProvider/contextProvider.js b/js/packages/ui/ContextProvider/contextProvider.js similarity index 100% rename from js/src/ui/ContextProvider/contextProvider.js rename to js/packages/ui/ContextProvider/contextProvider.js diff --git a/js/src/ui/ContextProvider/index.js b/js/packages/ui/ContextProvider/index.js similarity index 100% rename from js/src/ui/ContextProvider/index.js rename to js/packages/ui/ContextProvider/index.js diff --git a/js/src/ui/CopyToClipboard/copyToClipboard.css b/js/packages/ui/CopyToClipboard/copyToClipboard.css similarity index 100% rename from js/src/ui/CopyToClipboard/copyToClipboard.css rename to js/packages/ui/CopyToClipboard/copyToClipboard.css diff --git a/js/src/ui/CopyToClipboard/copyToClipboard.js b/js/packages/ui/CopyToClipboard/copyToClipboard.js similarity index 98% rename from js/src/ui/CopyToClipboard/copyToClipboard.js rename to js/packages/ui/CopyToClipboard/copyToClipboard.js index a75ba79cc8..a10d79c607 100644 --- a/js/src/ui/CopyToClipboard/copyToClipboard.js +++ b/js/packages/ui/CopyToClipboard/copyToClipboard.js @@ -23,7 +23,7 @@ import { bindActionCreators } from 'redux'; import { showSnackbar } from '@parity/shared/redux/providers/snackbarActions'; -import { CopyIcon } from '~/ui/Icons'; +import { CopyIcon } from '../Icons'; import styles from './copyToClipboard.css'; diff --git a/js/src/ui/CopyToClipboard/index.js b/js/packages/ui/CopyToClipboard/index.js similarity index 100% rename from js/src/ui/CopyToClipboard/index.js rename to js/packages/ui/CopyToClipboard/index.js diff --git a/js/src/ui/CurrencySymbol/currencySymbol.example.js b/js/packages/ui/CurrencySymbol/currencySymbol.example.js similarity index 95% rename from js/src/ui/CurrencySymbol/currencySymbol.example.js rename to js/packages/ui/CurrencySymbol/currencySymbol.example.js index 770b6050ca..40e505c4d6 100644 --- a/js/src/ui/CurrencySymbol/currencySymbol.example.js +++ b/js/packages/ui/CurrencySymbol/currencySymbol.example.js @@ -16,7 +16,7 @@ import React from 'react'; -import PlaygroundExample from '~/views/Playground/playgroundExample'; +import PlaygroundExample from '@parity/dapp-playground/playgroundExample'; import ConnectedCurrencySymbol, { CurrencySymbol } from './currencySymbol'; diff --git a/js/src/ui/CurrencySymbol/currencySymbol.js b/js/packages/ui/CurrencySymbol/currencySymbol.js similarity index 100% rename from js/src/ui/CurrencySymbol/currencySymbol.js rename to js/packages/ui/CurrencySymbol/currencySymbol.js diff --git a/js/src/ui/CurrencySymbol/currencySymbol.spec.js b/js/packages/ui/CurrencySymbol/currencySymbol.spec.js similarity index 100% rename from js/src/ui/CurrencySymbol/currencySymbol.spec.js rename to js/packages/ui/CurrencySymbol/currencySymbol.spec.js diff --git a/js/src/ui/CurrencySymbol/index.js b/js/packages/ui/CurrencySymbol/index.js similarity index 100% rename from js/src/ui/CurrencySymbol/index.js rename to js/packages/ui/CurrencySymbol/index.js diff --git a/js/src/ui/DappCard/dappCard.css b/js/packages/ui/DappCard/dappCard.css similarity index 100% rename from js/src/ui/DappCard/dappCard.css rename to js/packages/ui/DappCard/dappCard.css diff --git a/js/src/ui/DappCard/dappCard.js b/js/packages/ui/DappCard/dappCard.js similarity index 94% rename from js/src/ui/DappCard/dappCard.js rename to js/packages/ui/DappCard/dappCard.js index d6ffa8699b..e456cda2ff 100644 --- a/js/src/ui/DappCard/dappCard.js +++ b/js/packages/ui/DappCard/dappCard.js @@ -17,9 +17,9 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; -import Container, { Title as ContainerTitle } from '~/ui/Container'; -import DappIcon from '~/ui/DappIcon'; -import Tags from '~/ui/Tags'; +import Container, { Title as ContainerTitle } from '../Container'; +import DappIcon from '../DappIcon'; +import Tags from '../Tags'; import styles from './dappCard.css'; diff --git a/js/src/ui/DappCard/index.js b/js/packages/ui/DappCard/index.js similarity index 100% rename from js/src/ui/DappCard/index.js rename to js/packages/ui/DappCard/index.js diff --git a/js/src/ui/DappIcon/dappIcon.css b/js/packages/ui/DappIcon/dappIcon.css similarity index 100% rename from js/src/ui/DappIcon/dappIcon.css rename to js/packages/ui/DappIcon/dappIcon.css diff --git a/js/src/ui/DappIcon/dappIcon.js b/js/packages/ui/DappIcon/dappIcon.js similarity index 97% rename from js/src/ui/DappIcon/dappIcon.js rename to js/packages/ui/DappIcon/dappIcon.js index 3fec84264a..786296703e 100644 --- a/js/src/ui/DappIcon/dappIcon.js +++ b/js/packages/ui/DappIcon/dappIcon.js @@ -17,7 +17,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { createIcon } from '~/ui/Icons'; +import { createIcon } from '../Icons'; import styles from './dappIcon.css'; diff --git a/js/src/ui/DappIcon/dappIcon.spec.js b/js/packages/ui/DappIcon/dappIcon.spec.js similarity index 100% rename from js/src/ui/DappIcon/dappIcon.spec.js rename to js/packages/ui/DappIcon/dappIcon.spec.js diff --git a/js/src/ui/DappIcon/index.js b/js/packages/ui/DappIcon/index.js similarity index 100% rename from js/src/ui/DappIcon/index.js rename to js/packages/ui/DappIcon/index.js diff --git a/js/src/ui/DappLink/dappLink.css b/js/packages/ui/DappLink/dappLink.css similarity index 100% rename from js/src/ui/DappLink/dappLink.css rename to js/packages/ui/DappLink/dappLink.css diff --git a/js/src/ui/DappLink/dappLink.js b/js/packages/ui/DappLink/dappLink.js similarity index 100% rename from js/src/ui/DappLink/dappLink.js rename to js/packages/ui/DappLink/dappLink.js diff --git a/js/src/ui/DappLink/index.js b/js/packages/ui/DappLink/index.js similarity index 100% rename from js/src/ui/DappLink/index.js rename to js/packages/ui/DappLink/index.js diff --git a/js/src/ui/Editor/editor.js b/js/packages/ui/Editor/editor.js similarity index 97% rename from js/src/ui/Editor/editor.js rename to js/packages/ui/Editor/editor.js index d5811e627a..09dfacae02 100644 --- a/js/src/ui/Editor/editor.js +++ b/js/packages/ui/Editor/editor.js @@ -18,7 +18,8 @@ import 'brace'; import 'brace/theme/solarized_dark'; import 'brace/mode/json'; -import React, { PropTypes, Component } from 'react'; +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; import AceEditor from 'react-ace'; import { noop } from 'lodash'; diff --git a/js/src/ui/Editor/index.js b/js/packages/ui/Editor/index.js similarity index 100% rename from js/src/ui/Editor/index.js rename to js/packages/ui/Editor/index.js diff --git a/js/src/ui/Editor/mode-solidity.js b/js/packages/ui/Editor/mode-solidity.js similarity index 100% rename from js/src/ui/Editor/mode-solidity.js rename to js/packages/ui/Editor/mode-solidity.js diff --git a/js/src/ui/Errors/actions.js b/js/packages/ui/Errors/actions.js similarity index 100% rename from js/src/ui/Errors/actions.js rename to js/packages/ui/Errors/actions.js diff --git a/js/src/ui/Errors/errors.css b/js/packages/ui/Errors/errors.css similarity index 100% rename from js/src/ui/Errors/errors.css rename to js/packages/ui/Errors/errors.css diff --git a/js/src/ui/Errors/errors.js b/js/packages/ui/Errors/errors.js similarity index 98% rename from js/src/ui/Errors/errors.js rename to js/packages/ui/Errors/errors.js index 3f1eb393d1..6e4982e715 100644 --- a/js/src/ui/Errors/errors.js +++ b/js/packages/ui/Errors/errors.js @@ -20,7 +20,7 @@ import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; -import { Snackbar } from '~/ui/Snackbar'; +import { Snackbar } from '../Snackbar'; import { closeErrors } from './actions'; diff --git a/js/src/ui/Errors/index.js b/js/packages/ui/Errors/index.js similarity index 100% rename from js/src/ui/Errors/index.js rename to js/packages/ui/Errors/index.js diff --git a/js/src/ui/Errors/middleware.js b/js/packages/ui/Errors/middleware.js similarity index 100% rename from js/src/ui/Errors/middleware.js rename to js/packages/ui/Errors/middleware.js diff --git a/js/src/ui/Errors/reducers.js b/js/packages/ui/Errors/reducers.js similarity index 100% rename from js/src/ui/Errors/reducers.js rename to js/packages/ui/Errors/reducers.js diff --git a/js/src/ui/Features/constants.js b/js/packages/ui/Features/constants.js similarity index 100% rename from js/src/ui/Features/constants.js rename to js/packages/ui/Features/constants.js diff --git a/js/src/ui/Features/defaults.js b/js/packages/ui/Features/defaults.js similarity index 100% rename from js/src/ui/Features/defaults.js rename to js/packages/ui/Features/defaults.js diff --git a/js/src/ui/Features/defaults.spec.js b/js/packages/ui/Features/defaults.spec.js similarity index 100% rename from js/src/ui/Features/defaults.spec.js rename to js/packages/ui/Features/defaults.spec.js diff --git a/js/src/ui/Features/features.css b/js/packages/ui/Features/features.css similarity index 100% rename from js/src/ui/Features/features.css rename to js/packages/ui/Features/features.css diff --git a/js/src/ui/Features/features.js b/js/packages/ui/Features/features.js similarity index 96% rename from js/src/ui/Features/features.js rename to js/packages/ui/Features/features.js index d17958862b..1956a3ad18 100644 --- a/js/src/ui/Features/features.js +++ b/js/packages/ui/Features/features.js @@ -17,8 +17,8 @@ import { observer } from 'mobx-react'; import React, { Component } from 'react'; -import Checkbox from '~/ui/Form/Checkbox'; -import List from '~/ui/List'; +import Checkbox from '../Form/Checkbox'; +import List from '../List'; import defaults, { MODES } from './defaults'; import Store from './store'; diff --git a/js/src/ui/Features/features.spec.js b/js/packages/ui/Features/features.spec.js similarity index 100% rename from js/src/ui/Features/features.spec.js rename to js/packages/ui/Features/features.spec.js diff --git a/js/src/ui/Features/index.js b/js/packages/ui/Features/index.js similarity index 100% rename from js/src/ui/Features/index.js rename to js/packages/ui/Features/index.js diff --git a/js/src/ui/Features/store.js b/js/packages/ui/Features/store.js similarity index 100% rename from js/src/ui/Features/store.js rename to js/packages/ui/Features/store.js diff --git a/js/src/ui/Features/store.spec.js b/js/packages/ui/Features/store.spec.js similarity index 100% rename from js/src/ui/Features/store.spec.js rename to js/packages/ui/Features/store.spec.js diff --git a/js/src/ui/Form/AddressSelect/addressSelect.css b/js/packages/ui/Form/AddressSelect/addressSelect.css similarity index 100% rename from js/src/ui/Form/AddressSelect/addressSelect.css rename to js/packages/ui/Form/AddressSelect/addressSelect.css diff --git a/js/src/ui/Form/AddressSelect/addressSelect.js b/js/packages/ui/Form/AddressSelect/addressSelect.js similarity index 98% rename from js/src/ui/Form/AddressSelect/addressSelect.js rename to js/packages/ui/Form/AddressSelect/addressSelect.js index b5a162511a..26e87999d1 100644 --- a/js/src/ui/Form/AddressSelect/addressSelect.js +++ b/js/packages/ui/Form/AddressSelect/addressSelect.js @@ -27,12 +27,12 @@ import { nodeOrStringProptype } from '@parity/shared/util/proptypes'; import { parseI18NString } from '@parity/shared/util/messages'; import { validateAddress } from '@parity/shared/util/validation'; -import AccountCard from '~/ui/AccountCard'; -import CopyToClipboard from '~/ui/CopyToClipboard'; -import InputAddress from '~/ui/Form/InputAddress'; -import LabelWrapper from '~/ui/Form/LabelWrapper'; -import Loading from '~/ui/Loading'; -import Portal from '~/ui/Portal'; +import AccountCard from '../../AccountCard'; +import CopyToClipboard from '../../CopyToClipboard'; +import Loading from '../../Loading'; +import Portal from '../../Portal'; +import InputAddress from '../InputAddress'; +import LabelWrapper from '../LabelWrapper'; import AddressSelectStore from './addressSelectStore'; import styles from './addressSelect.css'; diff --git a/js/src/ui/Form/AddressSelect/addressSelectStore.js b/js/packages/ui/Form/AddressSelect/addressSelectStore.js similarity index 100% rename from js/src/ui/Form/AddressSelect/addressSelectStore.js rename to js/packages/ui/Form/AddressSelect/addressSelectStore.js diff --git a/js/src/ui/Form/AddressSelect/index.js b/js/packages/ui/Form/AddressSelect/index.js similarity index 100% rename from js/src/ui/Form/AddressSelect/index.js rename to js/packages/ui/Form/AddressSelect/index.js diff --git a/js/src/ui/Form/Checkbox/checkbox.js b/js/packages/ui/Form/Checkbox/checkbox.js similarity index 100% rename from js/src/ui/Form/Checkbox/checkbox.js rename to js/packages/ui/Form/Checkbox/checkbox.js diff --git a/js/src/ui/Form/Checkbox/index.js b/js/packages/ui/Form/Checkbox/index.js similarity index 100% rename from js/src/ui/Form/Checkbox/index.js rename to js/packages/ui/Form/Checkbox/index.js diff --git a/js/src/ui/Form/DappUrlInput/dappUrlInput.js b/js/packages/ui/Form/DappUrlInput/dappUrlInput.js similarity index 100% rename from js/src/ui/Form/DappUrlInput/dappUrlInput.js rename to js/packages/ui/Form/DappUrlInput/dappUrlInput.js diff --git a/js/src/ui/Form/DappUrlInput/dappUrlInput.spec.js b/js/packages/ui/Form/DappUrlInput/dappUrlInput.spec.js similarity index 100% rename from js/src/ui/Form/DappUrlInput/dappUrlInput.spec.js rename to js/packages/ui/Form/DappUrlInput/dappUrlInput.spec.js diff --git a/js/src/ui/Form/DappUrlInput/index.js b/js/packages/ui/Form/DappUrlInput/index.js similarity index 100% rename from js/src/ui/Form/DappUrlInput/index.js rename to js/packages/ui/Form/DappUrlInput/index.js diff --git a/js/src/ui/Form/Dropdown/dropdown.css b/js/packages/ui/Form/Dropdown/dropdown.css similarity index 100% rename from js/src/ui/Form/Dropdown/dropdown.css rename to js/packages/ui/Form/Dropdown/dropdown.css diff --git a/js/src/ui/Form/Dropdown/dropdown.js b/js/packages/ui/Form/Dropdown/dropdown.js similarity index 100% rename from js/src/ui/Form/Dropdown/dropdown.js rename to js/packages/ui/Form/Dropdown/dropdown.js diff --git a/js/src/ui/Form/Dropdown/index.js b/js/packages/ui/Form/Dropdown/index.js similarity index 100% rename from js/src/ui/Form/Dropdown/index.js rename to js/packages/ui/Form/Dropdown/index.js diff --git a/js/src/ui/Form/FileSelect/fileSelect.css b/js/packages/ui/Form/FileSelect/fileSelect.css similarity index 100% rename from js/src/ui/Form/FileSelect/fileSelect.css rename to js/packages/ui/Form/FileSelect/fileSelect.css diff --git a/js/src/ui/Form/FileSelect/fileSelect.js b/js/packages/ui/Form/FileSelect/fileSelect.js similarity index 100% rename from js/src/ui/Form/FileSelect/fileSelect.js rename to js/packages/ui/Form/FileSelect/fileSelect.js diff --git a/js/src/ui/Form/FileSelect/fileSelect.spec.js b/js/packages/ui/Form/FileSelect/fileSelect.spec.js similarity index 100% rename from js/src/ui/Form/FileSelect/fileSelect.spec.js rename to js/packages/ui/Form/FileSelect/fileSelect.spec.js diff --git a/js/src/ui/Form/FileSelect/index.js b/js/packages/ui/Form/FileSelect/index.js similarity index 100% rename from js/src/ui/Form/FileSelect/index.js rename to js/packages/ui/Form/FileSelect/index.js diff --git a/js/src/ui/Form/Input/index.js b/js/packages/ui/Form/Input/index.js similarity index 100% rename from js/src/ui/Form/Input/index.js rename to js/packages/ui/Form/Input/index.js diff --git a/js/src/ui/Form/Input/input.css b/js/packages/ui/Form/Input/input.css similarity index 100% rename from js/src/ui/Form/Input/input.css rename to js/packages/ui/Form/Input/input.css diff --git a/js/src/ui/Form/Input/input.js b/js/packages/ui/Form/Input/input.js similarity index 98% rename from js/src/ui/Form/Input/input.js rename to js/packages/ui/Form/Input/input.js index 58a251c09f..11843fa7d0 100644 --- a/js/src/ui/Form/Input/input.js +++ b/js/packages/ui/Form/Input/input.js @@ -23,8 +23,8 @@ import { Input as SemanticInput } from 'semantic-ui-react'; import { nodeOrStringProptype } from '@parity/shared/util/proptypes'; import { parseI18NString } from '@parity/shared/util/messages'; -import CopyToClipboard from '~/ui/CopyToClipboard'; -import LabelWrapper from '~/ui/Form/LabelWrapper'; +import CopyToClipboard from '../../CopyToClipboard'; +import LabelWrapper from '../LabelWrapper'; import styles from './input.css'; diff --git a/js/src/ui/Form/InputAddress/index.js b/js/packages/ui/Form/InputAddress/index.js similarity index 100% rename from js/src/ui/Form/InputAddress/index.js rename to js/packages/ui/Form/InputAddress/index.js diff --git a/js/src/ui/Form/InputAddress/inputAddress.css b/js/packages/ui/Form/InputAddress/inputAddress.css similarity index 100% rename from js/src/ui/Form/InputAddress/inputAddress.css rename to js/packages/ui/Form/InputAddress/inputAddress.css diff --git a/js/src/ui/Form/InputAddress/inputAddress.js b/js/packages/ui/Form/InputAddress/inputAddress.js similarity index 98% rename from js/src/ui/Form/InputAddress/inputAddress.js rename to js/packages/ui/Form/InputAddress/inputAddress.js index 16ca40c3c2..2ce3b6b139 100644 --- a/js/src/ui/Form/InputAddress/inputAddress.js +++ b/js/packages/ui/Form/InputAddress/inputAddress.js @@ -22,8 +22,8 @@ import util from '@parity/api/util'; import { nodeOrStringProptype } from '@parity/shared/util/proptypes'; import { isNullAddress } from '@parity/shared/util/validation'; -import IdentityIcon from '~/ui/IdentityIcon'; -import Input from '~/ui/Form/Input'; +import IdentityIcon from '../../IdentityIcon'; +import Input from '../Input'; import styles from './inputAddress.css'; diff --git a/js/src/ui/Form/InputAddressSelect/index.js b/js/packages/ui/Form/InputAddressSelect/index.js similarity index 100% rename from js/src/ui/Form/InputAddressSelect/index.js rename to js/packages/ui/Form/InputAddressSelect/index.js diff --git a/js/src/ui/Form/InputAddressSelect/inputAddressSelect.js b/js/packages/ui/Form/InputAddressSelect/inputAddressSelect.js similarity index 100% rename from js/src/ui/Form/InputAddressSelect/inputAddressSelect.js rename to js/packages/ui/Form/InputAddressSelect/inputAddressSelect.js diff --git a/js/src/ui/Form/InputChip/Chip/chip.css b/js/packages/ui/Form/InputChip/Chip/chip.css similarity index 100% rename from js/src/ui/Form/InputChip/Chip/chip.css rename to js/packages/ui/Form/InputChip/Chip/chip.css diff --git a/js/src/ui/Form/InputChip/Chip/chip.js b/js/packages/ui/Form/InputChip/Chip/chip.js similarity index 97% rename from js/src/ui/Form/InputChip/Chip/chip.js rename to js/packages/ui/Form/InputChip/Chip/chip.js index 3dd39bdf43..dd08919f8b 100644 --- a/js/src/ui/Form/InputChip/Chip/chip.js +++ b/js/packages/ui/Form/InputChip/Chip/chip.js @@ -19,7 +19,7 @@ import PropTypes from 'prop-types'; import { nodeOrStringProptype } from '@parity/shared/util/proptypes'; -import { CloseIcon } from '~/ui/Icons'; +import { CloseIcon } from '../../../Icons'; import styles from './chip.css'; diff --git a/js/src/ui/Form/InputChip/Chip/index.js b/js/packages/ui/Form/InputChip/Chip/index.js similarity index 100% rename from js/src/ui/Form/InputChip/Chip/index.js rename to js/packages/ui/Form/InputChip/Chip/index.js diff --git a/js/src/ui/Form/InputChip/index.js b/js/packages/ui/Form/InputChip/index.js similarity index 100% rename from js/src/ui/Form/InputChip/index.js rename to js/packages/ui/Form/InputChip/index.js diff --git a/js/src/ui/Form/InputChip/inputChip.js b/js/packages/ui/Form/InputChip/inputChip.js similarity index 98% rename from js/src/ui/Form/InputChip/inputChip.js rename to js/packages/ui/Form/InputChip/inputChip.js index 2fcc3ebd13..09b2c895fa 100644 --- a/js/src/ui/Form/InputChip/inputChip.js +++ b/js/packages/ui/Form/InputChip/inputChip.js @@ -23,7 +23,7 @@ import { Input as SemanticInput } from 'semantic-ui-react'; import { parseI18NString } from '@parity/shared/util/messages'; import { arrayOrObjectProptype, nodeOrStringProptype } from '@parity/shared/util/proptypes'; -import LabelWrapper from '~/ui/Form/LabelWrapper'; +import LabelWrapper from '../LabelWrapper'; import Chip from './Chip'; diff --git a/js/src/ui/Form/InputDateTime/index.js b/js/packages/ui/Form/InputDateTime/index.js similarity index 100% rename from js/src/ui/Form/InputDateTime/index.js rename to js/packages/ui/Form/InputDateTime/index.js diff --git a/js/src/ui/Form/InputDateTime/inputDateTime.css b/js/packages/ui/Form/InputDateTime/inputDateTime.css similarity index 100% rename from js/src/ui/Form/InputDateTime/inputDateTime.css rename to js/packages/ui/Form/InputDateTime/inputDateTime.css diff --git a/js/src/ui/Form/InputDateTime/inputDateTime.js b/js/packages/ui/Form/InputDateTime/inputDateTime.js similarity index 97% rename from js/src/ui/Form/InputDateTime/inputDateTime.js rename to js/packages/ui/Form/InputDateTime/inputDateTime.js index b8403b524d..08fe8bff0d 100644 --- a/js/src/ui/Form/InputDateTime/inputDateTime.js +++ b/js/packages/ui/Form/InputDateTime/inputDateTime.js @@ -20,7 +20,7 @@ import DateTime from 'react-datetime'; import { parseI18NString } from '@parity/shared/util/messages'; -import LabelWrapper from '~/ui/Form/LabelWrapper'; +import LabelWrapper from '../LabelWrapper'; import styles from './inputDateTime.css'; diff --git a/js/src/ui/Form/Label/index.js b/js/packages/ui/Form/Label/index.js similarity index 100% rename from js/src/ui/Form/Label/index.js rename to js/packages/ui/Form/Label/index.js diff --git a/js/src/ui/Form/Label/label.css b/js/packages/ui/Form/Label/label.css similarity index 100% rename from js/src/ui/Form/Label/label.css rename to js/packages/ui/Form/Label/label.css diff --git a/js/src/ui/Form/Label/label.js b/js/packages/ui/Form/Label/label.js similarity index 100% rename from js/src/ui/Form/Label/label.js rename to js/packages/ui/Form/Label/label.js diff --git a/js/src/ui/Form/LabelWrapper/index.js b/js/packages/ui/Form/LabelWrapper/index.js similarity index 100% rename from js/src/ui/Form/LabelWrapper/index.js rename to js/packages/ui/Form/LabelWrapper/index.js diff --git a/js/src/ui/Form/LabelWrapper/labelWrapper.js b/js/packages/ui/Form/LabelWrapper/labelWrapper.js similarity index 100% rename from js/src/ui/Form/LabelWrapper/labelWrapper.js rename to js/packages/ui/Form/LabelWrapper/labelWrapper.js diff --git a/js/src/ui/Form/PasswordStrength/index.js b/js/packages/ui/Form/PasswordStrength/index.js similarity index 100% rename from js/src/ui/Form/PasswordStrength/index.js rename to js/packages/ui/Form/PasswordStrength/index.js diff --git a/js/src/ui/Form/PasswordStrength/passwordStrength.css b/js/packages/ui/Form/PasswordStrength/passwordStrength.css similarity index 100% rename from js/src/ui/Form/PasswordStrength/passwordStrength.css rename to js/packages/ui/Form/PasswordStrength/passwordStrength.css diff --git a/js/src/ui/Form/PasswordStrength/passwordStrength.js b/js/packages/ui/Form/PasswordStrength/passwordStrength.js similarity index 96% rename from js/src/ui/Form/PasswordStrength/passwordStrength.js rename to js/packages/ui/Form/PasswordStrength/passwordStrength.js index 7caeb3eb4a..5aef5c6221 100644 --- a/js/src/ui/Form/PasswordStrength/passwordStrength.js +++ b/js/packages/ui/Form/PasswordStrength/passwordStrength.js @@ -20,8 +20,8 @@ import { debounce } from 'lodash'; import { FormattedMessage } from 'react-intl'; import zxcvbn from 'zxcvbn'; -import LabelWrapper from '~/ui/Form/LabelWrapper'; -import Progress from '~/ui/Progress'; +import LabelWrapper from '../LabelWrapper'; +import Progress from '../../Progress'; import styles from './passwordStrength.css'; diff --git a/js/src/ui/Form/PasswordStrength/passwordStrength.spec.js b/js/packages/ui/Form/PasswordStrength/passwordStrength.spec.js similarity index 100% rename from js/src/ui/Form/PasswordStrength/passwordStrength.spec.js rename to js/packages/ui/Form/PasswordStrength/passwordStrength.spec.js diff --git a/js/src/ui/Form/RadioButtons/index.js b/js/packages/ui/Form/RadioButtons/index.js similarity index 100% rename from js/src/ui/Form/RadioButtons/index.js rename to js/packages/ui/Form/RadioButtons/index.js diff --git a/js/src/ui/Form/RadioButtons/radioButtons.css b/js/packages/ui/Form/RadioButtons/radioButtons.css similarity index 100% rename from js/src/ui/Form/RadioButtons/radioButtons.css rename to js/packages/ui/Form/RadioButtons/radioButtons.css diff --git a/js/src/ui/Form/RadioButtons/radioButtons.js b/js/packages/ui/Form/RadioButtons/radioButtons.js similarity index 100% rename from js/src/ui/Form/RadioButtons/radioButtons.js rename to js/packages/ui/Form/RadioButtons/radioButtons.js diff --git a/js/src/ui/Form/Slider/index.js b/js/packages/ui/Form/Slider/index.js similarity index 100% rename from js/src/ui/Form/Slider/index.js rename to js/packages/ui/Form/Slider/index.js diff --git a/js/src/ui/Form/Slider/slider.css b/js/packages/ui/Form/Slider/slider.css similarity index 100% rename from js/src/ui/Form/Slider/slider.css rename to js/packages/ui/Form/Slider/slider.css diff --git a/js/src/ui/Form/Slider/slider.js b/js/packages/ui/Form/Slider/slider.js similarity index 100% rename from js/src/ui/Form/Slider/slider.js rename to js/packages/ui/Form/Slider/slider.js diff --git a/js/src/views/Status/Debug/Toggle/index.js b/js/packages/ui/Form/Toggle/index.js similarity index 100% rename from js/src/views/Status/Debug/Toggle/index.js rename to js/packages/ui/Form/Toggle/index.js diff --git a/js/src/ui/Form/Toggle/toggle.js b/js/packages/ui/Form/Toggle/toggle.js similarity index 100% rename from js/src/ui/Form/Toggle/toggle.js rename to js/packages/ui/Form/Toggle/toggle.js diff --git a/js/src/ui/Form/TypedInput/index.js b/js/packages/ui/Form/TypedInput/index.js similarity index 100% rename from js/src/ui/Form/TypedInput/index.js rename to js/packages/ui/Form/TypedInput/index.js diff --git a/js/src/ui/Form/TypedInput/typedInput.css b/js/packages/ui/Form/TypedInput/typedInput.css similarity index 100% rename from js/src/ui/Form/TypedInput/typedInput.css rename to js/packages/ui/Form/TypedInput/typedInput.css diff --git a/js/src/ui/Form/TypedInput/typedInput.js b/js/packages/ui/Form/TypedInput/typedInput.js similarity index 97% rename from js/src/ui/Form/TypedInput/typedInput.js rename to js/packages/ui/Form/TypedInput/typedInput.js index c5540a6fda..bb87706bad 100644 --- a/js/src/ui/Form/TypedInput/typedInput.js +++ b/js/packages/ui/Form/TypedInput/typedInput.js @@ -24,13 +24,13 @@ import { bytesToHex } from '@parity/api/util/format'; import { ABI_TYPES, parseAbiType } from '@parity/shared/util/abi'; import { nodeOrStringProptype } from '@parity/shared/util/proptypes'; -import Button from '~/ui/Button'; -import Dropdown from '~/ui/Form/Dropdown'; -import Input from '~/ui/Form/Input'; -import InputAddressSelect from '~/ui/Form/InputAddressSelect'; -import LabelWrapper from '~/ui/Form/LabelWrapper'; -import Toggle from '~/ui/Form/Toggle'; -import { AddIcon, RemoveIcon } from '~/ui/Icons'; +import Button from '../../Button'; +import Dropdown from '../../Form/Dropdown'; +import Input from '../../Form/Input'; +import InputAddressSelect from '../../Form/InputAddressSelect'; +import LabelWrapper from '../../Form/LabelWrapper'; +import Toggle from '../../Form/Toggle'; +import { AddIcon, RemoveIcon } from '../../Icons'; import styles from './typedInput.css'; diff --git a/js/src/ui/Form/TypedInput/typedInput.spec.js b/js/packages/ui/Form/TypedInput/typedInput.spec.js similarity index 100% rename from js/src/ui/Form/TypedInput/typedInput.spec.js rename to js/packages/ui/Form/TypedInput/typedInput.spec.js diff --git a/js/src/ui/Form/VaultSelect/VaultSelector/index.js b/js/packages/ui/Form/VaultSelect/VaultSelector/index.js similarity index 100% rename from js/src/ui/Form/VaultSelect/VaultSelector/index.js rename to js/packages/ui/Form/VaultSelect/VaultSelector/index.js diff --git a/js/src/ui/Form/VaultSelect/VaultSelector/vaultSelector.js b/js/packages/ui/Form/VaultSelect/VaultSelector/vaultSelector.js similarity index 94% rename from js/src/ui/Form/VaultSelect/VaultSelector/vaultSelector.js rename to js/packages/ui/Form/VaultSelect/VaultSelector/vaultSelector.js index 69f0a204ec..a520ce0c3a 100644 --- a/js/src/ui/Form/VaultSelect/VaultSelector/vaultSelector.js +++ b/js/packages/ui/Form/VaultSelect/VaultSelector/vaultSelector.js @@ -19,9 +19,9 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; -import Portal from '~/ui/Portal'; -import SelectionList from '~/ui/SelectionList'; -import VaultCard from '~/ui/VaultCard'; +import Portal from '../../../Portal'; +import SelectionList from '../../../SelectionList'; +import VaultCard from '../../../VaultCard'; @observer export default class VaultSelector extends Component { diff --git a/js/src/ui/Form/VaultSelect/VaultSelector/vaultSelector.spec.js b/js/packages/ui/Form/VaultSelect/VaultSelector/vaultSelector.spec.js similarity index 100% rename from js/src/ui/Form/VaultSelect/VaultSelector/vaultSelector.spec.js rename to js/packages/ui/Form/VaultSelect/VaultSelector/vaultSelector.spec.js diff --git a/js/src/ui/Form/VaultSelect/index.js b/js/packages/ui/Form/VaultSelect/index.js similarity index 100% rename from js/src/ui/Form/VaultSelect/index.js rename to js/packages/ui/Form/VaultSelect/index.js diff --git a/js/src/ui/Form/VaultSelect/vaultSelect.js b/js/packages/ui/Form/VaultSelect/vaultSelect.js similarity index 98% rename from js/src/ui/Form/VaultSelect/vaultSelect.js rename to js/packages/ui/Form/VaultSelect/vaultSelect.js index 19dc39fd28..8c7b40cc0a 100644 --- a/js/src/ui/Form/VaultSelect/vaultSelect.js +++ b/js/packages/ui/Form/VaultSelect/vaultSelect.js @@ -18,7 +18,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; -import VaultStore from '~/views/Vaults/store'; +import VaultStore from '@parity/dapp-vaults/store'; import VaultSelector from './VaultSelector'; import InputAddress from '../InputAddress'; diff --git a/js/src/ui/Form/VaultSelect/vaultSelect.spec.js b/js/packages/ui/Form/VaultSelect/vaultSelect.spec.js similarity index 100% rename from js/src/ui/Form/VaultSelect/vaultSelect.spec.js rename to js/packages/ui/Form/VaultSelect/vaultSelect.spec.js diff --git a/js/src/ui/Form/form.css b/js/packages/ui/Form/form.css similarity index 100% rename from js/src/ui/Form/form.css rename to js/packages/ui/Form/form.css diff --git a/js/src/ui/Form/form.js b/js/packages/ui/Form/form.js similarity index 100% rename from js/src/ui/Form/form.js rename to js/packages/ui/Form/form.js diff --git a/js/src/ui/Form/index.js b/js/packages/ui/Form/index.js similarity index 100% rename from js/src/ui/Form/index.js rename to js/packages/ui/Form/index.js diff --git a/js/src/ui/GasPriceEditor/gasPriceEditor.css b/js/packages/ui/GasPriceEditor/gasPriceEditor.css similarity index 100% rename from js/src/ui/GasPriceEditor/gasPriceEditor.css rename to js/packages/ui/GasPriceEditor/gasPriceEditor.css diff --git a/js/src/ui/GasPriceEditor/gasPriceEditor.js b/js/packages/ui/GasPriceEditor/gasPriceEditor.js similarity index 100% rename from js/src/ui/GasPriceEditor/gasPriceEditor.js rename to js/packages/ui/GasPriceEditor/gasPriceEditor.js diff --git a/js/src/ui/GasPriceEditor/gasPriceEditor.spec.js b/js/packages/ui/GasPriceEditor/gasPriceEditor.spec.js similarity index 100% rename from js/src/ui/GasPriceEditor/gasPriceEditor.spec.js rename to js/packages/ui/GasPriceEditor/gasPriceEditor.spec.js diff --git a/js/src/ui/GasPriceEditor/index.js b/js/packages/ui/GasPriceEditor/index.js similarity index 100% rename from js/src/ui/GasPriceEditor/index.js rename to js/packages/ui/GasPriceEditor/index.js diff --git a/js/src/ui/GasPriceEditor/store.js b/js/packages/ui/GasPriceEditor/store.js similarity index 100% rename from js/src/ui/GasPriceEditor/store.js rename to js/packages/ui/GasPriceEditor/store.js diff --git a/js/src/ui/GasPriceEditor/store.spec.js b/js/packages/ui/GasPriceEditor/store.spec.js similarity index 100% rename from js/src/ui/GasPriceEditor/store.spec.js rename to js/packages/ui/GasPriceEditor/store.spec.js diff --git a/js/src/ui/GasPriceSelector/CustomBar/customBar.js b/js/packages/ui/GasPriceSelector/CustomBar/customBar.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomBar/customBar.js rename to js/packages/ui/GasPriceSelector/CustomBar/customBar.js diff --git a/js/src/ui/GasPriceSelector/CustomBar/index.js b/js/packages/ui/GasPriceSelector/CustomBar/index.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomBar/index.js rename to js/packages/ui/GasPriceSelector/CustomBar/index.js diff --git a/js/src/ui/GasPriceSelector/CustomCursor/customCursor.js b/js/packages/ui/GasPriceSelector/CustomCursor/customCursor.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomCursor/customCursor.js rename to js/packages/ui/GasPriceSelector/CustomCursor/customCursor.js diff --git a/js/src/ui/GasPriceSelector/CustomCursor/index.js b/js/packages/ui/GasPriceSelector/CustomCursor/index.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomCursor/index.js rename to js/packages/ui/GasPriceSelector/CustomCursor/index.js diff --git a/js/src/ui/GasPriceSelector/CustomShape/customShape.js b/js/packages/ui/GasPriceSelector/CustomShape/customShape.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomShape/customShape.js rename to js/packages/ui/GasPriceSelector/CustomShape/customShape.js diff --git a/js/src/ui/GasPriceSelector/CustomShape/index.js b/js/packages/ui/GasPriceSelector/CustomShape/index.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomShape/index.js rename to js/packages/ui/GasPriceSelector/CustomShape/index.js diff --git a/js/src/ui/GasPriceSelector/CustomTooltip/customTooltip.js b/js/packages/ui/GasPriceSelector/CustomTooltip/customTooltip.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomTooltip/customTooltip.js rename to js/packages/ui/GasPriceSelector/CustomTooltip/customTooltip.js diff --git a/js/src/ui/GasPriceSelector/CustomTooltip/index.js b/js/packages/ui/GasPriceSelector/CustomTooltip/index.js similarity index 100% rename from js/src/ui/GasPriceSelector/CustomTooltip/index.js rename to js/packages/ui/GasPriceSelector/CustomTooltip/index.js diff --git a/js/src/ui/GasPriceSelector/gasPriceSelector.css b/js/packages/ui/GasPriceSelector/gasPriceSelector.css similarity index 100% rename from js/src/ui/GasPriceSelector/gasPriceSelector.css rename to js/packages/ui/GasPriceSelector/gasPriceSelector.css diff --git a/js/src/ui/GasPriceSelector/gasPriceSelector.js b/js/packages/ui/GasPriceSelector/gasPriceSelector.js similarity index 99% rename from js/src/ui/GasPriceSelector/gasPriceSelector.js rename to js/packages/ui/GasPriceSelector/gasPriceSelector.js index 0049847fcc..b10cab13f8 100644 --- a/js/src/ui/GasPriceSelector/gasPriceSelector.js +++ b/js/packages/ui/GasPriceSelector/gasPriceSelector.js @@ -19,7 +19,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Bar, BarChart, ResponsiveContainer, Scatter, ScatterChart, Tooltip, XAxis, YAxis } from 'recharts'; -import Slider from '~/ui/Form/Slider'; +import Slider from '../Form/Slider'; import CustomBar from './CustomBar'; import CustomCursor from './CustomCursor'; diff --git a/js/src/ui/GasPriceSelector/index.js b/js/packages/ui/GasPriceSelector/index.js similarity index 100% rename from js/src/ui/GasPriceSelector/index.js rename to js/packages/ui/GasPriceSelector/index.js diff --git a/js/src/ui/GasPriceSelector/util.js b/js/packages/ui/GasPriceSelector/util.js similarity index 100% rename from js/src/ui/GasPriceSelector/util.js rename to js/packages/ui/GasPriceSelector/util.js diff --git a/js/src/ui/IconCache/iconCache.js b/js/packages/ui/IconCache/iconCache.js similarity index 100% rename from js/src/ui/IconCache/iconCache.js rename to js/packages/ui/IconCache/iconCache.js diff --git a/js/src/ui/IconCache/index.js b/js/packages/ui/IconCache/index.js similarity index 100% rename from js/src/ui/IconCache/index.js rename to js/packages/ui/IconCache/index.js diff --git a/js/src/ui/Icons/index.js b/js/packages/ui/Icons/index.js similarity index 100% rename from js/src/ui/Icons/index.js rename to js/packages/ui/Icons/index.js diff --git a/js/src/ui/Icons/index.spec.js b/js/packages/ui/Icons/index.spec.js similarity index 100% rename from js/src/ui/Icons/index.spec.js rename to js/packages/ui/Icons/index.spec.js diff --git a/js/src/ui/IdentityIcon/identityIcon.css b/js/packages/ui/IdentityIcon/identityIcon.css similarity index 100% rename from js/src/ui/IdentityIcon/identityIcon.css rename to js/packages/ui/IdentityIcon/identityIcon.css diff --git a/js/src/ui/IdentityIcon/identityIcon.js b/js/packages/ui/IdentityIcon/identityIcon.js similarity index 97% rename from js/src/ui/IdentityIcon/identityIcon.js rename to js/packages/ui/IdentityIcon/identityIcon.js index d39fdb7626..175f766301 100644 --- a/js/src/ui/IdentityIcon/identityIcon.js +++ b/js/packages/ui/IdentityIcon/identityIcon.js @@ -20,8 +20,8 @@ import PropTypes from 'prop-types'; import { createIdentityImg } from '@parity/api/util/identity'; import { isNullAddress } from '@parity/shared/util/validation'; -import IconCache from '~/ui/IconCache'; -import { CancelIcon, ContractIcon } from '~/ui/Icons'; +import IconCache from '../IconCache'; +import { CancelIcon, ContractIcon } from '../Icons'; import styles from './identityIcon.css'; diff --git a/js/src/ui/IdentityIcon/identityIcon.spec.js b/js/packages/ui/IdentityIcon/identityIcon.spec.js similarity index 100% rename from js/src/ui/IdentityIcon/identityIcon.spec.js rename to js/packages/ui/IdentityIcon/identityIcon.spec.js diff --git a/js/src/ui/IdentityIcon/index.js b/js/packages/ui/IdentityIcon/index.js similarity index 100% rename from js/src/ui/IdentityIcon/index.js rename to js/packages/ui/IdentityIcon/index.js diff --git a/js/src/ui/IdentityName/identityName.js b/js/packages/ui/IdentityName/identityName.js similarity index 98% rename from js/src/ui/IdentityName/identityName.js rename to js/packages/ui/IdentityName/identityName.js index f7272b03cb..90e22dd02d 100644 --- a/js/src/ui/IdentityName/identityName.js +++ b/js/packages/ui/IdentityName/identityName.js @@ -21,7 +21,7 @@ import { connect } from 'react-redux'; import { isNullAddress } from '@parity/shared/util/validation'; -import ShortenedHash from '~/ui/ShortenedHash'; +import ShortenedHash from '../ShortenedHash'; const defaultName = ( .bar { display: inline-block; diff --git a/js/src/ui/StatusIndicator/statusIndicator.js b/js/packages/ui/StatusIndicator/statusIndicator.js similarity index 100% rename from js/src/ui/StatusIndicator/statusIndicator.js rename to js/packages/ui/StatusIndicator/statusIndicator.js diff --git a/js/src/ui/Steps/Step/index.js b/js/packages/ui/Steps/Step/index.js similarity index 100% rename from js/src/ui/Steps/Step/index.js rename to js/packages/ui/Steps/Step/index.js diff --git a/js/src/ui/Steps/Step/step.js b/js/packages/ui/Steps/Step/step.js similarity index 100% rename from js/src/ui/Steps/Step/step.js rename to js/packages/ui/Steps/Step/step.js diff --git a/js/src/ui/Steps/index.js b/js/packages/ui/Steps/index.js similarity index 100% rename from js/src/ui/Steps/index.js rename to js/packages/ui/Steps/index.js diff --git a/js/src/ui/Steps/steps.js b/js/packages/ui/Steps/steps.js similarity index 100% rename from js/src/ui/Steps/steps.js rename to js/packages/ui/Steps/steps.js diff --git a/js/src/ui/Steps/steps.spec.js b/js/packages/ui/Steps/steps.spec.js similarity index 100% rename from js/src/ui/Steps/steps.spec.js rename to js/packages/ui/Steps/steps.spec.js diff --git a/js/src/ui/Tabs/Tab/index.js b/js/packages/ui/Tabs/Tab/index.js similarity index 100% rename from js/src/ui/Tabs/Tab/index.js rename to js/packages/ui/Tabs/Tab/index.js diff --git a/js/src/ui/Tabs/Tab/tab.js b/js/packages/ui/Tabs/Tab/tab.js similarity index 100% rename from js/src/ui/Tabs/Tab/tab.js rename to js/packages/ui/Tabs/Tab/tab.js diff --git a/js/src/ui/Tabs/index.js b/js/packages/ui/Tabs/index.js similarity index 100% rename from js/src/ui/Tabs/index.js rename to js/packages/ui/Tabs/index.js diff --git a/js/src/ui/Tabs/tabs.js b/js/packages/ui/Tabs/tabs.js similarity index 100% rename from js/src/ui/Tabs/tabs.js rename to js/packages/ui/Tabs/tabs.js diff --git a/js/src/ui/Tags/index.js b/js/packages/ui/Tags/index.js similarity index 100% rename from js/src/ui/Tags/index.js rename to js/packages/ui/Tags/index.js diff --git a/js/src/ui/Tags/tags.css b/js/packages/ui/Tags/tags.css similarity index 100% rename from js/src/ui/Tags/tags.css rename to js/packages/ui/Tags/tags.css diff --git a/js/src/ui/Tags/tags.js b/js/packages/ui/Tags/tags.js similarity index 100% rename from js/src/ui/Tags/tags.js rename to js/packages/ui/Tags/tags.js diff --git a/js/packages/ui/Theme/index.js b/js/packages/ui/Theme/index.js new file mode 100644 index 0000000000..c1a5c3fa0e --- /dev/null +++ b/js/packages/ui/Theme/index.js @@ -0,0 +1,17 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +export default from './theme'; diff --git a/js/packages/ui/Theme/theme.js b/js/packages/ui/Theme/theme.js new file mode 100644 index 0000000000..f64aa9a6f4 --- /dev/null +++ b/js/packages/ui/Theme/theme.js @@ -0,0 +1,74 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import GeoPattern from 'geopattern'; +import getMuiTheme from 'material-ui/styles/getMuiTheme'; +import darkBaseTheme from 'material-ui/styles/baseThemes/darkBaseTheme'; +import lightBaseTheme from 'material-ui/styles/baseThemes/lightBaseTheme'; + +const lightTheme = getMuiTheme(lightBaseTheme); +const muiTheme = getMuiTheme(darkBaseTheme); + +muiTheme.inkBar.backgroundColor = 'transparent'; +muiTheme.paper.backgroundColor = 'rgb(18, 18, 18)'; +muiTheme.raisedButton.primaryTextColor = 'white'; +muiTheme.snackbar.backgroundColor = 'rgba(255, 30, 30, 0.9)'; +muiTheme.snackbar.textColor = 'rgba(255, 255, 255, 0.75)'; +muiTheme.stepper.textColor = '#eee'; +muiTheme.stepper.disabledTextColor = '#777'; +muiTheme.tabs = lightTheme.tabs; +muiTheme.tabs.backgroundColor = 'transparent'; +muiTheme.tabs.selectedTextColor = 'white'; +muiTheme.tabs.textColor = 'rgba(255, 255, 255, 0.5)'; +muiTheme.textField.floatingLabelColor = 'rgba(255, 255, 255, 0.5)'; +muiTheme.textField.hintColor = 'rgba(255, 255, 255, 0.5)'; +muiTheme.textField.disabledTextColor = muiTheme.textField.textColor; +muiTheme.toolbar = lightTheme.toolbar; +muiTheme.toolbar.backgroundColor = 'transparent'; +muiTheme.zIndex.layer = 4000; +muiTheme.zIndex.popover = 4100; + +const imageCache = {}; + +muiTheme.parity = { + backgroundSeed: '0x0', + + setBackgroundSeed: (seed) => { + muiTheme.parity.backgroundSeed = seed; + }, + + getBackgroundStyle: (_gradient, _seed) => { + const gradient = _gradient || 'rgba(255, 255, 255, 0.25)'; + const seed = _seed || muiTheme.parity.backgroundSeed; + let url; + + if (_seed) { + url = GeoPattern.generate(_seed).toDataUrl(); + } else if (imageCache[seed] && imageCache[seed][gradient]) { + url = imageCache[seed][gradient]; + } else { + url = GeoPattern.generate(seed).toDataUrl(); + imageCache[seed] = imageCache[seed] || {}; + imageCache[seed][gradient] = url; + } + + return { + background: `linear-gradient(${gradient}, ${gradient}), ${url}` + }; + } +}; + +export default muiTheme; diff --git a/js/packages/ui/Theme/theme.spec.js b/js/packages/ui/Theme/theme.spec.js new file mode 100644 index 0000000000..3347032e91 --- /dev/null +++ b/js/packages/ui/Theme/theme.spec.js @@ -0,0 +1,55 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import getMuiTheme from 'material-ui/styles/getMuiTheme'; +import lightBaseTheme from 'material-ui/styles/baseThemes/lightBaseTheme'; + +const muiTheme = getMuiTheme(lightBaseTheme); + +import theme from './theme'; + +describe('ui/Theme', () => { + it('is MUI-based', () => { + expect(Object.keys(theme)).to.deep.equal(Object.keys(muiTheme).concat('parity')); + }); + + it('allows setting of Parity backgrounds', () => { + expect(typeof theme.parity.setBackgroundSeed === 'function').to.be.true; + expect(typeof theme.parity.getBackgroundStyle === 'function').to.be.true; + }); + + describe('parity', () => { + describe('setBackgroundSeed', () => { + const SEED = 'testseed'; + + beforeEach(() => { + theme.parity.setBackgroundSeed(SEED); + }); + + it('sets the correct theme values', () => { + expect(theme.parity.backgroundSeed).to.equal(SEED); + }); + }); + + describe('getBackgroundStyle', () => { + it('generates a style containing background', () => { + const style = theme.parity.getBackgroundStyle(); + + expect(style).to.have.property('background'); + }); + }); + }); +}); diff --git a/js/src/ui/Title/Waiting/index.js b/js/packages/ui/Title/Waiting/index.js similarity index 100% rename from js/src/ui/Title/Waiting/index.js rename to js/packages/ui/Title/Waiting/index.js diff --git a/js/src/ui/Title/Waiting/waiting.js b/js/packages/ui/Title/Waiting/waiting.js similarity index 96% rename from js/src/ui/Title/Waiting/waiting.js rename to js/packages/ui/Title/Waiting/waiting.js index 43ec55a934..55a6e0d691 100644 --- a/js/src/ui/Title/Waiting/waiting.js +++ b/js/packages/ui/Title/Waiting/waiting.js @@ -17,7 +17,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import Progress from '~/ui/Progress'; +import Progress from '../../Progress'; export default function Waiting ({ activeStep, busy, busySteps, className }) { const isWaiting = busy || (busySteps || []).includes(activeStep); diff --git a/js/src/ui/Title/Waiting/waiting.spec.js b/js/packages/ui/Title/Waiting/waiting.spec.js similarity index 100% rename from js/src/ui/Title/Waiting/waiting.spec.js rename to js/packages/ui/Title/Waiting/waiting.spec.js diff --git a/js/src/ui/Title/index.js b/js/packages/ui/Title/index.js similarity index 100% rename from js/src/ui/Title/index.js rename to js/packages/ui/Title/index.js diff --git a/js/src/ui/Title/title.css b/js/packages/ui/Title/title.css similarity index 100% rename from js/src/ui/Title/title.css rename to js/packages/ui/Title/title.css diff --git a/js/src/ui/Title/title.js b/js/packages/ui/Title/title.js similarity index 95% rename from js/src/ui/Title/title.js rename to js/packages/ui/Title/title.js index 6717d00363..96ec4d1057 100644 --- a/js/src/ui/Title/title.js +++ b/js/packages/ui/Title/title.js @@ -19,8 +19,8 @@ import PropTypes from 'prop-types'; import { nodeOrStringProptype } from '@parity/shared/util/proptypes'; -import { Title as ContainerTitle } from '~/ui/Container'; -import Steps from '~/ui/Steps'; +import { Title as ContainerTitle } from '../Container'; +import Steps from '../Steps'; import Waiting from './Waiting'; diff --git a/js/src/ui/Title/title.spec.js b/js/packages/ui/Title/title.spec.js similarity index 100% rename from js/src/ui/Title/title.spec.js rename to js/packages/ui/Title/title.spec.js diff --git a/js/src/ui/TokenImage/index.js b/js/packages/ui/TokenImage/index.js similarity index 100% rename from js/src/ui/TokenImage/index.js rename to js/packages/ui/TokenImage/index.js diff --git a/js/src/ui/TokenImage/tokenImage.js b/js/packages/ui/TokenImage/tokenImage.js similarity index 97% rename from js/src/ui/TokenImage/tokenImage.js rename to js/packages/ui/TokenImage/tokenImage.js index d2618aa81f..eec7d4b08d 100644 --- a/js/src/ui/TokenImage/tokenImage.js +++ b/js/packages/ui/TokenImage/tokenImage.js @@ -18,7 +18,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import unknownImage from '@parity/shared/assets/images/contracts/unknown-64x64.png'; -import IconCache from '~/ui/IconCache'; +import IconCache from '../IconCache'; const iconCache = IconCache.get(); diff --git a/js/src/ui/TxHash/index.js b/js/packages/ui/TxHash/index.js similarity index 100% rename from js/src/ui/TxHash/index.js rename to js/packages/ui/TxHash/index.js diff --git a/js/src/ui/TxHash/txHash.css b/js/packages/ui/TxHash/txHash.css similarity index 100% rename from js/src/ui/TxHash/txHash.css rename to js/packages/ui/TxHash/txHash.css diff --git a/js/src/ui/TxHash/txHash.js b/js/packages/ui/TxHash/txHash.js similarity index 97% rename from js/src/ui/TxHash/txHash.js rename to js/packages/ui/TxHash/txHash.js index 45d98f6252..2ba4c9632e 100644 --- a/js/src/ui/TxHash/txHash.js +++ b/js/packages/ui/TxHash/txHash.js @@ -21,11 +21,11 @@ import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import { DEFAULT_GAS } from '@parity/shared/util/constants'; +import { txLink } from '@parity/etherscan/links'; -import { txLink } from '~/3rdparty/etherscan/links'; -import Warning from '~/ui/Warning'; -import Progress from '~/ui/Progress'; -import ShortenedHash from '~/ui/ShortenedHash'; +import Warning from '../Warning'; +import Progress from '../Progress'; +import ShortenedHash from '../ShortenedHash'; import styles from './txHash.css'; diff --git a/js/src/ui/TxHash/txHash.spec.js b/js/packages/ui/TxHash/txHash.spec.js similarity index 100% rename from js/src/ui/TxHash/txHash.spec.js rename to js/packages/ui/TxHash/txHash.spec.js diff --git a/js/src/ui/TxList/TxRow/index.js b/js/packages/ui/TxList/TxRow/index.js similarity index 100% rename from js/src/ui/TxList/TxRow/index.js rename to js/packages/ui/TxList/TxRow/index.js diff --git a/js/src/ui/TxList/TxRow/txRow.js b/js/packages/ui/TxList/TxRow/txRow.js similarity index 97% rename from js/src/ui/TxList/TxRow/txRow.js rename to js/packages/ui/TxList/TxRow/txRow.js index a2c3428978..0c98f946ca 100644 --- a/js/src/ui/TxList/TxRow/txRow.js +++ b/js/packages/ui/TxList/TxRow/txRow.js @@ -21,13 +21,13 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; -import { txLink } from '~/3rdparty/etherscan/links'; +import { txLink } from '@parity/etherscan/links'; -import DappLink from '~/ui/DappLink'; -import IdentityIcon from '~/ui/IdentityIcon'; -import IdentityName from '~/ui/IdentityName'; -import MethodDecoding from '~/ui/MethodDecoding'; -import MethodDecodingStore from '~/ui/MethodDecoding/methodDecodingStore'; +import DappLink from '../../DappLink'; +import IdentityIcon from '../../IdentityIcon'; +import IdentityName from '../../IdentityName'; +import MethodDecoding from '../../MethodDecoding'; +import MethodDecodingStore from '../../MethodDecoding/methodDecodingStore'; import styles from '../txList.css'; diff --git a/js/src/ui/TxList/TxRow/txRow.spec.js b/js/packages/ui/TxList/TxRow/txRow.spec.js similarity index 100% rename from js/src/ui/TxList/TxRow/txRow.spec.js rename to js/packages/ui/TxList/TxRow/txRow.spec.js diff --git a/js/src/ui/TxList/index.js b/js/packages/ui/TxList/index.js similarity index 100% rename from js/src/ui/TxList/index.js rename to js/packages/ui/TxList/index.js diff --git a/js/src/ui/TxList/store.js b/js/packages/ui/TxList/store.js similarity index 100% rename from js/src/ui/TxList/store.js rename to js/packages/ui/TxList/store.js diff --git a/js/src/ui/TxList/store.spec.js b/js/packages/ui/TxList/store.spec.js similarity index 100% rename from js/src/ui/TxList/store.spec.js rename to js/packages/ui/TxList/store.spec.js diff --git a/js/src/ui/TxList/txList.css b/js/packages/ui/TxList/txList.css similarity index 100% rename from js/src/ui/TxList/txList.css rename to js/packages/ui/TxList/txList.css diff --git a/js/src/ui/TxList/txList.js b/js/packages/ui/TxList/txList.js similarity index 100% rename from js/src/ui/TxList/txList.js rename to js/packages/ui/TxList/txList.js diff --git a/js/src/ui/TxList/txList.spec.js b/js/packages/ui/TxList/txList.spec.js similarity index 100% rename from js/src/ui/TxList/txList.spec.js rename to js/packages/ui/TxList/txList.spec.js diff --git a/js/src/ui/VaultCard/Accounts/accounts.js b/js/packages/ui/VaultCard/Accounts/accounts.js similarity index 95% rename from js/src/ui/VaultCard/Accounts/accounts.js rename to js/packages/ui/VaultCard/Accounts/accounts.js index 0fa6f003f6..42e3ae6d8b 100644 --- a/js/src/ui/VaultCard/Accounts/accounts.js +++ b/js/packages/ui/VaultCard/Accounts/accounts.js @@ -18,8 +18,8 @@ import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; -import DappLink from '~/ui/DappLink'; -import IdentityIcon from '~/ui/IdentityIcon'; +import DappLink from '../../DappLink'; +import IdentityIcon from '../../IdentityIcon'; import styles from '../vaultCard.css'; diff --git a/js/src/ui/VaultCard/Accounts/accounts.spec.js b/js/packages/ui/VaultCard/Accounts/accounts.spec.js similarity index 100% rename from js/src/ui/VaultCard/Accounts/accounts.spec.js rename to js/packages/ui/VaultCard/Accounts/accounts.spec.js diff --git a/js/src/views/Home/Accounts/index.js b/js/packages/ui/VaultCard/Accounts/index.js similarity index 100% rename from js/src/views/Home/Accounts/index.js rename to js/packages/ui/VaultCard/Accounts/index.js diff --git a/js/src/ui/VaultCard/Buttons/buttons.js b/js/packages/ui/VaultCard/Buttons/buttons.js similarity index 93% rename from js/src/ui/VaultCard/Buttons/buttons.js rename to js/packages/ui/VaultCard/Buttons/buttons.js index bda4deeea7..a1a2e1c9c0 100644 --- a/js/src/ui/VaultCard/Buttons/buttons.js +++ b/js/packages/ui/VaultCard/Buttons/buttons.js @@ -17,8 +17,8 @@ import React from 'react'; import PropTypes from 'prop-types'; -import Button from '~/ui/Button'; -import { LockedIcon, UnlockedIcon } from '~/ui/Icons'; +import Button from '../../Button'; +import { LockedIcon, UnlockedIcon } from '../../Icons'; import styles from '../vaultCard.css'; diff --git a/js/src/ui/VaultCard/Buttons/index.js b/js/packages/ui/VaultCard/Buttons/index.js similarity index 100% rename from js/src/ui/VaultCard/Buttons/index.js rename to js/packages/ui/VaultCard/Buttons/index.js diff --git a/js/src/ui/VaultCard/Layout/index.js b/js/packages/ui/VaultCard/Layout/index.js similarity index 100% rename from js/src/ui/VaultCard/Layout/index.js rename to js/packages/ui/VaultCard/Layout/index.js diff --git a/js/src/ui/VaultCard/Layout/layout.css b/js/packages/ui/VaultCard/Layout/layout.css similarity index 100% rename from js/src/ui/VaultCard/Layout/layout.css rename to js/packages/ui/VaultCard/Layout/layout.css diff --git a/js/src/ui/VaultCard/Layout/layout.js b/js/packages/ui/VaultCard/Layout/layout.js similarity index 95% rename from js/src/ui/VaultCard/Layout/layout.js rename to js/packages/ui/VaultCard/Layout/layout.js index c3e800b78a..91253ff918 100644 --- a/js/src/ui/VaultCard/Layout/layout.js +++ b/js/packages/ui/VaultCard/Layout/layout.js @@ -17,8 +17,8 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; -import Title from '~/ui/Title'; -import IdentityIcon from '~/ui/IdentityIcon'; +import Title from '../../Title'; +import IdentityIcon from '../../IdentityIcon'; import styles from './layout.css'; diff --git a/js/src/ui/VaultCard/Layout/layout.spec.js b/js/packages/ui/VaultCard/Layout/layout.spec.js similarity index 100% rename from js/src/ui/VaultCard/Layout/layout.spec.js rename to js/packages/ui/VaultCard/Layout/layout.spec.js diff --git a/js/src/ui/VaultCard/index.js b/js/packages/ui/VaultCard/index.js similarity index 100% rename from js/src/ui/VaultCard/index.js rename to js/packages/ui/VaultCard/index.js diff --git a/js/src/ui/VaultCard/vaultCard.css b/js/packages/ui/VaultCard/vaultCard.css similarity index 100% rename from js/src/ui/VaultCard/vaultCard.css rename to js/packages/ui/VaultCard/vaultCard.css diff --git a/js/src/ui/VaultCard/vaultCard.js b/js/packages/ui/VaultCard/vaultCard.js similarity index 97% rename from js/src/ui/VaultCard/vaultCard.js rename to js/packages/ui/VaultCard/vaultCard.js index b93d89c482..7290594e6c 100644 --- a/js/src/ui/VaultCard/vaultCard.js +++ b/js/packages/ui/VaultCard/vaultCard.js @@ -17,7 +17,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import Container from '~/ui/Container'; +import Container from '../Container'; import Accounts from './Accounts'; import Buttons from './Buttons'; diff --git a/js/src/ui/VaultCard/vaultCard.spec.js b/js/packages/ui/VaultCard/vaultCard.spec.js similarity index 100% rename from js/src/ui/VaultCard/vaultCard.spec.js rename to js/packages/ui/VaultCard/vaultCard.spec.js diff --git a/js/src/ui/VaultTag/index.js b/js/packages/ui/VaultTag/index.js similarity index 100% rename from js/src/ui/VaultTag/index.js rename to js/packages/ui/VaultTag/index.js diff --git a/js/src/ui/VaultTag/vaultTag.css b/js/packages/ui/VaultTag/vaultTag.css similarity index 100% rename from js/src/ui/VaultTag/vaultTag.css rename to js/packages/ui/VaultTag/vaultTag.css diff --git a/js/src/ui/VaultTag/vaultTag.js b/js/packages/ui/VaultTag/vaultTag.js similarity index 96% rename from js/src/ui/VaultTag/vaultTag.js rename to js/packages/ui/VaultTag/vaultTag.js index ad22f24321..f8aeafaed1 100644 --- a/js/src/ui/VaultTag/vaultTag.js +++ b/js/packages/ui/VaultTag/vaultTag.js @@ -17,7 +17,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import IdentityIcon from '~/ui/IdentityIcon'; +import IdentityIcon from '../IdentityIcon'; import styles from './vaultTag.css'; diff --git a/js/src/ui/Warning/index.js b/js/packages/ui/Warning/index.js similarity index 100% rename from js/src/ui/Warning/index.js rename to js/packages/ui/Warning/index.js diff --git a/js/src/ui/Warning/warning.css b/js/packages/ui/Warning/warning.css similarity index 100% rename from js/src/ui/Warning/warning.css rename to js/packages/ui/Warning/warning.css diff --git a/js/src/ui/Warning/warning.js b/js/packages/ui/Warning/warning.js similarity index 100% rename from js/src/ui/Warning/warning.js rename to js/packages/ui/Warning/warning.js diff --git a/js/src/ui/_colors.css b/js/packages/ui/_colors.css similarity index 100% rename from js/src/ui/_colors.css rename to js/packages/ui/_colors.css diff --git a/js/src/ui/index.js b/js/packages/ui/index.js similarity index 99% rename from js/src/ui/index.js rename to js/packages/ui/index.js index 7f0e8e9396..ae8efd4f6f 100644 --- a/js/src/ui/index.js +++ b/js/packages/ui/index.js @@ -61,6 +61,7 @@ export Snackbar from './Snackbar'; export StatusIndicator from './StatusIndicator'; export Tabs from './Tabs'; export Tags from './Tags'; +export Theme from './Theme'; export Title from './Title'; export TokenImage from './TokenImage'; export TxHash from './TxHash'; diff --git a/js/src/ui/package.json b/js/packages/ui/package.json similarity index 100% rename from js/src/ui/package.json rename to js/packages/ui/package.json diff --git a/js/scripts/build-i18n.js b/js/scripts/build-i18n.js index 1acf2c852f..a8a7283f1a 100644 --- a/js/scripts/build-i18n.js +++ b/js/scripts/build-i18n.js @@ -37,8 +37,8 @@ const FILE_HEADER = `// Copyright 2015-2017 Parity Technologies (UK) Ltd. const SECTION_HEADER = 'export default '; const SECTION_FOOTER = ';\n'; const INDENT = ' '; -const DESTPATH = path.join(__dirname, '../src/i18n/_default'); -const ENPATH = path.join(__dirname, '../src/i18n/en'); +const DESTPATH = path.join(__dirname, '../i18n/_default'); +const ENPATH = path.join(__dirname, '../i18n/en'); const SRCPATH = path.join(__dirname, '../.build/i18n/i18n/en.json'); // main entry point diff --git a/js/scripts/lint-i18n.js b/js/scripts/lint-i18n.js index d392353d0e..540c1e8035 100644 --- a/js/scripts/lint-i18n.js +++ b/js/scripts/lint-i18n.js @@ -16,8 +16,8 @@ import flatten from 'flat'; -import * as defaults from '../src/i18n/_default'; -import { LANGUAGES, MESSAGES } from '../src/i18n/store'; +import * as defaults from '../i18n/_default'; +import { LANGUAGES, MESSAGES } from '../i18n/store'; const SKIP_LANG = ['en']; const defaultKeys = Object.keys(flatten(Object.assign({}, defaults, LANGUAGES))); diff --git a/js/src/views/Application/Status/status.js b/js/src/Application.orig/Status/status.js similarity index 98% rename from js/src/views/Application/Status/status.js rename to js/src/Application.orig/Status/status.js index af09cd5e26..ae112170e9 100644 --- a/js/src/views/Application/Status/status.js +++ b/js/src/Application.orig/Status/status.js @@ -19,7 +19,7 @@ import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; -import { BlockStatus, StatusIndicator } from '~/ui'; +import { BlockStatus, StatusIndicator } from '@parity/ui'; import styles from './status.css'; diff --git a/js/src/views/Application/TabBar/tabBar.css b/js/src/Application.orig/TabBar/tabBar.css similarity index 100% rename from js/src/views/Application/TabBar/tabBar.css rename to js/src/Application.orig/TabBar/tabBar.css diff --git a/js/src/views/Application/TabBar/tabBar.js b/js/src/Application.orig/TabBar/tabBar.js similarity index 98% rename from js/src/views/Application/TabBar/tabBar.js rename to js/src/Application.orig/TabBar/tabBar.js index 56e8a498aa..6caeb0c8a4 100644 --- a/js/src/views/Application/TabBar/tabBar.js +++ b/js/src/Application.orig/TabBar/tabBar.js @@ -22,7 +22,7 @@ import { Link } from 'react-router'; import { Toolbar, ToolbarGroup } from 'material-ui/Toolbar'; import { isEqual } from 'lodash'; -import { Tooltip, StatusIndicator } from '~/ui'; +import { Tooltip, StatusIndicator } from '@parity/ui'; import Tab from './Tab'; import styles from './tabBar.css'; diff --git a/js/src/shell/Application/application.css b/js/src/Application/application.css similarity index 100% rename from js/src/shell/Application/application.css rename to js/src/Application/application.css diff --git a/js/src/shell/Application/application.js b/js/src/Application/application.js similarity index 100% rename from js/src/shell/Application/application.js rename to js/src/Application/application.js diff --git a/js/src/shell/Application/index.js b/js/src/Application/index.js similarity index 100% rename from js/src/shell/Application/index.js rename to js/src/Application/index.js diff --git a/js/src/shell/Application/store.js b/js/src/Application/store.js similarity index 100% rename from js/src/shell/Application/store.js rename to js/src/Application/store.js diff --git a/js/src/shell/Connection/connection.css b/js/src/Connection/connection.css similarity index 92% rename from js/src/shell/Connection/connection.css rename to js/src/Connection/connection.css index 53fb75ab3c..a122617867 100644 --- a/js/src/shell/Connection/connection.css +++ b/js/src/Connection/connection.css @@ -22,7 +22,7 @@ bottom: 0; left: 0; background: rgba(255, 255, 255, 0.75); - z-index: 20000 + z-index: 20000; } .modal { @@ -31,7 +31,7 @@ right: 0; bottom: 0; left: 0; - z-index: 20001 + z-index: 20001; } .body { @@ -41,16 +41,16 @@ max-width: 40em; background: rgba(25, 25, 25, 0.75); color: rgb(208, 208, 208); - box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 45px, rgba(0, 0, 0, 0.22) 0px 10px 18px + box-shadow: rgba(0, 0, 0, 0.25) 0 14px 45px, rgba(0, 0, 0, 0.22) 0 10px 18px; } .header { - fontSize: 1.25em + font-size: 1.25em; } .info { margin-top: 1em; - line-height: 1.618em + line-height: 1.618em; } .form { @@ -83,9 +83,6 @@ vertical-align: middle; } -.iconName { -} - .icon i { font-size: 6em; } @@ -106,9 +103,11 @@ 0% { fill: rgb(0, 200, 0); } + 50% { fill: rgb(150, 200, 150); } + 100% { fill: rgb(0, 200, 0); } diff --git a/js/src/shell/Connection/connection.js b/js/src/Connection/connection.js similarity index 100% rename from js/src/shell/Connection/connection.js rename to js/src/Connection/connection.js diff --git a/js/src/shell/Connection/connection.spec.js b/js/src/Connection/connection.spec.js similarity index 99% rename from js/src/shell/Connection/connection.spec.js rename to js/src/Connection/connection.spec.js index aa7a5e3916..8c256470c9 100644 --- a/js/src/shell/Connection/connection.spec.js +++ b/js/src/Connection/connection.spec.js @@ -57,7 +57,7 @@ function render (store) { return component; } -describe('shell/Connection', () => { +describe('Connection', () => { it('renders defaults', () => { expect(render()).to.be.ok; }); diff --git a/js/src/shell/Connection/index.js b/js/src/Connection/index.js similarity index 100% rename from js/src/shell/Connection/index.js rename to js/src/Connection/index.js diff --git a/js/src/shell/Dapp/dapp.css b/js/src/Dapp/dapp.css similarity index 100% rename from js/src/shell/Dapp/dapp.css rename to js/src/Dapp/dapp.css diff --git a/js/src/shell/Dapp/dapp.js b/js/src/Dapp/dapp.js similarity index 100% rename from js/src/shell/Dapp/dapp.js rename to js/src/Dapp/dapp.js diff --git a/js/src/shell/Dapp/index.js b/js/src/Dapp/index.js similarity index 100% rename from js/src/shell/Dapp/index.js rename to js/src/Dapp/index.js diff --git a/js/src/shell/DappRequests/Request/index.js b/js/src/DappRequests/Request/index.js similarity index 100% rename from js/src/shell/DappRequests/Request/index.js rename to js/src/DappRequests/Request/index.js diff --git a/js/src/shell/DappRequests/Request/request.js b/js/src/DappRequests/Request/request.js similarity index 100% rename from js/src/shell/DappRequests/Request/request.js rename to js/src/DappRequests/Request/request.js diff --git a/js/src/shell/DappRequests/dappRequests.css b/js/src/DappRequests/dappRequests.css similarity index 100% rename from js/src/shell/DappRequests/dappRequests.css rename to js/src/DappRequests/dappRequests.css diff --git a/js/src/shell/DappRequests/dappRequests.js b/js/src/DappRequests/dappRequests.js similarity index 100% rename from js/src/shell/DappRequests/dappRequests.js rename to js/src/DappRequests/dappRequests.js diff --git a/js/src/shell/DappRequests/filteredRequests.js b/js/src/DappRequests/filteredRequests.js similarity index 100% rename from js/src/shell/DappRequests/filteredRequests.js rename to js/src/DappRequests/filteredRequests.js diff --git a/js/src/shell/DappRequests/index.js b/js/src/DappRequests/index.js similarity index 100% rename from js/src/shell/DappRequests/index.js rename to js/src/DappRequests/index.js diff --git a/js/src/shell/DappRequests/store.js b/js/src/DappRequests/store.js similarity index 100% rename from js/src/shell/DappRequests/store.js rename to js/src/DappRequests/store.js diff --git a/js/src/shell/Dapps/dappStore.spec.js b/js/src/Dapps/dappStore.spec.js similarity index 99% rename from js/src/shell/Dapps/dappStore.spec.js rename to js/src/Dapps/dappStore.spec.js index fec39a8a60..07daeda750 100644 --- a/js/src/shell/Dapps/dappStore.spec.js +++ b/js/src/Dapps/dappStore.spec.js @@ -64,7 +64,7 @@ function create () { return store; } -describe('shell/Dapps/DappStore', () => { +describe('Dapps/DappStore', () => { beforeEach(() => { stubGlobals(); }); diff --git a/js/src/shell/Dapps/dapps.css b/js/src/Dapps/dapps.css similarity index 97% rename from js/src/shell/Dapps/dapps.css rename to js/src/Dapps/dapps.css index 02dbb22352..8371fa0d0b 100644 --- a/js/src/shell/Dapps/dapps.css +++ b/js/src/Dapps/dapps.css @@ -22,7 +22,7 @@ text-align: left; max-width: 980px; - &>div:first-child { + & > div:first-child { padding-bottom: 1em; } } diff --git a/js/src/shell/Dapps/dapps.js b/js/src/Dapps/dapps.js similarity index 100% rename from js/src/shell/Dapps/dapps.js rename to js/src/Dapps/dapps.js diff --git a/js/src/shell/Dapps/dappsStore.js b/js/src/Dapps/dappsStore.js similarity index 100% rename from js/src/shell/Dapps/dappsStore.js rename to js/src/Dapps/dappsStore.js diff --git a/js/src/views/Home/Dapps/index.js b/js/src/Dapps/index.js similarity index 100% rename from js/src/views/Home/Dapps/index.js rename to js/src/Dapps/index.js diff --git a/js/src/shell/Extension/extension.css b/js/src/Extension/extension.css similarity index 100% rename from js/src/shell/Extension/extension.css rename to js/src/Extension/extension.css diff --git a/js/src/shell/Extension/extension.js b/js/src/Extension/extension.js similarity index 100% rename from js/src/shell/Extension/extension.js rename to js/src/Extension/extension.js diff --git a/js/src/shell/Extension/index.js b/js/src/Extension/index.js similarity index 100% rename from js/src/shell/Extension/index.js rename to js/src/Extension/index.js diff --git a/js/src/shell/Extension/store.js b/js/src/Extension/store.js similarity index 100% rename from js/src/shell/Extension/store.js rename to js/src/Extension/store.js diff --git a/js/src/shell/FirstRun/Completed/completed.js b/js/src/FirstRun/Completed/completed.js similarity index 100% rename from js/src/shell/FirstRun/Completed/completed.js rename to js/src/FirstRun/Completed/completed.js diff --git a/js/src/ui/Modal/Completed/index.js b/js/src/FirstRun/Completed/index.js similarity index 100% rename from js/src/ui/Modal/Completed/index.js rename to js/src/FirstRun/Completed/index.js diff --git a/js/src/shell/FirstRun/TnC/index.js b/js/src/FirstRun/TnC/index.js similarity index 100% rename from js/src/shell/FirstRun/TnC/index.js rename to js/src/FirstRun/TnC/index.js diff --git a/js/src/shell/FirstRun/TnC/tnc.js b/js/src/FirstRun/TnC/tnc.js similarity index 100% rename from js/src/shell/FirstRun/TnC/tnc.js rename to js/src/FirstRun/TnC/tnc.js diff --git a/js/src/shell/FirstRun/TnC/tnc.md b/js/src/FirstRun/TnC/tnc.md similarity index 100% rename from js/src/shell/FirstRun/TnC/tnc.md rename to js/src/FirstRun/TnC/tnc.md diff --git a/js/src/shell/FirstRun/Welcome/index.js b/js/src/FirstRun/Welcome/index.js similarity index 100% rename from js/src/shell/FirstRun/Welcome/index.js rename to js/src/FirstRun/Welcome/index.js diff --git a/js/src/shell/FirstRun/Welcome/welcome.js b/js/src/FirstRun/Welcome/welcome.js similarity index 100% rename from js/src/shell/FirstRun/Welcome/welcome.js rename to js/src/FirstRun/Welcome/welcome.js diff --git a/js/src/shell/FirstRun/firstRun.css b/js/src/FirstRun/firstRun.css similarity index 98% rename from js/src/shell/FirstRun/firstRun.css rename to js/src/FirstRun/firstRun.css index 8dd7ecfc24..e5e351ed1a 100644 --- a/js/src/shell/FirstRun/firstRun.css +++ b/js/src/FirstRun/firstRun.css @@ -44,7 +44,4 @@ .accept { margin: 1.5em 0; } - - .markdown { - } } diff --git a/js/src/shell/FirstRun/firstRun.js b/js/src/FirstRun/firstRun.js similarity index 95% rename from js/src/shell/FirstRun/firstRun.js rename to js/src/FirstRun/firstRun.js index f830b09b24..7bf2ca973a 100644 --- a/js/src/shell/FirstRun/firstRun.js +++ b/js/src/FirstRun/firstRun.js @@ -27,12 +27,10 @@ import { Button, Portal } from '@parity/ui'; import { CheckIcon, DoneIcon, NextIcon, PrintIcon, ReplayIcon } from '@parity/ui/Icons'; import ParityLogo from '@parity/shared/assets/images/parity-logo-black-no-text.svg'; - -// FIXME: These imports, while nice for re-using, breaks since the shell import -import { NewAccount, AccountDetails } from '~/views/Accounts/CreateAccount'; -import print from '~/views/Accounts/CreateAccount/print'; -import recoveryPage from '~/views/Accounts/CreateAccount/recoveryPage.ejs'; -import CreateStore from '~/views/Accounts/CreateAccount/store'; +import { NewAccount, AccountDetails } from '@parity/dapp-accounts/CreateAccount'; +import print from '@parity/dapp-accounts/CreateAccount/print'; +import recoveryPage from '@parity/dapp-accounts/CreateAccount/recoveryPage.ejs'; +import CreateStore from '@parity/dapp-accounts/CreateAccount/store'; import Completed from './Completed'; import TnC from './TnC'; diff --git a/js/src/shell/FirstRun/firstRun.spec.js b/js/src/FirstRun/firstRun.spec.js similarity index 97% rename from js/src/shell/FirstRun/firstRun.spec.js rename to js/src/FirstRun/firstRun.spec.js index e9233261d4..25cc0aae41 100644 --- a/js/src/shell/FirstRun/firstRun.spec.js +++ b/js/src/FirstRun/firstRun.spec.js @@ -62,7 +62,7 @@ function render (props = { visible: true }) { return component; } -describe('shell/FirstRun', () => { +describe('FirstRun', () => { it('renders defaults', () => { expect(render()).to.be.ok; }); diff --git a/js/src/shell/FirstRun/index.js b/js/src/FirstRun/index.js similarity index 100% rename from js/src/shell/FirstRun/index.js rename to js/src/FirstRun/index.js diff --git a/js/src/shell/ParityBar/accountStore.js b/js/src/ParityBar/accountStore.js similarity index 100% rename from js/src/shell/ParityBar/accountStore.js rename to js/src/ParityBar/accountStore.js diff --git a/js/src/shell/ParityBar/accountStore.spec.js b/js/src/ParityBar/accountStore.spec.js similarity index 98% rename from js/src/shell/ParityBar/accountStore.spec.js rename to js/src/ParityBar/accountStore.spec.js index 59213c8336..7e6acf53f2 100644 --- a/js/src/shell/ParityBar/accountStore.spec.js +++ b/js/src/ParityBar/accountStore.spec.js @@ -30,7 +30,7 @@ function create () { return store; } -describe('shell/ParityBar/AccountStore', () => { +describe('ParityBar/AccountStore', () => { beforeEach(() => { create(); }); diff --git a/js/src/shell/ParityBar/index.js b/js/src/ParityBar/index.js similarity index 100% rename from js/src/shell/ParityBar/index.js rename to js/src/ParityBar/index.js diff --git a/js/src/shell/ParityBar/parityBar.css b/js/src/ParityBar/parityBar.css similarity index 99% rename from js/src/shell/ParityBar/parityBar.css rename to js/src/ParityBar/parityBar.css index 4ef2ef4a2b..e5f8eda3aa 100644 --- a/js/src/shell/ParityBar/parityBar.css +++ b/js/src/ParityBar/parityBar.css @@ -144,7 +144,7 @@ $modalZ: 10001; } } -.link+.link { +.link + .link { margin-left: 1em; } diff --git a/js/src/shell/ParityBar/parityBar.js b/js/src/ParityBar/parityBar.js similarity index 99% rename from js/src/shell/ParityBar/parityBar.js rename to js/src/ParityBar/parityBar.js index 960f0fbe08..15eff549ac 100644 --- a/js/src/shell/ParityBar/parityBar.js +++ b/js/src/ParityBar/parityBar.js @@ -29,8 +29,8 @@ import { CancelIcon, FingerprintIcon } from '@parity/ui/Icons'; import imagesEthcoreBlock from '@parity/shared/assets/images/parity-logo-white-no-text.svg'; -import DappsStore from '~/shell/Dapps/dappsStore'; -import Signer from '~/shell/Signer/Embedded'; +import DappsStore from '../Dapps/dappsStore'; +import Signer from '../Signer/Embedded'; import AccountStore from './accountStore'; import styles from './parityBar.css'; diff --git a/js/src/shell/ParityBar/parityBar.spec.js b/js/src/ParityBar/parityBar.spec.js similarity index 99% rename from js/src/shell/ParityBar/parityBar.spec.js rename to js/src/ParityBar/parityBar.spec.js index b4da4e16fb..26ce4983f4 100644 --- a/js/src/shell/ParityBar/parityBar.spec.js +++ b/js/src/ParityBar/parityBar.spec.js @@ -67,7 +67,7 @@ function render (props = {}, state = {}) { return component; } -describe('shell/ParityBar', () => { +describe('ParityBar', () => { beforeEach(() => { render({ dapp: true }); }); diff --git a/js/src/shell/ParityBar/parityBar.test.js b/js/src/ParityBar/parityBar.test.js similarity index 100% rename from js/src/shell/ParityBar/parityBar.test.js rename to js/src/ParityBar/parityBar.test.js diff --git a/js/src/shell/Requests/index.js b/js/src/Requests/index.js similarity index 100% rename from js/src/shell/Requests/index.js rename to js/src/Requests/index.js diff --git a/js/src/shell/Requests/requests.css b/js/src/Requests/requests.css similarity index 98% rename from js/src/shell/Requests/requests.css rename to js/src/Requests/requests.css index 169fdb258f..e26d89ceb2 100644 --- a/js/src/shell/Requests/requests.css +++ b/js/src/Requests/requests.css @@ -61,7 +61,7 @@ $borderColor: rgba(0, 0, 0, 0.15); .container { display: flex; flex-direction: row; - padding: 1em 1em 0.5em 1em; + padding: 1em 1em 0.5em; } &:hover .container { diff --git a/js/src/shell/Requests/requests.js b/js/src/Requests/requests.js similarity index 100% rename from js/src/shell/Requests/requests.js rename to js/src/Requests/requests.js diff --git a/js/src/shell/Requests/savedRequests.js b/js/src/Requests/savedRequests.js similarity index 100% rename from js/src/shell/Requests/savedRequests.js rename to js/src/Requests/savedRequests.js diff --git a/js/src/shell/Requests/savedRequests.spec.js b/js/src/Requests/savedRequests.spec.js similarity index 98% rename from js/src/shell/Requests/savedRequests.spec.js rename to js/src/Requests/savedRequests.spec.js index eada978012..ef10e0210d 100644 --- a/js/src/shell/Requests/savedRequests.spec.js +++ b/js/src/Requests/savedRequests.spec.js @@ -42,7 +42,7 @@ function createApi () { }; } -describe('shell/Requests/savedRequests', () => { +describe('Requests/savedRequests', () => { beforeEach((done) => { store.set(LS_REQUESTS_KEY, { [DEFAULT_REQUEST.requestId]: DEFAULT_REQUEST, diff --git a/js/src/shell/Signer/Embedded/embedded.css b/js/src/Signer/Embedded/embedded.css similarity index 100% rename from js/src/shell/Signer/Embedded/embedded.css rename to js/src/Signer/Embedded/embedded.css diff --git a/js/src/shell/Signer/Embedded/embedded.js b/js/src/Signer/Embedded/embedded.js similarity index 100% rename from js/src/shell/Signer/Embedded/embedded.js rename to js/src/Signer/Embedded/embedded.js diff --git a/js/src/shell/Signer/Embedded/index.js b/js/src/Signer/Embedded/index.js similarity index 100% rename from js/src/shell/Signer/Embedded/index.js rename to js/src/Signer/Embedded/index.js diff --git a/js/src/shell/Signer/_layout.css b/js/src/Signer/_layout.css similarity index 100% rename from js/src/shell/Signer/_layout.css rename to js/src/Signer/_layout.css diff --git a/js/src/shell/Signer/components/Account/AccountLink/accountLink.css b/js/src/Signer/components/Account/AccountLink/accountLink.css similarity index 100% rename from js/src/shell/Signer/components/Account/AccountLink/accountLink.css rename to js/src/Signer/components/Account/AccountLink/accountLink.css diff --git a/js/src/shell/Signer/components/Account/AccountLink/accountLink.js b/js/src/Signer/components/Account/AccountLink/accountLink.js similarity index 100% rename from js/src/shell/Signer/components/Account/AccountLink/accountLink.js rename to js/src/Signer/components/Account/AccountLink/accountLink.js diff --git a/js/src/shell/Signer/components/Account/AccountLink/index.js b/js/src/Signer/components/Account/AccountLink/index.js similarity index 100% rename from js/src/shell/Signer/components/Account/AccountLink/index.js rename to js/src/Signer/components/Account/AccountLink/index.js diff --git a/js/src/shell/Signer/components/Account/account.css b/js/src/Signer/components/Account/account.css similarity index 100% rename from js/src/shell/Signer/components/Account/account.css rename to js/src/Signer/components/Account/account.css diff --git a/js/src/shell/Signer/components/Account/account.js b/js/src/Signer/components/Account/account.js similarity index 100% rename from js/src/shell/Signer/components/Account/account.js rename to js/src/Signer/components/Account/account.js diff --git a/js/src/shell/Signer/components/Account/index.js b/js/src/Signer/components/Account/index.js similarity index 100% rename from js/src/shell/Signer/components/Account/index.js rename to js/src/Signer/components/Account/index.js diff --git a/js/src/shell/Signer/components/DecryptRequest/decryptRequest.js b/js/src/Signer/components/DecryptRequest/decryptRequest.js similarity index 100% rename from js/src/shell/Signer/components/DecryptRequest/decryptRequest.js rename to js/src/Signer/components/DecryptRequest/decryptRequest.js diff --git a/js/src/shell/Signer/components/DecryptRequest/index.js b/js/src/Signer/components/DecryptRequest/index.js similarity index 100% rename from js/src/shell/Signer/components/DecryptRequest/index.js rename to js/src/Signer/components/DecryptRequest/index.js diff --git a/js/src/shell/Signer/components/RequestOrigin/index.js b/js/src/Signer/components/RequestOrigin/index.js similarity index 100% rename from js/src/shell/Signer/components/RequestOrigin/index.js rename to js/src/Signer/components/RequestOrigin/index.js diff --git a/js/src/shell/Signer/components/RequestOrigin/requestOrigin.css b/js/src/Signer/components/RequestOrigin/requestOrigin.css similarity index 100% rename from js/src/shell/Signer/components/RequestOrigin/requestOrigin.css rename to js/src/Signer/components/RequestOrigin/requestOrigin.css diff --git a/js/src/shell/Signer/components/RequestOrigin/requestOrigin.js b/js/src/Signer/components/RequestOrigin/requestOrigin.js similarity index 100% rename from js/src/shell/Signer/components/RequestOrigin/requestOrigin.js rename to js/src/Signer/components/RequestOrigin/requestOrigin.js diff --git a/js/src/shell/Signer/components/RequestOrigin/requestOrigin.spec.js b/js/src/Signer/components/RequestOrigin/requestOrigin.spec.js similarity index 100% rename from js/src/shell/Signer/components/RequestOrigin/requestOrigin.spec.js rename to js/src/Signer/components/RequestOrigin/requestOrigin.spec.js diff --git a/js/src/shell/Signer/components/RequestPending/index.js b/js/src/Signer/components/RequestPending/index.js similarity index 100% rename from js/src/shell/Signer/components/RequestPending/index.js rename to js/src/Signer/components/RequestPending/index.js diff --git a/js/src/shell/Signer/components/RequestPending/requestPending.js b/js/src/Signer/components/RequestPending/requestPending.js similarity index 100% rename from js/src/shell/Signer/components/RequestPending/requestPending.js rename to js/src/Signer/components/RequestPending/requestPending.js diff --git a/js/src/shell/Signer/components/RequestPending/requestPending.spec.js b/js/src/Signer/components/RequestPending/requestPending.spec.js similarity index 100% rename from js/src/shell/Signer/components/RequestPending/requestPending.spec.js rename to js/src/Signer/components/RequestPending/requestPending.spec.js diff --git a/js/src/shell/Signer/components/SignRequest/index.js b/js/src/Signer/components/SignRequest/index.js similarity index 100% rename from js/src/shell/Signer/components/SignRequest/index.js rename to js/src/Signer/components/SignRequest/index.js diff --git a/js/src/shell/Signer/components/SignRequest/signRequest.css b/js/src/Signer/components/SignRequest/signRequest.css similarity index 100% rename from js/src/shell/Signer/components/SignRequest/signRequest.css rename to js/src/Signer/components/SignRequest/signRequest.css diff --git a/js/src/shell/Signer/components/SignRequest/signRequest.js b/js/src/Signer/components/SignRequest/signRequest.js similarity index 100% rename from js/src/shell/Signer/components/SignRequest/signRequest.js rename to js/src/Signer/components/SignRequest/signRequest.js diff --git a/js/src/shell/Signer/components/SignRequest/signRequest.spec.js b/js/src/Signer/components/SignRequest/signRequest.spec.js similarity index 100% rename from js/src/shell/Signer/components/SignRequest/signRequest.spec.js rename to js/src/Signer/components/SignRequest/signRequest.spec.js diff --git a/js/src/shell/Signer/components/TransactionMainDetails/index.js b/js/src/Signer/components/TransactionMainDetails/index.js similarity index 100% rename from js/src/shell/Signer/components/TransactionMainDetails/index.js rename to js/src/Signer/components/TransactionMainDetails/index.js diff --git a/js/src/shell/Signer/components/TransactionMainDetails/transactionMainDetails.css b/js/src/Signer/components/TransactionMainDetails/transactionMainDetails.css similarity index 100% rename from js/src/shell/Signer/components/TransactionMainDetails/transactionMainDetails.css rename to js/src/Signer/components/TransactionMainDetails/transactionMainDetails.css diff --git a/js/src/shell/Signer/components/TransactionMainDetails/transactionMainDetails.js b/js/src/Signer/components/TransactionMainDetails/transactionMainDetails.js similarity index 100% rename from js/src/shell/Signer/components/TransactionMainDetails/transactionMainDetails.js rename to js/src/Signer/components/TransactionMainDetails/transactionMainDetails.js diff --git a/js/src/shell/Signer/components/TransactionPending/index.js b/js/src/Signer/components/TransactionPending/index.js similarity index 100% rename from js/src/shell/Signer/components/TransactionPending/index.js rename to js/src/Signer/components/TransactionPending/index.js diff --git a/js/src/shell/Signer/components/TransactionPending/transactionPending.css b/js/src/Signer/components/TransactionPending/transactionPending.css similarity index 100% rename from js/src/shell/Signer/components/TransactionPending/transactionPending.css rename to js/src/Signer/components/TransactionPending/transactionPending.css diff --git a/js/src/shell/Signer/components/TransactionPending/transactionPending.js b/js/src/Signer/components/TransactionPending/transactionPending.js similarity index 100% rename from js/src/shell/Signer/components/TransactionPending/transactionPending.js rename to js/src/Signer/components/TransactionPending/transactionPending.js diff --git a/js/src/shell/Signer/components/TransactionPendingForm/index.js b/js/src/Signer/components/TransactionPendingForm/index.js similarity index 100% rename from js/src/shell/Signer/components/TransactionPendingForm/index.js rename to js/src/Signer/components/TransactionPendingForm/index.js diff --git a/js/src/shell/Signer/components/TransactionPendingForm/transactionPendingForm.css b/js/src/Signer/components/TransactionPendingForm/transactionPendingForm.css similarity index 100% rename from js/src/shell/Signer/components/TransactionPendingForm/transactionPendingForm.css rename to js/src/Signer/components/TransactionPendingForm/transactionPendingForm.css diff --git a/js/src/shell/Signer/components/TransactionPendingForm/transactionPendingForm.js b/js/src/Signer/components/TransactionPendingForm/transactionPendingForm.js similarity index 100% rename from js/src/shell/Signer/components/TransactionPendingForm/transactionPendingForm.js rename to js/src/Signer/components/TransactionPendingForm/transactionPendingForm.js diff --git a/js/src/shell/Signer/components/TransactionPendingFormConfirm/index.js b/js/src/Signer/components/TransactionPendingFormConfirm/index.js similarity index 100% rename from js/src/shell/Signer/components/TransactionPendingFormConfirm/index.js rename to js/src/Signer/components/TransactionPendingFormConfirm/index.js diff --git a/js/src/shell/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.css b/js/src/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.css similarity index 100% rename from js/src/shell/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.css rename to js/src/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.css diff --git a/js/src/shell/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.js b/js/src/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.js similarity index 99% rename from js/src/shell/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.js rename to js/src/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.js index 723ea3bdbb..5de3a5ed02 100644 --- a/js/src/shell/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.js +++ b/js/src/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.js @@ -23,7 +23,7 @@ import ReactTooltip from 'react-tooltip'; import { Button, Form, Input, IdentityIcon, QrCode, QrScan } from '@parity/ui'; -import { generateTxQr, generateDecryptQr, generateDataQr } from '~/shell/Signer/utils/qrscan'; +import { generateTxQr, generateDecryptQr, generateDataQr } from '../../../Signer/utils/qrscan'; import styles from './transactionPendingFormConfirm.css'; diff --git a/js/src/shell/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.spec.js b/js/src/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.spec.js similarity index 100% rename from js/src/shell/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.spec.js rename to js/src/Signer/components/TransactionPendingFormConfirm/transactionPendingFormConfirm.spec.js diff --git a/js/src/shell/Signer/components/TransactionPendingFormReject/index.js b/js/src/Signer/components/TransactionPendingFormReject/index.js similarity index 100% rename from js/src/shell/Signer/components/TransactionPendingFormReject/index.js rename to js/src/Signer/components/TransactionPendingFormReject/index.js diff --git a/js/src/shell/Signer/components/TransactionPendingFormReject/transactionPendingFormReject.css b/js/src/Signer/components/TransactionPendingFormReject/transactionPendingFormReject.css similarity index 100% rename from js/src/shell/Signer/components/TransactionPendingFormReject/transactionPendingFormReject.css rename to js/src/Signer/components/TransactionPendingFormReject/transactionPendingFormReject.css diff --git a/js/src/shell/Signer/components/TransactionPendingFormReject/transactionPendingFormReject.js b/js/src/Signer/components/TransactionPendingFormReject/transactionPendingFormReject.js similarity index 100% rename from js/src/shell/Signer/components/TransactionPendingFormReject/transactionPendingFormReject.js rename to js/src/Signer/components/TransactionPendingFormReject/transactionPendingFormReject.js diff --git a/js/src/shell/Signer/components/TxHashLink/index.js b/js/src/Signer/components/TxHashLink/index.js similarity index 100% rename from js/src/shell/Signer/components/TxHashLink/index.js rename to js/src/Signer/components/TxHashLink/index.js diff --git a/js/src/shell/Signer/components/TxHashLink/txHashLink.js b/js/src/Signer/components/TxHashLink/txHashLink.js similarity index 96% rename from js/src/shell/Signer/components/TxHashLink/txHashLink.js rename to js/src/Signer/components/TxHashLink/txHashLink.js index 4a1a90e11f..a9146a8159 100644 --- a/js/src/shell/Signer/components/TxHashLink/txHashLink.js +++ b/js/src/Signer/components/TxHashLink/txHashLink.js @@ -17,7 +17,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; -import { txLink } from '~/3rdparty/etherscan/links'; +import { txLink } from '@parity/etherscan/links'; export default class TxHashLink extends Component { static propTypes = { diff --git a/js/src/shell/Signer/components/util/logger.js b/js/src/Signer/components/util/logger.js similarity index 100% rename from js/src/shell/Signer/components/util/logger.js rename to js/src/Signer/components/util/logger.js diff --git a/js/src/shell/Signer/components/util/react.js b/js/src/Signer/components/util/react.js similarity index 100% rename from js/src/shell/Signer/components/util/react.js rename to js/src/Signer/components/util/react.js diff --git a/js/src/shell/Signer/components/util/transaction.js b/js/src/Signer/components/util/transaction.js similarity index 100% rename from js/src/shell/Signer/components/util/transaction.js rename to js/src/Signer/components/util/transaction.js diff --git a/js/src/shell/Signer/components/util/transaction.spec.js b/js/src/Signer/components/util/transaction.spec.js similarity index 97% rename from js/src/shell/Signer/components/util/transaction.spec.js rename to js/src/Signer/components/util/transaction.spec.js index 089e77b561..4be594ce79 100644 --- a/js/src/shell/Signer/components/util/transaction.spec.js +++ b/js/src/Signer/components/util/transaction.spec.js @@ -17,7 +17,7 @@ import BigNumber from 'bignumber.js'; import { getShortData, getFee, getTotalValue } from './transaction'; -describe('shell/Signer/components/util/transaction', () => { +describe('Signer/components/util/transaction', () => { describe('getEstimatedMiningTime', () => { it('should return estimated mining time', () => { }); diff --git a/js/src/shell/Signer/store.js b/js/src/Signer/store.js similarity index 100% rename from js/src/shell/Signer/store.js rename to js/src/Signer/store.js diff --git a/js/src/shell/Signer/utils/extension.js b/js/src/Signer/utils/extension.js similarity index 100% rename from js/src/shell/Signer/utils/extension.js rename to js/src/Signer/utils/extension.js diff --git a/js/src/shell/Signer/utils/qrscan.js b/js/src/Signer/utils/qrscan.js similarity index 100% rename from js/src/shell/Signer/utils/qrscan.js rename to js/src/Signer/utils/qrscan.js diff --git a/js/src/shell/Signer/utils/utils.js b/js/src/Signer/utils/utils.js similarity index 100% rename from js/src/shell/Signer/utils/utils.js rename to js/src/Signer/utils/utils.js diff --git a/js/src/ui/Snackbar/index.js b/js/src/Snackbar/index.js similarity index 100% rename from js/src/ui/Snackbar/index.js rename to js/src/Snackbar/index.js diff --git a/js/src/shell/Snackbar/snackbar.js b/js/src/Snackbar/snackbar.js similarity index 100% rename from js/src/shell/Snackbar/snackbar.js rename to js/src/Snackbar/snackbar.js diff --git a/js/src/shell/Status/Consensus/consensus.js b/js/src/Status/Consensus/consensus.js similarity index 100% rename from js/src/shell/Status/Consensus/consensus.js rename to js/src/Status/Consensus/consensus.js diff --git a/js/src/shell/Status/Consensus/index.js b/js/src/Status/Consensus/index.js similarity index 100% rename from js/src/shell/Status/Consensus/index.js rename to js/src/Status/Consensus/index.js diff --git a/js/src/shell/Status/Upgrade/index.js b/js/src/Status/Upgrade/index.js similarity index 100% rename from js/src/shell/Status/Upgrade/index.js rename to js/src/Status/Upgrade/index.js diff --git a/js/src/shell/Status/Upgrade/upgrade.js b/js/src/Status/Upgrade/upgrade.js similarity index 100% rename from js/src/shell/Status/Upgrade/upgrade.js rename to js/src/Status/Upgrade/upgrade.js diff --git a/js/src/shell/Status/index.js b/js/src/Status/index.js similarity index 100% rename from js/src/shell/Status/index.js rename to js/src/Status/index.js diff --git a/js/src/shell/Status/status.css b/js/src/Status/status.css similarity index 100% rename from js/src/shell/Status/status.css rename to js/src/Status/status.css diff --git a/js/src/shell/Status/status.js b/js/src/Status/status.js similarity index 64% rename from js/src/shell/Status/status.js rename to js/src/Status/status.js index 5d84dfb584..d014cc96ba 100644 --- a/js/src/shell/Status/status.js +++ b/js/src/Status/status.js @@ -16,18 +16,22 @@ import React from 'react'; import PropTypes from 'prop-types'; +import { observer } from 'mobx-react'; import { connect } from 'react-redux'; -import { BlockStatus } from '@parity/ui'; +import { BlockStatus, StatusIndicator } from '@parity/ui'; import Consensus from './Consensus'; import Upgrade from './Upgrade'; +import Store from './store'; import styles from './status.css'; -function Status ({ clientVersion, isTest, netChain, netPeers, upgradeStore }) { - const [ clientName, , versionString, , ] = (clientVersion || '').split('/'); +function Status ({ health, upgradeStore }, { api }) { + const store = Store.get(api); + const [ clientName, , versionString, , ] = (store.clientVersion || '').split('/'); const [ versionNumber, versionType, , versionDate ] = (versionString || '').split('-'); + const { connected, max } = store.netPeers; return (
@@ -39,38 +43,42 @@ function Status ({ clientVersion, isTest, netChain, netPeers, upgradeStore }) {
+ -
- { netChain } -
- { netPeers.active.toFormat() }/{ netPeers.connected.toFormat() }/{ netPeers.max.toFormat() } peers + { connected ? connected.toFormat() : '0' }/{ max ? max.toFormat() : '0' } peers +
+
+ { store.netChain }
); } +Status.contextTypes = { + api: PropTypes.object.isRequired +}; + Status.propTypes = { - clientVersion: PropTypes.string, - isTest: PropTypes.bool, - netChain: PropTypes.string, - netPeers: PropTypes.object, + health: PropTypes.object.isRequired, upgradeStore: PropTypes.object.isRequired }; function mapStateToProps (state) { - const { clientVersion, netPeers, netChain, isTest } = state.nodeStatus; + const { health } = state.nodeStatus; return { - clientVersion, - netPeers, - netChain, - isTest + health }; } export default connect( mapStateToProps, null -)(Status); +)(observer(Status)); diff --git a/js/src/Status/store.js b/js/src/Status/store.js new file mode 100644 index 0000000000..b818624428 --- /dev/null +++ b/js/src/Status/store.js @@ -0,0 +1,87 @@ +// Copyright 2015-2017 Parity Technologies (UK) Ltd. +// This file is part of Parity. + +// Parity is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Parity is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Parity. If not, see . + +import { action, computed, observable } from 'mobx'; + +import { isTestnet } from '@parity/shared/util/testnet'; + +export default class Store { + @observable clientVersion = ''; + @observable netChain = ''; + @observable netPeers = {}; + @observable netVersion = 1; + + constructor (api) { + this._api = api; + this._api.on('connected', this.setupSubscriptions, this); + + if (this._api.isConnected) { + this.setupSubscriptions(); + } + } + + setupSubscriptions = () => { + this._api.pubsub.parity.netChain((error, netChain) => { + if (!error) { + this.setNetChain(netChain); + } + }); + + this._api.pubsub.parity.netPeers((error, netPeers) => { + if (!error) { + this.setNetPeers(netPeers); + } + }); + + this._api.net + .version() + .then(this.setNetVersion); + + this._api.web3 + .clientVersion() + .then(this.setClientVersion); + } + + @computed get isTest () { + return isTestnet(this.netVersion); + } + + @action setClientVersion = (clientVersion) => { + this.clientVersion = clientVersion; + } + + @action setNetChain = (netChain) => { + this.netChain = netChain; + } + + @action setNetPeers = (netPeers) => { + this.netPeers = netPeers; + } + + @action setNetVersion = (netVersion) => { + this.netVersion = netVersion; + } + + static instance = null; + + static get (api) { + if (!Store.instance) { + Store.instance = new Store(api); + } + + return Store.instance; + } +} diff --git a/js/src/shell/SyncWarning/index.js b/js/src/SyncWarning/index.js similarity index 100% rename from js/src/shell/SyncWarning/index.js rename to js/src/SyncWarning/index.js diff --git a/js/src/shell/SyncWarning/syncWarning.css b/js/src/SyncWarning/syncWarning.css similarity index 100% rename from js/src/shell/SyncWarning/syncWarning.css rename to js/src/SyncWarning/syncWarning.css diff --git a/js/src/shell/SyncWarning/syncWarning.js b/js/src/SyncWarning/syncWarning.js similarity index 100% rename from js/src/shell/SyncWarning/syncWarning.js rename to js/src/SyncWarning/syncWarning.js diff --git a/js/src/shell/SyncWarning/syncWarning.spec.js b/js/src/SyncWarning/syncWarning.spec.js similarity index 97% rename from js/src/shell/SyncWarning/syncWarning.spec.js rename to js/src/SyncWarning/syncWarning.spec.js index eae2e96258..5b575b6255 100644 --- a/js/src/shell/SyncWarning/syncWarning.spec.js +++ b/js/src/SyncWarning/syncWarning.spec.js @@ -47,7 +47,7 @@ function render (store) { return component; } -describe('shell/SyncWarning', () => { +describe('SyncWarning', () => { it('renders defaults', () => { expect(render()).to.be.ok; }); diff --git a/js/src/shell/UpgradeParity/index.js b/js/src/UpgradeParity/index.js similarity index 100% rename from js/src/shell/UpgradeParity/index.js rename to js/src/UpgradeParity/index.js diff --git a/js/src/shell/UpgradeParity/store.js b/js/src/UpgradeParity/store.js similarity index 100% rename from js/src/shell/UpgradeParity/store.js rename to js/src/UpgradeParity/store.js diff --git a/js/src/shell/UpgradeParity/store.spec.js b/js/src/UpgradeParity/store.spec.js similarity index 97% rename from js/src/shell/UpgradeParity/store.spec.js rename to js/src/UpgradeParity/store.spec.js index 0d883c6b26..c638eb9cb5 100644 --- a/js/src/shell/UpgradeParity/store.spec.js +++ b/js/src/UpgradeParity/store.spec.js @@ -18,7 +18,7 @@ import Store from './store'; let store; -describe('shell/UpgradeParity/store', () => { +describe('UpgradeParity/store', () => { describe('@actions', () => { beforeEach(() => { store = new Store(); diff --git a/js/src/shell/UpgradeParity/upgradeParity.css b/js/src/UpgradeParity/upgradeParity.css similarity index 100% rename from js/src/shell/UpgradeParity/upgradeParity.css rename to js/src/UpgradeParity/upgradeParity.css diff --git a/js/src/shell/UpgradeParity/upgradeParity.js b/js/src/UpgradeParity/upgradeParity.js similarity index 100% rename from js/src/shell/UpgradeParity/upgradeParity.js rename to js/src/UpgradeParity/upgradeParity.js diff --git a/js/src/api/README.md b/js/src/api/README.md deleted file mode 100644 index 1f8238bd10..0000000000 --- a/js/src/api/README.md +++ /dev/null @@ -1,146 +0,0 @@ -# ethapi-js - -A thin, fast, low-level Promise-based wrapper around the Ethereum APIs. - -[![Build Status](https://travis-ci.org/jacogr/ethapi-js.svg?branch=master)](https://travis-ci.org/jacogr/ethapi-js) -[![Coverage Status](https://coveralls.io/repos/github/jacogr/ethapi-js/badge.svg?branch=master)](https://coveralls.io/github/jacogr/ethapi-js?branch=master) -[![Dependency Status](https://david-dm.org/jacogr/ethapi-js.svg)](https://david-dm.org/jacogr/ethapi-js) -[![devDependency Status](https://david-dm.org/jacogr/ethapi-js/dev-status.svg)](https://david-dm.org/jacogr/ethapi-js#info=devDependencies) - -## contributing - -Clone the repo and install dependencies via `npm install`. Tests can be executed via - -- `npm run testOnce` (100% covered unit tests) -- `npm run testE2E` (E2E against a running RPC-enabled testnet Parity/Geth instance, `parity --testnet` and for WebScokets, `geth --testnet --ws --wsorigins '*' --rpc`) -- setting the environment `DEBUG=true` will display the RPC POST bodies and responses on E2E tests - -## installation - -Install the package with `npm install --save ethapi-js` from the [npm registry ethapi-js](https://www.npmjs.com/package/ethapi-js) - -## usage - -### initialisation - -```javascript -// import the actual EthApi class -import EthApi from 'ethapi-js'; - -// do the setup -const provider = new EthApi.Provider.Http('http://localhost:8545'); // or .Ws('ws://localhost:8546') -const ethapi = new EthApi(provider); -``` - -You will require native Promises and fetch support (latest browsers only), they can be utilised by - -```javascript -import 'isomorphic-fetch'; - -import es6Promise from 'es6-promise'; -es6Promise.polyfill(); -``` - -### making calls - -perform a call - -```javascript -ethapi.eth - .coinbase() - .then((coinbase) => { - console.log(`The coinbase is ${coinbase}`); - }); -``` - -multiple promises - -```javascript -Promise - .all([ - ethapi.eth.coinbase(), - ethapi.net.listening() - ]) - .then(([coinbase, listening]) => { - // do stuff here - }); -``` - -chaining promises - -```javascript -ethapi.eth - .newFilter({...}) - .then((filterId) => ethapi.eth.getFilterChanges(filterId)) - .then((changes) => { - console.log(changes); - }); -``` - -### contracts - -attach contract - -```javascript -const abi = [{ name: 'callMe', inputs: [{ type: 'bool', ...}, { type: 'string', ...}]}, ...abi...]; -const contract = new ethapi.newContract(abi); -``` - -deploy - -```javascript -contract - .deploy('0xc0de', [params], 'superPassword') - .then((address) => { - console.log(`the contract was deployed at ${address}`); - }); -``` - -attach a contract at address - -```javascript -// via the constructor & .at function -const contract = api.newContract(abi).at('0xa9280...7347b'); -// or on an already initialised contract -contract.at('0xa9280...7347b'); -// perform calls here -``` - -find & call a function - -```javascript -contract.instance - .myContractMethodName - .call({}, [myContractMethodParameter]) // or estimateGas or sendTransaction - .then((result) => { - console.log(`the result was ${result}`); - }); -``` - -parse events from transaction receipt - -```javascript -contract - .parseTransactionEvents(txReceipt) - .then((receipt) => { - receipt.logs.forEach((log) => { - console.log('log parameters', log.params); - }); - }); -``` - -## apis - -APIs implement the calls as exposed in the [Ethcore JSON Ethereum RPC](https://github.com/paritytech/ethereum-rpc-json/) definitions. Mapping follows the naming conventions of the originals, i.e. `eth_call` becomes `eth.call`, `personal_accounts` becomes `personal.accounts`, etc. - -- [ethapi.db](https://github.com/paritytech/ethereum-rpc-json/blob/master/interfaces.md#db) -- [ethapi.eth](https://github.com/paritytech/ethereum-rpc-json/blob/master/interfaces.md#eth) -- [ethapi.parity](https://github.com/paritytech/ethereum-rpc-json/blob/master/interfaces.md#parity) -- [ethapi.net](https://github.com/paritytech/ethereum-rpc-json/blob/master/interfaces.md#net) -- [ethapi.personal](https://github.com/paritytech/ethereum-rpc-json/blob/master/interfaces.md#personal) -- [ethapi.shh](https://github.com/paritytech/ethereum-rpc-json/blob/master/interfaces.md#shh) -- [ethapi.signer](https://github.com/paritytech/ethereum-rpc-json/blob/master/interfaces.md#signer) -- [ethapi.trace](https://github.com/paritytech/ethereum-rpc-json/blob/master/interfaces.md#trace) -- [ethapi.web3](https://github.com/paritytech/ethereum-rpc-json/blob/master/interfaces.md#web3) - -As a verification step, all exposed interfaces are tested for existing and pointing to the correct endpoints by using the generated interfaces from the above repo. diff --git a/js/src/dapps/index.ejs b/js/src/dapps/index.ejs deleted file mode 100644 index f2645e4ba8..0000000000 --- a/js/src/dapps/index.ejs +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - <%= htmlWebpackPlugin.options.title %> - - - -
-
Loading
-
- - - diff --git a/js/src/dapps/package.json b/js/src/dapps/package.json deleted file mode 100644 index 3eb5147aae..0000000000 --- a/js/src/dapps/package.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "@parity/dapps", - "description": "Parity dapps", - "version": "0.0.0", - "main": "index.js", - "author": "Parity Team ", - "maintainers": [], - "contributors": [], - "license": "GPL-3.0", - "repository": { - "type": "git", - "url": "git+https://github.com/paritytech/parity.git" - }, - "keywords": [], - "scripts": {}, - "devDependencies": {}, - "dependencies": { - "react-codemirror": "^0.3.0", - "react-inspector": "paritytech/react-inspector", - "material-ui": "0.16.5", - "validator": "6.2.0" - }, - "peerDependencies": {} -} diff --git a/js/src/shell/embed.js b/js/src/embed.js similarity index 82% rename from js/src/shell/embed.js rename to js/src/embed.js index 5e8bf7ffe9..144bb653f7 100644 --- a/js/src/shell/embed.js +++ b/js/src/embed.js @@ -25,24 +25,22 @@ import { AppContainer } from 'react-hot-loader'; import injectTapEventPlugin from 'react-tap-event-plugin'; -import SecureApi from '~/secureApi'; -import ContractInstances from '~/contracts'; +import ContractInstances from '@parity/shared/contracts'; +import { initStore } from '@parity/shared/redux'; +import { setApi } from '@parity/shared/redux/providers/apiActions'; +import ContextProvider from '@parity/ui/ContextProvider'; +import muiTheme from '@parity/ui/Theme'; +import { patchApi } from '@parity/shared/util/tx'; -import { initStore } from '~/redux'; -import ContextProvider from '~/ui/ContextProvider'; -import muiTheme from '~/ui/Theme'; +import SecureApi from './secureApi'; -import { patchApi } from '~/util/tx'; -import { setApi } from '~/redux/providers/apiActions'; - -import '~/environment'; - -import '../assets/fonts/Roboto/font.css'; -import '../assets/fonts/RobotoMono/font.css'; +import '@parity/shared/environment'; +import '@parity/shared/assets/fonts/Roboto/font.css'; +import '@parity/shared/assets/fonts/RobotoMono/font.css'; injectTapEventPlugin(); -import ParityBar from '~/views/ParityBar'; +import ParityBar from './ParityBar'; // Test transport (std transport should be provided as global object) class FakeTransport { diff --git a/js/src/shell/index.ejs b/js/src/index.ejs similarity index 100% rename from js/src/shell/index.ejs rename to js/src/index.ejs diff --git a/js/src/shell/index.js b/js/src/index.js similarity index 98% rename from js/src/shell/index.js rename to js/src/index.js index fca92633ca..f76620e8c6 100644 --- a/js/src/shell/index.js +++ b/js/src/index.js @@ -37,12 +37,11 @@ import ContextProvider from '@parity/ui/ContextProvider'; import '@parity/shared/environment'; -import SecureApi from '~/secureApi'; - import Application from './Application'; import Dapp from './Dapp'; import { setupProviderFilters, Store as DappRequestsStore } from './DappRequests'; import Dapps from './Dapps'; +import SecureApi from './secureApi'; injectTapEventPlugin(); diff --git a/js/src/parity.js b/js/src/parity.js index a5e98e3c4c..2c6a58961d 100644 --- a/js/src/parity.js +++ b/js/src/parity.js @@ -19,7 +19,7 @@ import 'whatwg-fetch'; import es6Promise from 'es6-promise'; es6Promise.polyfill(); -import Api from './api'; +import Api from '@parity/api'; import './dev.parity.html'; diff --git a/js/src/shell/README.md b/js/src/shell/README.md deleted file mode 100644 index fea47c85df..0000000000 --- a/js/src/shell/README.md +++ /dev/null @@ -1 +0,0 @@ -# Parity shell & dapp launcher diff --git a/js/src/shell/package.json b/js/src/shell/package.json deleted file mode 100644 index 3da9b0cb50..0000000000 --- a/js/src/shell/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "@parity/shell", - "description": "Parity UI shell", - "version": "0.0.0", - "main": "index.js", - "author": "Parity Team ", - "maintainers": [], - "contributors": [], - "license": "GPL-3.0", - "repository": { - "type": "git", - "url": "git+https://github.com/paritytech/parity.git" - }, - "keywords": [], - "scripts": {}, - "devDependencies": {}, - "dependencies": { - "qs": "6.3.0", - "useragent.js": "0.5.6" - }, - "peerDependencies": {} -} diff --git a/js/src/views/README.md b/js/src/views/README.md deleted file mode 100644 index 21d6df0ed5..0000000000 --- a/js/src/views/README.md +++ /dev/null @@ -1 +0,0 @@ -# Parity wallet dapps diff --git a/js/test/babel.js b/js/test/babel.js index 9a78ad2bca..5ee8d46c6d 100644 --- a/js/test/babel.js +++ b/js/test/babel.js @@ -15,5 +15,5 @@ // along with Parity. If not, see . require('babel-register')({ - ignore: /node_modules\/(?!@parity\/(abi|api|dapps|jsonrpc|shared|shell|views|ui))/ + ignore: /node_modules\/(?!@parity\/(abi|api|dapps|etherscan|jsonrpc|shared|shapeshift|ui))/ }); diff --git a/js/test/e2e/ethapi.js b/js/test/e2e/ethapi.js index 2673af3212..7815fd0b05 100644 --- a/js/test/e2e/ethapi.js +++ b/js/test/e2e/ethapi.js @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -import Api from '../../src/api'; +import Api from '../../packages/api'; function createApi (transport) { if (process.env.DEBUG) { diff --git a/js/test/mockRpc.js b/js/test/mockRpc.js index b3c6abc3e2..dba254e39d 100644 --- a/js/test/mockRpc.js +++ b/js/test/mockRpc.js @@ -17,7 +17,7 @@ import nock from 'nock'; import { Server as MockWsServer } from 'mock-socket'; -import { isFunction } from '../src/api/util/types'; +import { isFunction } from '../packages/api/util/types'; export const TEST_HTTP_URL = 'http://localhost:6688'; export const TEST_WS_URL = 'ws://localhost:8866'; diff --git a/js/npm/test/mocha.config.js b/js/test/npm/mocha.config.js similarity index 100% rename from js/npm/test/mocha.config.js rename to js/test/npm/mocha.config.js diff --git a/js/npm/test/mocha.opts b/js/test/npm/mocha.opts similarity index 100% rename from js/npm/test/mocha.opts rename to js/test/npm/mocha.opts diff --git a/js/test/types.js b/js/test/types.js index 181f742cb6..20e186d1ea 100644 --- a/js/test/types.js +++ b/js/test/types.js @@ -16,10 +16,10 @@ import BigNumber from 'bignumber.js'; -import { isInstanceOf } from '../src/api/util/types'; +import { isInstanceOf } from '../packages/api/util/types'; -export { isFunction, isInstanceOf } from '../src/api/util/types'; // eslint-disable-line no-duplicate-imports -export { isAddress } from '../src/abi/util/address'; +export { isFunction, isInstanceOf } from '../packages/api/util/types'; // eslint-disable-line no-duplicate-imports +export { isAddress } from '../packages/abi/util/address'; const ZEROS = '000000000000000000000000000000000000000000000000000000000000'; diff --git a/js/wasm/README.md b/js/wasm/README.md index fef60d86d8..46a01b180a 100644 --- a/js/wasm/README.md +++ b/js/wasm/README.md @@ -1,3 +1,3 @@ # WASM modules -- `ethkey` -> `/js/src/api/local/ethkey/ethkey.wasm` +- `ethkey` -> `/js/packages/api/local/ethkey/ethkey.wasm` diff --git a/js/wasm/ethkey/base64ify.js b/js/wasm/ethkey/base64ify.js index 346fe91e5a..853d052570 100644 --- a/js/wasm/ethkey/base64ify.js +++ b/js/wasm/ethkey/base64ify.js @@ -2,4 +2,4 @@ const fs = require('fs'); const file = fs.readFileSync('./ethkey.opt.wasm', { encoding: 'base64' }); -fs.writeFileSync('../../src/api/local/ethkey/ethkey.wasm.js', `module.exports = new Buffer('${file}', 'base64');\n`); +fs.writeFileSync('../../packages/api/local/ethkey/ethkey.wasm.js', `module.exports = new Buffer('${file}', 'base64');\n`); diff --git a/js/wasm/ethkey/build.sh b/js/wasm/ethkey/build.sh index c6a7a0909d..5a3035ebac 100755 --- a/js/wasm/ethkey/build.sh +++ b/js/wasm/ethkey/build.sh @@ -11,6 +11,6 @@ cp ./target/wasm32-unknown-emscripten/release/deps/parity_ethkey_wasm-*.wasm ./e node base64ify # Copy Base64-encoded JS version to src -cp ./ethkey.wasm.js ../../src/api/local/ethkey/ethkey.wasm.js +cp ./ethkey.wasm.js ../../packages/api/local/ethkey/ethkey.wasm.js # rm -f ./ethkey.wasm ./ethkey.opt.wasm ./ethkey.wasm.js diff --git a/js/webpack/app.js b/js/webpack/app.js index 115788f97a..c5cdd1c23e 100644 --- a/js/webpack/app.js +++ b/js/webpack/app.js @@ -29,17 +29,13 @@ const rulesEs6 = require('./rules/es6'); const rulesParity = require('./rules/parity'); const Shared = require('./shared'); -const DAPPS_BUILTIN = require('../src/shared/config/dappsBuiltin.json').map((dapp) => { - dapp.srcPath = './dapps'; - return dapp; -}); -const DAPPS_VIEWS = require('../src/shared/config/dappsViews.json').map((dapp) => { - dapp.srcPath = './views'; +const DAPPS_BUILTIN = require('../packages/shared/config/dappsBuiltin.json'); +const DAPPS_VIEWS = require('../packages/shared/config/dappsViews.json').map((dapp) => { dapp.commons = true; return dapp; }); -const FAVICON = path.resolve(__dirname, '../src/shared/assets/images/parity-logo-black-no-text.png'); +const FAVICON = path.resolve(__dirname, '../packages/shared/assets/images/parity-logo-black-no-text.png'); const DEST = process.env.BUILD_DEST || '.build'; const ENV = process.env.NODE_ENV || 'development'; @@ -51,10 +47,10 @@ const isAnalize = process.env.WPANALIZE === '1'; const entry = isEmbed ? { - embed: './shell/embed.js' + embed: './embed.js' } : Object.assign({}, Shared.dappsEntry, { - index: './shell/index.js' + index: './index.js' }); module.exports = { @@ -114,8 +110,7 @@ module.exports = { }, { test: /\.css$/, - include: [ /src/ ], - // exclude: [ /src\/dapps/ ], + include: [ /packages/, /src/ ], loader: (isProd && !isEmbed) ? ExtractTextPlugin.extract([ // 'style-loader', @@ -130,7 +125,7 @@ module.exports = { { test: /\.css$/, - exclude: [ /src/ ], + exclude: [ /packages/, /src/ ], use: [ 'style-loader', 'css-loader' ] }, { @@ -158,10 +153,10 @@ module.exports = { resolve: { alias: { - '~/api/local': path.resolve(__dirname, '../src/api/local/localAccountsMiddleware.js'), - '~': path.resolve(__dirname, '../src'), + '~/packages/api/local': path.resolve(__dirname, '../packages/api/local/localAccountsMiddleware.js'), + '~': path.resolve(__dirname, '..'), '@parity/wordlist': path.resolve(__dirname, '../node_modules/@parity/wordlist'), - '@parity': path.resolve(__dirname, '../src') + '@parity': path.resolve(__dirname, '../packages') }, modules: [ path.join(__dirname, '../node_modules') @@ -182,7 +177,7 @@ module.exports = { return new HtmlWebpackPlugin({ title: dapp.name, filename: dapp.url + '.html', - template: dapp.srcPath + '/index.ejs', + template: '../packages/dapps/index.ejs', favicon: FAVICON, secure: dapp.secure, chunks: [ !isProd || dapp.commons ? 'commons' : null, dapp.url ] @@ -200,7 +195,7 @@ module.exports = { new HtmlWebpackPlugin({ title: 'Parity', filename: 'index.html', - template: './shell/index.ejs', + template: './index.ejs', favicon: FAVICON, chunks: [ isProd ? null : 'commons', @@ -226,7 +221,7 @@ module.exports = { new CopyWebpackPlugin([ { from: './error_pages.css', to: 'styles.css' }, - { from: 'dapps/static' } + { from: '../packages/dapps/static' } ], {}) ); } @@ -236,7 +231,7 @@ module.exports = { new HtmlWebpackPlugin({ title: 'Parity Bar', filename: 'embed.html', - template: './shell/index.ejs', + template: './index.ejs', favicon: FAVICON, chunks: [ isProd ? null : 'commons', @@ -251,7 +246,7 @@ module.exports = { plugins.push( new ReactIntlAggregatePlugin({ - messagesPattern: DEST_I18N + '/src/**/*.json', + messagesPattern: DEST_I18N + '/i18n/**/*.json', aggregateOutputDir: DEST_I18N + '/i18n/', aggregateFilename: 'en' }), diff --git a/js/webpack/libraries.js b/js/webpack/libraries.js index fe3cde01ab..e1eed58854 100644 --- a/js/webpack/libraries.js +++ b/js/webpack/libraries.js @@ -43,9 +43,9 @@ module.exports = { resolve: { alias: { - '~': path.resolve(__dirname, '../src'), + '~': path.resolve(__dirname, '..'), '@parity/wordlist': path.resolve(__dirname, '../node_modules/@parity/wordlist'), - '@parity': path.resolve(__dirname, '../src') + '@parity': path.resolve(__dirname, '../packages') } }, diff --git a/js/webpack/npm.js b/js/webpack/npm.js index c3f19e22a0..cbf3e438cc 100644 --- a/js/webpack/npm.js +++ b/js/webpack/npm.js @@ -37,7 +37,7 @@ const OUTPUT_PATH = path.join(__dirname, '../.npmjs', SRC); const TEST_CONTEXT = SRC === 'parity' ? '../npm/parity/test/' - : `../src/3rdparty/${SRC}/`; + : `../packages/${SRC}/`; console.log(`Building ${LIBRARY} from library.${SRC}.js to .npmjs/${SRC}`); @@ -75,9 +75,9 @@ module.exports = { }, resolve: { alias: { - '~': path.resolve(__dirname, '../src'), + '~': path.resolve(__dirname, '..'), '@parity/wordlist': path.resolve(__dirname, '../node_modules/@parity/wordlist'), - '@parity': path.resolve(__dirname, '../src') + '@parity': path.resolve(__dirname, '../packages') }, modules: [ path.resolve('./src'), diff --git a/js/webpack/rules/parity.js b/js/webpack/rules/parity.js index 6b2abd45dd..d94b0e55f7 100644 --- a/js/webpack/rules/parity.js +++ b/js/webpack/rules/parity.js @@ -16,6 +16,6 @@ module.exports = { test: /\.js$/, - include: /node_modules\/@parity\/(abi|api|dapps|jsonrpc|shared|shell|ui|views|wordlist)/, + include: /node_modules\/@parity\/(abi|api|dapps|jsonrpc|shared|ui|views|wordlist)/, use: 'babel-loader' }; diff --git a/js/webpack/shared.js b/js/webpack/shared.js index e9ced22e5a..6901e35346 100644 --- a/js/webpack/shared.js +++ b/js/webpack/shared.js @@ -166,18 +166,19 @@ function getPlugins (_isProd = isProd) { } function getDappsEntry () { - const builtins = require('../src/shared/config/dappsBuiltin.json'); - const views = require('../src/shared/config/dappsViews.json'); + const builtins = require('../packages/shared/config/dappsBuiltin.json'); + const views = require('../packages/shared/config/dappsViews.json'); return Object.assign( - builtins.filter((dapp) => !dapp.skipBuild).reduce((_entry, dapp) => { - _entry[dapp.url] = './dapps/' + dapp.url + '/index.js'; - return _entry; - }, {}), - views.reduce((_entry, dapp) => { - _entry[dapp.url] = './views/' + dapp.src + '/index.js'; - return _entry; - }, {}) + [] + .concat( + builtins.filter((dapp) => !dapp.skipBuild), + views + ) + .reduce((_entry, dapp) => { + _entry[dapp.url] = '../packages/dapp-' + dapp.url + '/index.js'; + return _entry; + }, {}) ); } diff --git a/js/webpack/test.js b/js/webpack/test.js index d70d00872c..5ca5f7384b 100644 --- a/js/webpack/test.js +++ b/js/webpack/test.js @@ -20,9 +20,9 @@ module.exports = { context: path.join(__dirname, '../src'), resolve: { alias: { - '~': path.resolve(__dirname, '../src'), + '~': path.resolve(__dirname, '..'), '@parity/wordlist': path.resolve(__dirname, '../node_modules/@parity/wordlist'), - '@parity': path.resolve(__dirname, '../src') + '@parity': path.resolve(__dirname, '../packages') } } }; diff --git a/js/webpack/vendor.js b/js/webpack/vendor.js index 2fccce3a3a..64de5ee36f 100644 --- a/js/webpack/vendor.js +++ b/js/webpack/vendor.js @@ -68,7 +68,7 @@ module.exports = { resolve: { alias: { - '~': path.resolve(__dirname, '../src') + '~': path.resolve(__dirname, '..') } }, -- GitLab