1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00
metamask-extension/development
Mark Stacey ba6509c7a3
Simplify handling of Segment keys (#9781)
It was getting rather complicated to keep track of which Segment keys
were set where, and under which name.

The build script now injects a key even in test environments, but it is
unused if `IN_TEST` is truthy. This should be functionally equivalent
to the old logic. I find this simpler mainly for two reasons: there is
one less intermediate variable to keep track of now, and the `IN_TEST`
check is now directly in the module where we're constructing the
`segment` instance, rather than being referenced at a distance in a
comment.

The old setup made it difficult to turn on metrics for specific e2e
tests as well, which will be done in a subsequent PR.
2020-11-03 17:11:24 -03:30
..
build Simplify handling of Segment keys (#9781) 2020-11-03 17:11:24 -03:30
announcer.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
auto-changelog.sh Add shellcheck lint (#7392) 2019-11-19 10:46:10 -05:00
create-static-server.js Split createStaticServer from static-server.js (#8955) 2020-07-10 00:15:29 -03:00
generate-migration.sh Add tests around migration files (#7016) 2019-12-12 20:44:29 -03:30
gource-viz.sh dev - move gource instructions from docs to development script 2019-09-10 22:05:16 +08:00
metamaskbot-build-announce.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
mock-3box.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
README.md add READMEs to folders, re #3427 2018-03-14 15:33:22 +02:00
require-react-devtools.js Add React and Redux DevTools (#6793) 2019-07-11 12:27:06 -02:30
run-ganache Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
sentry-publish.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
sentry-upload-artifacts.sh Improve Sentry publish script (#7417) 2019-12-05 17:59:48 -04:00
shellcheck.sh Add lint:shellcheck:package (#7568) 2019-12-11 15:52:08 -05:00
show-deps-install-scripts.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
source-map-explorer.sh ci - create source-map-explorer build-artifacts (#7141) 2019-09-11 23:35:30 +08:00
sourcemap-validator.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
static-server.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
verify-locale-strings.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00

Development

Several files which are needed for developing on(!) MetaMask.

Usually each files contains information about its scope / usage.