2015-08-01 03:38:02 +02:00
|
|
|
{
|
2015-10-10 08:14:18 +02:00
|
|
|
"name": "metamask-crx",
|
2015-08-01 03:38:02 +02:00
|
|
|
"version": "0.0.0",
|
2016-02-08 20:47:42 +01:00
|
|
|
"private": true,
|
2016-01-15 03:26:54 +01:00
|
|
|
"scripts": {
|
2018-03-30 07:58:26 +02:00
|
|
|
"start": "gulp dev:extension",
|
2018-09-25 23:30:53 +02:00
|
|
|
"dist": "gulp dist",
|
2019-07-12 17:42:36 +02:00
|
|
|
"doc": "jsdoc -c development/.jsdoc.json",
|
2018-09-12 23:10:06 +02:00
|
|
|
"publish-docs": "gh-pages -d docs/jsdocs",
|
2019-03-28 13:23:38 +01:00
|
|
|
"start:test": "gulp dev:test",
|
2019-03-28 17:43:11 +01:00
|
|
|
"build:test": "gulp build:test",
|
Switch from `npm` to `yarn` (#6843)
As a solution to the constant lockfile churn issues we've had with
`npm`, the project now uses `yarn` to manage dependencies.
The `package-lock.json` file has been replaced with `yarn.lock`, which
was created using `yarn import`. It should approximate the contents of
`package-lock.json` fairly well, though there may be some changes due to
deduplication. The codeowners file has been updated to reference this
new lockfile.
All documentation and npm scripts have been updated to reference `yarn`
rather than `npm`. Note that running scripts using `npm run` still works
fine, but it seemed better to switch those to `yarn` as well to avoid
confusion.
The `npm-audit` Bash script has been replaced with `yarn-audit`. The
output of `yarn audit` is a bit different than `npm audit` in that it
returns a bitmask to describe which severity issues were found. This
made it simpler to check the results directly from the Bash script, so
the associated `npm-audit-check.js` script was no longer required. The
output should be exactly the same, and the information is still sourced
from the same place (the npm registry).
The new `yarn-audit` script does have an external dependency: `jq`.
However, `jq` is already assumed to be present by another CI script, and
is present on all CI images we use. `jq` was not added to `package.json`
as a dependency because there is no official package on the npm
registry, just wrapper scripts. We don't need it anywhere exept on CI
anyway.
The section in `CONTRIBUTING` about how to develop inside the
`node_modules` folder was removed, as the advice was a bit dated, and
wasn't specific to this project anyway.
2019-07-30 20:36:23 +02:00
|
|
|
"test": "yarn test:unit && yarn lint",
|
2019-11-22 18:03:51 +01:00
|
|
|
"dapp": "node development/static-server.js test/e2e/contract-test --port 8080",
|
|
|
|
"dapp-chain": "GANACHE_ARGS='-b 2' concurrently -k -n ganache,dapp -p '[{time}][{name}]' 'yarn ganache:start' 'sleep 5 && node development/static-server.js test/e2e/contract-test --port 8080'",
|
|
|
|
"forwarder": "node ./development/static-server.js ./node_modules/@metamask/forwarder/dist/ --port 9010",
|
|
|
|
"dapp-forwarder": "concurrently -k -n forwarder,dapp -p '[{time}][{name}]' 'yarn forwarder' 'yarn dapp'",
|
Switch from `npm` to `yarn` (#6843)
As a solution to the constant lockfile churn issues we've had with
`npm`, the project now uses `yarn` to manage dependencies.
The `package-lock.json` file has been replaced with `yarn.lock`, which
was created using `yarn import`. It should approximate the contents of
`package-lock.json` fairly well, though there may be some changes due to
deduplication. The codeowners file has been updated to reference this
new lockfile.
All documentation and npm scripts have been updated to reference `yarn`
rather than `npm`. Note that running scripts using `npm run` still works
fine, but it seemed better to switch those to `yarn` as well to avoid
confusion.
The `npm-audit` Bash script has been replaced with `yarn-audit`. The
output of `yarn audit` is a bit different than `npm audit` in that it
returns a bitmask to describe which severity issues were found. This
made it simpler to check the results directly from the Bash script, so
the associated `npm-audit-check.js` script was no longer required. The
output should be exactly the same, and the information is still sourced
from the same place (the npm registry).
The new `yarn-audit` script does have an external dependency: `jq`.
However, `jq` is already assumed to be present by another CI script, and
is present on all CI images we use. `jq` was not added to `package.json`
as a dependency because there is no official package on the npm
registry, just wrapper scripts. We don't need it anywhere exept on CI
anyway.
The section in `CONTRIBUTING` about how to develop inside the
`node_modules` folder was removed, as the advice was a bit dated, and
wasn't specific to this project anyway.
2019-07-30 20:36:23 +02:00
|
|
|
"watch:test:unit": "nodemon --exec \"yarn test:unit\" ./test ./app ./ui",
|
2019-11-22 18:03:51 +01:00
|
|
|
"sendwithprivatedapp": "node development/static-server.js test/e2e/send-eth-with-private-key-test --port 8080",
|
2018-10-01 15:30:26 +02:00
|
|
|
"test:unit": "cross-env METAMASK_ENV=test mocha --exit --require test/setup.js --recursive \"test/unit/**/*.js\" \"ui/app/**/*.test.js\"",
|
2019-10-24 15:54:32 +02:00
|
|
|
"test:unit:global": "mocha test/unit-global/*",
|
2018-03-13 12:38:05 +01:00
|
|
|
"test:single": "cross-env METAMASK_ENV=test mocha --require test/helper.js",
|
Switch from `npm` to `yarn` (#6843)
As a solution to the constant lockfile churn issues we've had with
`npm`, the project now uses `yarn` to manage dependencies.
The `package-lock.json` file has been replaced with `yarn.lock`, which
was created using `yarn import`. It should approximate the contents of
`package-lock.json` fairly well, though there may be some changes due to
deduplication. The codeowners file has been updated to reference this
new lockfile.
All documentation and npm scripts have been updated to reference `yarn`
rather than `npm`. Note that running scripts using `npm run` still works
fine, but it seemed better to switch those to `yarn` as well to avoid
confusion.
The `npm-audit` Bash script has been replaced with `yarn-audit`. The
output of `yarn audit` is a bit different than `npm audit` in that it
returns a bitmask to describe which severity issues were found. This
made it simpler to check the results directly from the Bash script, so
the associated `npm-audit-check.js` script was no longer required. The
output should be exactly the same, and the information is still sourced
from the same place (the npm registry).
The new `yarn-audit` script does have an external dependency: `jq`.
However, `jq` is already assumed to be present by another CI script, and
is present on all CI images we use. `jq` was not added to `package.json`
as a dependency because there is no official package on the npm
registry, just wrapper scripts. We don't need it anywhere exept on CI
anyway.
The section in `CONTRIBUTING` about how to develop inside the
`node_modules` folder was removed, as the advice was a bit dated, and
wasn't specific to this project anyway.
2019-07-30 20:36:23 +02:00
|
|
|
"test:integration": "yarn test:integration:build && yarn test:flat",
|
2018-03-09 22:48:48 +01:00
|
|
|
"test:integration:build": "gulp build:scss",
|
2019-07-03 03:49:59 +02:00
|
|
|
"test:e2e:chrome": "SELENIUM_BROWSER=chrome test/e2e/run-all.sh",
|
|
|
|
"test:web3:chrome": "SELENIUM_BROWSER=chrome test/e2e/run-web3.sh",
|
|
|
|
"test:web3:firefox": "SELENIUM_BROWSER=firefox test/e2e/run-web3.sh",
|
|
|
|
"test:e2e:firefox": "SELENIUM_BROWSER=firefox test/e2e/run-all.sh",
|
2019-08-13 17:59:10 +02:00
|
|
|
"test:coverage": "nyc --reporter=text --reporter=html npm run test:unit",
|
2017-09-14 02:17:09 +02:00
|
|
|
"test:coveralls-upload": "if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi",
|
Switch from `npm` to `yarn` (#6843)
As a solution to the constant lockfile churn issues we've had with
`npm`, the project now uses `yarn` to manage dependencies.
The `package-lock.json` file has been replaced with `yarn.lock`, which
was created using `yarn import`. It should approximate the contents of
`package-lock.json` fairly well, though there may be some changes due to
deduplication. The codeowners file has been updated to reference this
new lockfile.
All documentation and npm scripts have been updated to reference `yarn`
rather than `npm`. Note that running scripts using `npm run` still works
fine, but it seemed better to switch those to `yarn` as well to avoid
confusion.
The `npm-audit` Bash script has been replaced with `yarn-audit`. The
output of `yarn audit` is a bit different than `npm audit` in that it
returns a bitmask to describe which severity issues were found. This
made it simpler to check the results directly from the Bash script, so
the associated `npm-audit-check.js` script was no longer required. The
output should be exactly the same, and the information is still sourced
from the same place (the npm registry).
The new `yarn-audit` script does have an external dependency: `jq`.
However, `jq` is already assumed to be present by another CI script, and
is present on all CI images we use. `jq` was not added to `package.json`
as a dependency because there is no official package on the npm
registry, just wrapper scripts. We don't need it anywhere exept on CI
anyway.
The section in `CONTRIBUTING` about how to develop inside the
`node_modules` folder was removed, as the advice was a bit dated, and
wasn't specific to this project anyway.
2019-07-30 20:36:23 +02:00
|
|
|
"test:flat": "yarn test:flat:build && karma start test/flat.conf.js",
|
|
|
|
"test:flat:build": "yarn test:flat:build:ui && yarn test:flat:build:tests && yarn test:flat:build:locales",
|
2017-09-14 02:17:09 +02:00
|
|
|
"test:flat:build:tests": "node test/integration/index.js",
|
|
|
|
"test:flat:build:states": "node development/genStates.js",
|
2018-03-28 02:16:23 +02:00
|
|
|
"test:flat:build:locales": "mkdirp dist/chrome && cp -R app/_locales dist/chrome/_locales",
|
Switch from `npm` to `yarn` (#6843)
As a solution to the constant lockfile churn issues we've had with
`npm`, the project now uses `yarn` to manage dependencies.
The `package-lock.json` file has been replaced with `yarn.lock`, which
was created using `yarn import`. It should approximate the contents of
`package-lock.json` fairly well, though there may be some changes due to
deduplication. The codeowners file has been updated to reference this
new lockfile.
All documentation and npm scripts have been updated to reference `yarn`
rather than `npm`. Note that running scripts using `npm run` still works
fine, but it seemed better to switch those to `yarn` as well to avoid
confusion.
The `npm-audit` Bash script has been replaced with `yarn-audit`. The
output of `yarn audit` is a bit different than `npm audit` in that it
returns a bitmask to describe which severity issues were found. This
made it simpler to check the results directly from the Bash script, so
the associated `npm-audit-check.js` script was no longer required. The
output should be exactly the same, and the information is still sourced
from the same place (the npm registry).
The new `yarn-audit` script does have an external dependency: `jq`.
However, `jq` is already assumed to be present by another CI script, and
is present on all CI images we use. `jq` was not added to `package.json`
as a dependency because there is no official package on the npm
registry, just wrapper scripts. We don't need it anywhere exept on CI
anyway.
The section in `CONTRIBUTING` about how to develop inside the
`node_modules` folder was removed, as the advice was a bit dated, and
wasn't specific to this project anyway.
2019-07-30 20:36:23 +02:00
|
|
|
"test:flat:build:ui": "yarn test:flat:build:states && browserify --transform babelify --transform brfs ./development/mock-dev.js -o ./development/bundle.js",
|
2019-07-09 18:39:31 +02:00
|
|
|
"ganache:start": "./development/run-ganache",
|
2018-04-03 21:36:46 +02:00
|
|
|
"sentry:publish": "node ./development/sentry-publish.js",
|
2019-07-15 16:03:22 +02:00
|
|
|
"lint": "eslint . --ext js,json",
|
|
|
|
"lint:fix": "eslint . --ext js,json --fix",
|
2019-08-22 13:51:16 +02:00
|
|
|
"lint:changed": "{ git ls-files --others --exclude-standard ; git diff-index --name-only --diff-filter=d HEAD ; } | grep --regexp='[.]js$' --regexp='[.]json$' | tr '\\n' '\\0' | xargs -0 eslint",
|
|
|
|
"lint:changed:fix": "{ git ls-files --others --exclude-standard ; git diff-index --name-only --diff-filter=d HEAD ; } | grep --regexp='[.]js$' --regexp='[.]json$' | tr '\\n' '\\0' | xargs -0 eslint --fix",
|
2019-11-19 16:46:10 +01:00
|
|
|
"lint:shellcheck": "shellcheck --version && find . -type f -name '*.sh' ! -path './node_modules/*' -print0 | xargs -0 shellcheck",
|
2019-09-21 18:31:33 +02:00
|
|
|
"verify-locales": "node ./development/verify-locale-strings.js",
|
2018-09-26 02:44:57 +02:00
|
|
|
"mozilla-lint": "addons-linter dist/firefox",
|
2019-06-24 20:40:49 +02:00
|
|
|
"watch": "cross-env METAMASK_ENV=test mocha --watch --require test/setup.js --reporter min --recursive \"test/unit/**/*.js\" \"ui/app/**/*.test.js\"",
|
2019-07-11 16:57:06 +02:00
|
|
|
"devtools:react": "react-devtools",
|
|
|
|
"devtools:redux": "remotedev --hostname=localhost --port=8000",
|
Switch from `npm` to `yarn` (#6843)
As a solution to the constant lockfile churn issues we've had with
`npm`, the project now uses `yarn` to manage dependencies.
The `package-lock.json` file has been replaced with `yarn.lock`, which
was created using `yarn import`. It should approximate the contents of
`package-lock.json` fairly well, though there may be some changes due to
deduplication. The codeowners file has been updated to reference this
new lockfile.
All documentation and npm scripts have been updated to reference `yarn`
rather than `npm`. Note that running scripts using `npm run` still works
fine, but it seemed better to switch those to `yarn` as well to avoid
confusion.
The `npm-audit` Bash script has been replaced with `yarn-audit`. The
output of `yarn audit` is a bit different than `npm audit` in that it
returns a bitmask to describe which severity issues were found. This
made it simpler to check the results directly from the Bash script, so
the associated `npm-audit-check.js` script was no longer required. The
output should be exactly the same, and the information is still sourced
from the same place (the npm registry).
The new `yarn-audit` script does have an external dependency: `jq`.
However, `jq` is already assumed to be present by another CI script, and
is present on all CI images we use. `jq` was not added to `package.json`
as a dependency because there is no official package on the npm
registry, just wrapper scripts. We don't need it anywhere exept on CI
anyway.
The section in `CONTRIBUTING` about how to develop inside the
`node_modules` folder was removed, as the advice was a bit dated, and
wasn't specific to this project anyway.
2019-07-30 20:36:23 +02:00
|
|
|
"start:dev": "concurrently -k -n build,react,redux yarn:start yarn:devtools:react yarn:devtools:redux",
|
2016-12-07 23:34:15 +01:00
|
|
|
"announce": "node development/announcer.js",
|
2018-03-02 22:55:56 +01:00
|
|
|
"version:bump": "node development/run-version-bump.js",
|
2018-11-08 03:02:12 +01:00
|
|
|
"storybook": "start-storybook -p 6006 -c .storybook",
|
2019-03-20 13:18:50 +01:00
|
|
|
"update-changelog": "./development/auto-changelog.sh",
|
|
|
|
"rollback": "./development/rollback.sh"
|
2016-04-14 00:46:39 +02:00
|
|
|
},
|
2019-09-16 19:11:01 +02:00
|
|
|
"resolutions": {
|
2019-10-21 14:16:21 +02:00
|
|
|
"3box/ipfs/ipld-zcash/zcash-bitcore-lib/lodash": "^4.17.12",
|
2019-10-22 21:29:21 +02:00
|
|
|
"pubnub/superagent-proxy": "^2.0.0"
|
2019-09-16 19:11:01 +02:00
|
|
|
},
|
2015-08-01 03:38:02 +02:00
|
|
|
"dependencies": {
|
2019-09-19 01:29:46 +02:00
|
|
|
"3box": "^1.10.2",
|
2019-08-02 17:47:20 +02:00
|
|
|
"@babel/runtime": "^7.5.5",
|
2018-08-08 14:17:16 +02:00
|
|
|
"@material-ui/core": "1.0.0",
|
2018-10-20 08:22:50 +02:00
|
|
|
"@sentry/browser": "^4.1.1",
|
2018-08-17 18:56:07 +02:00
|
|
|
"@zxing/library": "^0.8.0",
|
2019-06-05 20:05:01 +02:00
|
|
|
"abi-decoder": "^1.2.0",
|
2019-09-12 22:07:27 +02:00
|
|
|
"abortcontroller-polyfill": "^1.3.0",
|
2019-07-03 03:16:20 +02:00
|
|
|
"asmcrypto.js": "^2.3.2",
|
2017-07-19 00:11:29 +02:00
|
|
|
"await-semaphore": "^0.1.1",
|
2017-11-24 18:35:17 +01:00
|
|
|
"bignumber.js": "^4.1.0",
|
2016-10-28 01:50:01 +02:00
|
|
|
"bip39": "^2.2.0",
|
2017-03-30 23:43:56 +02:00
|
|
|
"bluebird": "^3.5.0",
|
2017-08-04 20:42:13 +02:00
|
|
|
"bn.js": "^4.11.7",
|
2017-08-14 10:03:16 +02:00
|
|
|
"boron": "^0.2.3",
|
2016-12-20 19:11:51 +01:00
|
|
|
"browser-passworder": "^2.0.3",
|
2016-04-20 22:22:41 +02:00
|
|
|
"browserify-derequire": "^0.9.4",
|
2018-03-06 09:23:43 +01:00
|
|
|
"browserify-unibabel": "^3.0.0",
|
2018-09-20 18:06:23 +02:00
|
|
|
"c3": "^0.6.7",
|
2017-08-23 13:04:11 +02:00
|
|
|
"classnames": "^2.2.5",
|
2018-10-20 09:14:59 +02:00
|
|
|
"clone": "^2.1.2",
|
2019-10-31 19:37:06 +01:00
|
|
|
"content-hash": "^2.4.4",
|
2017-08-04 01:38:44 +02:00
|
|
|
"copy-to-clipboard": "^3.0.8",
|
2018-04-03 22:52:01 +02:00
|
|
|
"currency-formatter": "^1.4.2",
|
2018-09-20 18:06:23 +02:00
|
|
|
"d3": "^5.7.0",
|
2018-09-23 11:42:13 +02:00
|
|
|
"debounce": "1.1.0",
|
2018-01-25 22:01:03 +01:00
|
|
|
"debounce-stream": "^2.0.0",
|
2018-05-14 15:30:50 +02:00
|
|
|
"deep-extend": "^0.5.1",
|
2019-10-24 15:54:32 +02:00
|
|
|
"deep-freeze-strict": "1.1.1",
|
2017-05-15 23:35:24 +02:00
|
|
|
"detect-node": "^2.0.3",
|
2018-08-01 00:30:40 +02:00
|
|
|
"detectrtc": "^1.3.6",
|
2016-01-15 11:03:42 +01:00
|
|
|
"dnode": "^1.2.2",
|
2016-01-17 10:27:25 +01:00
|
|
|
"end-of-stream": "^1.1.0",
|
2019-08-26 18:07:44 +02:00
|
|
|
"eth-block-tracker": "^4.4.2",
|
2019-11-18 22:46:28 +01:00
|
|
|
"eth-contract-metadata": "^1.11.0",
|
2018-07-27 02:24:39 +02:00
|
|
|
"eth-ens-namehash": "^2.0.8",
|
2019-09-17 18:36:09 +02:00
|
|
|
"eth-json-rpc-errors": "^1.1.0",
|
2019-10-30 02:38:00 +01:00
|
|
|
"eth-json-rpc-filters": "^4.1.1",
|
2019-08-26 18:07:44 +02:00
|
|
|
"eth-json-rpc-infura": "^4.0.1",
|
2019-09-09 20:53:13 +02:00
|
|
|
"eth-json-rpc-middleware": "^4.2.0",
|
2019-10-22 20:33:49 +02:00
|
|
|
"eth-keyring-controller": "^5.3.0",
|
2019-06-05 18:46:41 +02:00
|
|
|
"eth-ledger-bridge-keyring": "^0.2.0",
|
2019-04-17 20:21:21 +02:00
|
|
|
"eth-method-registry": "^1.2.0",
|
2017-08-04 23:11:40 +02:00
|
|
|
"eth-phishing-detect": "^1.1.4",
|
2017-06-15 06:42:29 +02:00
|
|
|
"eth-query": "^2.1.2",
|
2019-07-23 21:23:42 +02:00
|
|
|
"eth-sig-util": "^2.3.0",
|
2019-08-26 18:07:44 +02:00
|
|
|
"eth-token-tracker": "^1.1.10",
|
2019-06-05 18:52:01 +02:00
|
|
|
"eth-trezor-keyring": "^0.4.0",
|
2017-09-29 02:39:53 +02:00
|
|
|
"ethereumjs-abi": "^0.6.4",
|
2019-06-11 17:24:47 +02:00
|
|
|
"ethereumjs-tx": "1.3.7",
|
2019-10-31 02:31:04 +01:00
|
|
|
"ethereumjs-util": "5.1.0",
|
2016-10-21 01:44:31 +02:00
|
|
|
"ethereumjs-wallet": "^0.6.0",
|
2017-10-14 17:23:44 +02:00
|
|
|
"etherscan-link": "^1.0.2",
|
2018-05-11 20:15:10 +02:00
|
|
|
"ethjs": "^0.4.0",
|
2018-07-02 19:30:56 +02:00
|
|
|
"ethjs-contract": "^0.2.3",
|
2017-05-23 02:45:29 +02:00
|
|
|
"ethjs-ens": "^2.0.0",
|
2018-03-28 18:40:11 +02:00
|
|
|
"ethjs-query": "^0.3.4",
|
2018-08-21 00:39:03 +02:00
|
|
|
"extension-port-stream": "^1.0.0",
|
2018-05-08 14:56:58 +02:00
|
|
|
"extensionizer": "^1.0.1",
|
2017-08-15 03:46:04 +02:00
|
|
|
"fast-json-patch": "^2.0.4",
|
2017-11-24 18:35:17 +01:00
|
|
|
"fuse.js": "^3.2.0",
|
2019-11-18 22:46:28 +01:00
|
|
|
"gaba": "^1.9.0",
|
2018-08-30 21:31:24 +02:00
|
|
|
"human-standard-token-abi": "^2.0.0",
|
2016-10-28 01:01:21 +02:00
|
|
|
"jazzicon": "^1.2.0",
|
2019-11-12 22:29:56 +01:00
|
|
|
"json-rpc-engine": "^5.1.5",
|
2019-06-05 20:05:01 +02:00
|
|
|
"json-rpc-middleware-stream": "^2.1.1",
|
2018-09-10 23:11:57 +02:00
|
|
|
"jsonschema": "^1.2.4",
|
2017-08-30 11:05:45 +02:00
|
|
|
"lodash.debounce": "^4.0.8",
|
|
|
|
"lodash.shuffle": "^4.2.0",
|
2017-02-20 21:59:44 +01:00
|
|
|
"loglevel": "^1.4.1",
|
2018-12-13 21:48:15 +01:00
|
|
|
"luxon": "^1.8.2",
|
2019-09-13 16:32:55 +02:00
|
|
|
"metamask-inpage-provider": "^3.0.0",
|
2018-04-03 22:53:02 +02:00
|
|
|
"metamask-logo": "^2.1.4",
|
2017-01-10 22:46:15 +01:00
|
|
|
"mkdirp": "^0.5.1",
|
2018-07-27 02:24:39 +02:00
|
|
|
"multihashes": "^0.4.12",
|
2019-05-21 17:17:09 +02:00
|
|
|
"nonce-tracker": "^1.0.0",
|
2017-05-23 00:43:20 +02:00
|
|
|
"number-to-bn": "^1.7.0",
|
2017-09-08 06:17:49 +02:00
|
|
|
"obj-multiplex": "^1.0.0",
|
2019-08-26 18:07:44 +02:00
|
|
|
"obs-store": "^4.0.3",
|
2018-01-06 06:24:20 +01:00
|
|
|
"percentile": "^1.2.0",
|
2018-03-28 18:40:11 +02:00
|
|
|
"pify": "^3.0.0",
|
2016-04-18 20:31:06 +02:00
|
|
|
"polyfill-crypto.getrandomvalues": "^1.0.0",
|
2017-07-19 00:41:30 +02:00
|
|
|
"post-message-stream": "^3.0.0",
|
2016-11-29 23:56:02 +01:00
|
|
|
"promise-filter": "^1.1.0",
|
2017-01-24 21:06:59 +01:00
|
|
|
"promise-to-callback": "^1.0.0",
|
2018-03-27 09:20:35 +02:00
|
|
|
"prop-types": "^15.6.1",
|
2019-08-06 21:33:41 +02:00
|
|
|
"pubnub": "4.24.4",
|
2018-03-09 20:51:03 +01:00
|
|
|
"pump": "^3.0.0",
|
2019-11-01 18:54:00 +01:00
|
|
|
"punycode": "^2.1.1",
|
2019-02-25 20:10:13 +01:00
|
|
|
"qrcode-generator": "1.4.1",
|
2017-09-12 22:38:02 +02:00
|
|
|
"ramda": "^0.24.1",
|
2017-11-27 20:49:49 +01:00
|
|
|
"react": "^15.6.2",
|
2019-05-07 17:03:27 +02:00
|
|
|
"react-dnd": "^3.0.2",
|
|
|
|
"react-dnd-html5-backend": "^7.4.4",
|
2017-11-27 20:49:49 +01:00
|
|
|
"react-dom": "^15.6.2",
|
2017-07-19 00:41:30 +02:00
|
|
|
"react-hyperscript": "^3.0.0",
|
2019-05-08 20:57:21 +02:00
|
|
|
"react-idle-timer": "^4.2.5",
|
2018-09-10 23:11:57 +02:00
|
|
|
"react-inspector": "^2.3.0",
|
2018-07-24 20:40:22 +02:00
|
|
|
"react-media": "^1.8.0",
|
2017-07-19 00:41:30 +02:00
|
|
|
"react-redux": "^5.0.5",
|
2017-11-29 05:24:35 +01:00
|
|
|
"react-router-dom": "^4.2.2",
|
2017-11-24 02:33:44 +01:00
|
|
|
"react-select": "^1.0.0",
|
2017-10-14 14:05:00 +02:00
|
|
|
"react-simple-file-input": "^2.0.0",
|
2018-02-01 01:27:35 +01:00
|
|
|
"react-tippy": "^1.2.2",
|
2017-11-24 18:35:17 +01:00
|
|
|
"react-toggle-button": "^2.2.0",
|
2016-06-30 00:57:59 +02:00
|
|
|
"react-tooltip-component": "^0.3.0",
|
2019-07-08 15:12:00 +02:00
|
|
|
"react-transition-group": "^1.2.1",
|
2017-10-03 23:43:11 +02:00
|
|
|
"react-trigger-change": "^1.0.2",
|
2017-11-24 02:33:44 +01:00
|
|
|
"reactify": "^1.1.1",
|
2017-09-08 06:17:49 +02:00
|
|
|
"readable-stream": "^2.3.3",
|
2017-08-21 13:56:09 +02:00
|
|
|
"recompose": "^0.25.0",
|
2016-04-14 00:46:39 +02:00
|
|
|
"redux": "^3.0.5",
|
2017-07-19 00:41:30 +02:00
|
|
|
"redux-logger": "^3.0.6",
|
|
|
|
"redux-thunk": "^2.2.0",
|
2017-09-22 19:41:14 +02:00
|
|
|
"request-promise": "^4.2.1",
|
2018-06-23 08:52:45 +02:00
|
|
|
"reselect": "^3.0.1",
|
2018-11-16 19:34:08 +01:00
|
|
|
"safe-event-emitter": "^1.0.1",
|
2019-01-22 19:23:11 +01:00
|
|
|
"single-call-balance-checker-abi": "^1.0.0",
|
2019-09-19 01:29:46 +02:00
|
|
|
"string.prototype.matchall": "^3.0.1",
|
2018-08-21 23:13:23 +02:00
|
|
|
"swappable-obj-proxy": "^1.1.0",
|
2016-04-14 00:46:39 +02:00
|
|
|
"textarea-caret": "^3.0.1",
|
2016-12-21 01:41:04 +01:00
|
|
|
"valid-url": "^1.0.9",
|
2019-06-05 20:05:01 +02:00
|
|
|
"web3": "^0.20.7",
|
2019-08-26 18:07:44 +02:00
|
|
|
"web3-stream-provider": "^4.0.0",
|
2018-07-27 03:00:48 +02:00
|
|
|
"webrtc-adapter": "^6.3.0",
|
2018-07-27 02:24:39 +02:00
|
|
|
"xtend": "^4.0.1"
|
2015-08-01 03:38:02 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-08-02 17:47:20 +02:00
|
|
|
"@babel/core": "^7.5.5",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.5.5",
|
|
|
|
"@babel/preset-env": "^7.5.5",
|
|
|
|
"@babel/preset-react": "^7.0.0",
|
|
|
|
"@babel/register": "^7.5.5",
|
2019-11-22 18:03:51 +01:00
|
|
|
"@metamask/forwarder": "^1.0.0",
|
|
|
|
"@metamask/onboarding": "^0.1.2",
|
2018-03-24 02:39:10 +01:00
|
|
|
"@sentry/cli": "^1.30.3",
|
2019-11-14 00:26:26 +01:00
|
|
|
"@storybook/addon-actions": "^5.2.6",
|
2019-06-05 20:15:17 +02:00
|
|
|
"@storybook/addon-info": "^5.1.1",
|
2018-05-14 15:30:50 +02:00
|
|
|
"@storybook/addon-knobs": "^3.4.2",
|
2019-06-05 20:15:17 +02:00
|
|
|
"@storybook/react": "^5.1.1",
|
2019-09-20 13:52:34 +02:00
|
|
|
"addons-linter": "1.14.0",
|
2019-08-02 17:47:20 +02:00
|
|
|
"babel-eslint": "^10.0.2",
|
|
|
|
"babelify": "^10.0.0",
|
2018-07-02 19:30:56 +02:00
|
|
|
"brfs": "^1.6.1",
|
2018-12-06 16:16:05 +01:00
|
|
|
"browserify": "^16.2.3",
|
2019-09-11 16:47:21 +02:00
|
|
|
"browserify-transform-tools": "^1.7.0",
|
2017-07-19 00:41:30 +02:00
|
|
|
"chai": "^4.1.0",
|
2019-11-22 18:03:51 +01:00
|
|
|
"chalk": "^2.4.2",
|
2018-08-06 18:16:39 +02:00
|
|
|
"chromedriver": "^2.41.0",
|
2019-07-09 18:39:31 +02:00
|
|
|
"concurrently": "^4.1.1",
|
2017-09-28 19:02:58 +02:00
|
|
|
"coveralls": "^3.0.0",
|
2018-03-13 12:38:05 +01:00
|
|
|
"cross-env": "^5.1.4",
|
2019-06-05 20:15:17 +02:00
|
|
|
"css-loader": "^2.1.1",
|
2017-07-19 00:41:30 +02:00
|
|
|
"del": "^3.0.0",
|
2019-09-11 16:47:21 +02:00
|
|
|
"deps-dump": "^1.1.0",
|
2017-04-05 19:24:30 +02:00
|
|
|
"envify": "^4.0.0",
|
2018-08-25 02:51:40 +02:00
|
|
|
"enzyme": "^3.4.4",
|
2018-08-25 02:55:45 +02:00
|
|
|
"enzyme-adapter-react-15": "^1.0.6",
|
2019-07-15 15:15:49 +02:00
|
|
|
"eslint": "^6.0.1",
|
2017-05-04 23:34:25 +02:00
|
|
|
"eslint-plugin-chai": "0.0.1",
|
2019-11-14 00:26:26 +01:00
|
|
|
"eslint-plugin-import": "^2.18.2",
|
2018-04-02 23:47:47 +02:00
|
|
|
"eslint-plugin-json": "^1.2.0",
|
2018-03-24 14:20:46 +01:00
|
|
|
"eslint-plugin-mocha": "^5.0.0",
|
2017-11-02 13:15:59 +01:00
|
|
|
"eslint-plugin-react": "^7.4.0",
|
2018-10-10 16:32:26 +02:00
|
|
|
"fetch-mock": "^6.5.2",
|
2018-05-14 15:30:50 +02:00
|
|
|
"file-loader": "^1.1.11",
|
2018-08-17 18:56:07 +02:00
|
|
|
"fs-extra": "^6.0.1",
|
2017-08-09 02:46:09 +02:00
|
|
|
"fs-promise": "^2.0.3",
|
2019-07-09 18:39:31 +02:00
|
|
|
"ganache-cli": "^6.4.4",
|
2019-09-20 13:52:34 +02:00
|
|
|
"ganache-core": "2.8.0",
|
2019-06-05 20:05:01 +02:00
|
|
|
"geckodriver": "^1.16.2",
|
2018-07-02 19:30:56 +02:00
|
|
|
"gh-pages": "^1.2.0",
|
2018-12-06 16:44:32 +01:00
|
|
|
"gulp": "^4.0.0",
|
|
|
|
"gulp-autoprefixer": "^5.0.0",
|
2018-01-12 03:15:22 +01:00
|
|
|
"gulp-babel": "^7.0.0",
|
2018-12-06 16:44:32 +01:00
|
|
|
"gulp-debug": "^3.2.0",
|
|
|
|
"gulp-eslint": "^4.0.0",
|
2019-09-18 00:01:48 +02:00
|
|
|
"gulp-imagemin": "^6.1.0",
|
2016-07-27 00:15:40 +02:00
|
|
|
"gulp-json-editor": "^2.2.1",
|
2018-11-26 23:35:18 +01:00
|
|
|
"gulp-livereload": "4.0.0",
|
2018-03-31 07:19:02 +02:00
|
|
|
"gulp-multi-process": "^1.3.1",
|
2019-09-03 19:47:54 +02:00
|
|
|
"gulp-rename": "^1.4.0",
|
2017-07-19 00:41:30 +02:00
|
|
|
"gulp-replace": "^0.6.1",
|
2019-09-03 19:47:54 +02:00
|
|
|
"gulp-rtlcss": "^1.4.0",
|
2018-12-06 16:44:32 +01:00
|
|
|
"gulp-sass": "^4.0.0",
|
2017-07-19 00:41:30 +02:00
|
|
|
"gulp-sourcemaps": "^2.6.0",
|
2018-03-03 16:19:16 +01:00
|
|
|
"gulp-stylelint": "^7.0.0",
|
2019-09-10 19:02:48 +02:00
|
|
|
"gulp-terser-js": "^5.0.0",
|
2016-03-03 08:29:43 +01:00
|
|
|
"gulp-util": "^3.0.7",
|
2019-06-05 20:05:01 +02:00
|
|
|
"gulp-watch": "^5.0.1",
|
2017-07-19 00:41:30 +02:00
|
|
|
"gulp-zip": "^4.0.0",
|
2018-06-22 14:13:01 +02:00
|
|
|
"http-server": "^0.11.1",
|
2017-01-10 21:39:01 +01:00
|
|
|
"isomorphic-fetch": "^2.2.1",
|
2019-06-05 20:05:01 +02:00
|
|
|
"jsdoc": "^3.6.2",
|
2017-09-12 23:14:24 +02:00
|
|
|
"jsdom": "^11.2.0",
|
2017-07-19 00:41:30 +02:00
|
|
|
"jsdom-global": "^3.0.2",
|
2019-06-06 16:02:18 +02:00
|
|
|
"karma": "^4.1.0",
|
2017-09-12 05:14:52 +02:00
|
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
|
|
"karma-cli": "^1.0.1",
|
|
|
|
"karma-firefox-launcher": "^1.0.1",
|
|
|
|
"karma-qunit": "^1.2.1",
|
2016-03-03 08:29:43 +01:00
|
|
|
"lodash.assign": "^4.0.6",
|
2018-01-18 03:21:45 +01:00
|
|
|
"mocha": "^5.0.0",
|
2017-07-19 00:41:30 +02:00
|
|
|
"mocha-eslint": "^4.0.0",
|
2016-04-14 00:46:39 +02:00
|
|
|
"mocha-jsdom": "^1.1.0",
|
2017-07-19 00:41:30 +02:00
|
|
|
"mocha-sinon": "^2.0.0",
|
|
|
|
"nock": "^9.0.14",
|
2019-06-05 20:05:01 +02:00
|
|
|
"node-sass": "^4.12.0",
|
2018-07-02 19:30:56 +02:00
|
|
|
"nyc": "^13.0.0",
|
2018-05-14 15:30:50 +02:00
|
|
|
"path": "^0.12.7",
|
2018-08-17 18:56:07 +02:00
|
|
|
"prepend-file": "^1.3.1",
|
2018-05-05 17:11:53 +02:00
|
|
|
"proxyquire": "2.0.1",
|
2016-07-01 03:22:16 +02:00
|
|
|
"qs": "^6.2.0",
|
2017-11-27 20:49:49 +01:00
|
|
|
"qunitjs": "^2.4.1",
|
2018-04-12 23:39:28 +02:00
|
|
|
"radgrad-jsdoc-template": "^1.1.3",
|
2019-07-11 16:57:06 +02:00
|
|
|
"react-devtools": "^3.6.1",
|
2017-11-27 20:49:49 +01:00
|
|
|
"react-test-renderer": "^15.6.2",
|
2019-10-22 20:33:49 +02:00
|
|
|
"read-installed": "^4.0.3",
|
2018-07-08 03:53:00 +02:00
|
|
|
"redux-mock-store": "^1.5.3",
|
2018-01-30 22:34:21 +01:00
|
|
|
"redux-test-utils": "^0.2.2",
|
2019-07-11 16:57:06 +02:00
|
|
|
"remote-redux-devtools": "^0.5.16",
|
|
|
|
"remotedev-server": "^0.3.1",
|
2018-05-14 15:30:50 +02:00
|
|
|
"resolve-url-loader": "^2.3.0",
|
2018-03-30 09:09:39 +02:00
|
|
|
"rimraf": "^2.6.2",
|
2018-05-14 15:30:50 +02:00
|
|
|
"sass-loader": "^7.0.1",
|
2018-03-29 08:12:41 +02:00
|
|
|
"selenium-webdriver": "^3.5.0",
|
2019-11-22 18:03:51 +01:00
|
|
|
"serve-handler": "^6.1.2",
|
2019-09-11 16:47:21 +02:00
|
|
|
"sesify": "^4.2.1",
|
2019-09-23 05:14:18 +02:00
|
|
|
"sesify-viz": "^3.0.5",
|
2018-03-21 18:39:53 +01:00
|
|
|
"sinon": "^5.0.0",
|
2018-05-14 15:30:50 +02:00
|
|
|
"source-map": "^0.7.2",
|
2019-09-11 17:35:30 +02:00
|
|
|
"source-map-explorer": "^2.0.1",
|
2018-05-14 15:30:50 +02:00
|
|
|
"style-loader": "^0.21.0",
|
Optimize images only during production build (#7194)
* Optimize images only during production build
Image optimization is fairly slow (over a minute), and isn't necessary
for test or development builds. It is now only run as part of the
`build` gulp task, which is used during `gulp dist`.
* Remove unused gulp tasks
There were two high-level tasks and one style formatting task that
were not used by any npm scripts, so were probably unused generally.
The `dev` task was a duplcate of `dev:extension`. The `build:extension`
task was useful for just building the extension without performing
other steps required by the final production bundle, but it was
broken. It didn't correctly build the ui-libs and bg-libs required.
Instead of fixing it, it has been removed until the handling of those
separate library bundles is simplified.
The style formatting task seems like it could be useful, but I'm unsure
about keeping it around as opt-in, as in practice it'll just end up
being ignored. Moreover the library authors themselves are recommending
switching to `prettier`, so I think we're better off removing it for
now, then considering using `prettier` if we want to introduce
something like this again.
The stylelint dependency was added because it's a peer dependency of
gulp-stylelint that should have already been listed among our
dependencies. It hadn't caused a problem before because it happened to
be a transitive dependency of gulp-stylefmt, which is no longer needed
and has been removed.
2019-09-21 18:32:17 +02:00
|
|
|
"stylelint": "^9.10.1",
|
2018-03-01 15:27:13 +01:00
|
|
|
"stylelint-config-standard": "^18.2.0",
|
2019-06-05 20:05:01 +02:00
|
|
|
"testem": "^2.16.0",
|
2018-04-24 22:33:31 +02:00
|
|
|
"through2": "^2.0.3",
|
2018-01-04 13:40:38 +01:00
|
|
|
"vinyl-buffer": "^1.0.1",
|
2017-12-23 06:35:28 +01:00
|
|
|
"vinyl-source-stream": "^2.0.0",
|
2019-06-05 20:05:01 +02:00
|
|
|
"watchify": "^3.11.1"
|
2015-08-01 03:38:02 +02:00
|
|
|
},
|
|
|
|
"engines": {
|
Switch from `npm` to `yarn` (#6843)
As a solution to the constant lockfile churn issues we've had with
`npm`, the project now uses `yarn` to manage dependencies.
The `package-lock.json` file has been replaced with `yarn.lock`, which
was created using `yarn import`. It should approximate the contents of
`package-lock.json` fairly well, though there may be some changes due to
deduplication. The codeowners file has been updated to reference this
new lockfile.
All documentation and npm scripts have been updated to reference `yarn`
rather than `npm`. Note that running scripts using `npm run` still works
fine, but it seemed better to switch those to `yarn` as well to avoid
confusion.
The `npm-audit` Bash script has been replaced with `yarn-audit`. The
output of `yarn audit` is a bit different than `npm audit` in that it
returns a bitmask to describe which severity issues were found. This
made it simpler to check the results directly from the Bash script, so
the associated `npm-audit-check.js` script was no longer required. The
output should be exactly the same, and the information is still sourced
from the same place (the npm registry).
The new `yarn-audit` script does have an external dependency: `jq`.
However, `jq` is already assumed to be present by another CI script, and
is present on all CI images we use. `jq` was not added to `package.json`
as a dependency because there is no official package on the npm
registry, just wrapper scripts. We don't need it anywhere exept on CI
anyway.
The section in `CONTRIBUTING` about how to develop inside the
`node_modules` folder was removed, as the advice was a bit dated, and
wasn't specific to this project anyway.
2019-07-30 20:36:23 +02:00
|
|
|
"node": "^10.16.0",
|
|
|
|
"yarn": "^1.16.0"
|
2015-08-01 03:38:02 +02:00
|
|
|
}
|
|
|
|
}
|