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",
|
2015-10-10 08:14:18 +02:00
|
|
|
"public": false,
|
2016-02-08 20:47:42 +01:00
|
|
|
"private": true,
|
2016-01-15 03:26:54 +01:00
|
|
|
"scripts": {
|
2016-10-20 00:15:27 +02:00
|
|
|
"start": "npm run dev",
|
2016-08-23 02:37:23 +02:00
|
|
|
"lint": "gulp lint",
|
2016-10-13 05:03:14 +02:00
|
|
|
"buildCiUnits": "node test/integration/index.js",
|
2016-10-19 23:57:30 +02:00
|
|
|
"dev": "gulp dev --debug",
|
2016-10-18 23:02:06 +02:00
|
|
|
"dist": "gulp dist --disableLiveReload",
|
2016-08-27 02:39:19 +02:00
|
|
|
"test": "npm run fastTest && npm run ci && npm run lint",
|
2016-11-03 19:34:44 +01:00
|
|
|
"fastTest": "METAMASK_ENV=test mocha --require test/helper.js --compilers js:babel-register --recursive \"test/unit/**/*.js\"",
|
2016-07-23 01:20:43 +02:00
|
|
|
"watch": "mocha watch --compilers js:babel-register --recursive \"test/unit/**/*.js\"",
|
2016-12-16 20:16:36 +01:00
|
|
|
"genStates": "node development/genStates.js",
|
|
|
|
"ui": "npm run genStates && beefy ui-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./",
|
2016-07-23 01:20:43 +02:00
|
|
|
"mock": "beefy mock-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./",
|
2016-12-16 20:16:36 +01:00
|
|
|
"buildMock": "npm run genStates && browserify ./mock-dev.js -o ./development/bundle.js",
|
2016-07-23 01:20:43 +02:00
|
|
|
"testem": "npm run buildMock && testem",
|
2016-10-13 05:03:14 +02:00
|
|
|
"ci": "npm run buildMock && npm run buildCiUnits && testem ci -P 2",
|
2016-12-07 23:34:15 +01:00
|
|
|
"announce": "node development/announcer.js",
|
|
|
|
"generateNotice": "node development/notice-generator.js"
|
2016-04-14 00:46:39 +02:00
|
|
|
},
|
|
|
|
"browserify": {
|
|
|
|
"transform": [
|
|
|
|
[
|
|
|
|
"babelify",
|
|
|
|
{
|
|
|
|
"presets": [
|
|
|
|
"es2015"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"brfs"
|
|
|
|
]
|
2016-01-15 03:26:54 +01:00
|
|
|
},
|
2015-08-01 03:38:02 +02:00
|
|
|
"dependencies": {
|
2016-02-10 20:47:21 +01:00
|
|
|
"async": "^1.5.2",
|
2016-10-28 01:50:01 +02:00
|
|
|
"bip39": "^2.2.0",
|
2016-04-20 22:22:41 +02:00
|
|
|
"browserify-derequire": "^0.9.4",
|
2016-02-11 02:44:46 +01:00
|
|
|
"clone": "^1.0.2",
|
2016-04-14 00:46:39 +02:00
|
|
|
"copy-to-clipboard": "^2.0.0",
|
|
|
|
"debounce": "^1.0.0",
|
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",
|
2016-08-12 22:25:38 +02:00
|
|
|
"ensnare": "^1.0.0",
|
2016-10-25 01:12:44 +02:00
|
|
|
"eth-bin-to-ops": "^1.0.1",
|
2016-05-26 19:13:05 +02:00
|
|
|
"eth-lightwallet": "^2.3.3",
|
2016-07-14 08:39:44 +02:00
|
|
|
"eth-query": "^1.0.3",
|
2016-02-11 03:28:57 +01:00
|
|
|
"eth-store": "^1.1.0",
|
2016-03-03 08:06:43 +01:00
|
|
|
"ethereumjs-tx": "^1.0.0",
|
2016-04-28 23:16:24 +02:00
|
|
|
"ethereumjs-util": "^4.4.0",
|
2016-10-21 01:44:31 +02:00
|
|
|
"ethereumjs-wallet": "^0.6.0",
|
2016-08-27 02:39:19 +02:00
|
|
|
"express": "^4.14.0",
|
2016-12-07 23:34:15 +01:00
|
|
|
"extension-link-enabler": "^1.0.0",
|
|
|
|
"extensionizer": "^1.0.0",
|
2016-06-21 21:07:13 +02:00
|
|
|
"gulp-eslint": "^2.0.0",
|
2016-03-12 02:13:48 +01:00
|
|
|
"hat": "0.0.3",
|
2016-04-29 21:45:46 +02:00
|
|
|
"identicon.js": "^1.2.1",
|
2016-08-26 20:08:23 +02:00
|
|
|
"iframe": "^1.0.0",
|
|
|
|
"iframe-stream": "^1.0.2",
|
2016-01-15 03:26:54 +01:00
|
|
|
"inject-css": "^0.1.1",
|
2016-10-28 01:01:21 +02:00
|
|
|
"jazzicon": "^1.2.0",
|
2016-05-19 02:32:26 +02:00
|
|
|
"menu-droppo": "^1.1.0",
|
2016-09-09 05:31:42 +02:00
|
|
|
"metamask-logo": "^2.1.2",
|
2016-05-23 00:23:16 +02:00
|
|
|
"mississippi": "^1.2.0",
|
2016-03-10 03:33:30 +01:00
|
|
|
"multiplex": "^6.7.0",
|
2016-05-06 01:04:43 +02:00
|
|
|
"once": "^1.3.3",
|
2016-10-12 21:35:55 +02:00
|
|
|
"ping-pong-stream": "^1.0.0",
|
Made configuration migrateable
Abstract all configuration data into a singleton called `configManager`, who is responsible for reading and writing to the persisted storage (localStorage, in our case).
Uses my new module [pojo-migrator](https://www.npmjs.com/package/pojo-migrator), and wraps it with the `ConfigManager` class, which we can hang any state setting or getting methods we need.
By keeping all the persisted state in one place, we can stabilize its outward-facing API, making the interactions increasingly atomic, which will allow us to add features that require restructuring the persisted data in the long term without having to rewrite UI or even `background.js` code.
All the restructuring and data-type management is kept in one neat little place.
This should make it very easy to add new configuration options like user-configured providers, per-domain vaults, and more!
I know this doesn't seem like a big user-facing feature, but we have a big laundry list of features that I think this will really help streamline.
2016-03-31 04:15:49 +02:00
|
|
|
"pojo-migrator": "^2.1.0",
|
2016-04-18 20:31:06 +02:00
|
|
|
"polyfill-crypto.getrandomvalues": "^1.0.0",
|
2016-08-11 23:04:20 +02:00
|
|
|
"post-message-stream": "^1.0.0",
|
2016-11-29 23:56:02 +01:00
|
|
|
"promise-filter": "^1.1.0",
|
2016-03-10 22:04:45 +01:00
|
|
|
"pumpify": "^1.3.4",
|
2016-09-13 02:27:14 +02:00
|
|
|
"qrcode-npm": "0.0.3",
|
2016-05-11 11:46:41 +02:00
|
|
|
"react": "^15.0.2",
|
2016-05-11 11:53:49 +02:00
|
|
|
"react-addons-css-transition-group": "^15.0.2",
|
2016-05-11 11:46:41 +02:00
|
|
|
"react-dom": "^15.0.2",
|
2016-04-14 00:46:39 +02:00
|
|
|
"react-hyperscript": "^2.2.2",
|
2016-07-01 06:46:19 +02:00
|
|
|
"react-markdown": "^2.3.0",
|
2016-05-11 11:46:41 +02:00
|
|
|
"react-redux": "^4.4.5",
|
2016-06-30 00:57:59 +02:00
|
|
|
"react-tooltip-component": "^0.3.0",
|
2016-05-06 01:04:43 +02:00
|
|
|
"readable-stream": "^2.1.2",
|
2016-04-14 00:46:39 +02:00
|
|
|
"redux": "^3.0.5",
|
|
|
|
"redux-logger": "^2.3.1",
|
|
|
|
"redux-thunk": "^1.0.2",
|
2016-08-16 20:26:02 +02:00
|
|
|
"request-promise": "^4.1.1",
|
2016-05-18 23:36:35 +02:00
|
|
|
"sandwich-expando": "^1.0.5",
|
2016-04-14 00:46:39 +02:00
|
|
|
"textarea-caret": "^3.0.1",
|
|
|
|
"three.js": "^0.73.2",
|
2016-03-10 03:33:30 +01:00
|
|
|
"through2": "^2.0.1",
|
2016-05-14 02:02:33 +02:00
|
|
|
"vreme": "^3.0.2",
|
2016-10-26 20:36:43 +02:00
|
|
|
"web3": "0.17.0-beta",
|
2016-12-13 01:09:52 +01:00
|
|
|
"web3-provider-engine": "^8.1.14",
|
2016-08-11 23:09:55 +02:00
|
|
|
"web3-stream-provider": "^2.0.6",
|
2016-02-15 11:19:08 +01:00
|
|
|
"xtend": "^4.0.1"
|
2015-08-01 03:38:02 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2016-06-21 21:40:09 +02:00
|
|
|
"babel-eslint": "^6.0.5",
|
2016-03-25 01:51:46 +01:00
|
|
|
"babel-register": "^6.7.2",
|
2016-04-15 00:26:26 +02:00
|
|
|
"babelify": "^7.2.0",
|
2016-04-14 00:46:39 +02:00
|
|
|
"beefy": "^2.1.5",
|
2016-04-15 00:26:26 +02:00
|
|
|
"brfs": "^1.4.3",
|
2016-03-03 08:29:43 +01:00
|
|
|
"browserify": "^13.0.0",
|
2016-04-14 00:46:39 +02:00
|
|
|
"chai": "^3.5.0",
|
|
|
|
"deep-freeze-strict": "^1.1.1",
|
2016-03-03 08:29:43 +01:00
|
|
|
"del": "^2.2.0",
|
2016-12-07 23:34:15 +01:00
|
|
|
"fs-promise": "^1.0.0",
|
2016-03-03 08:06:43 +01:00
|
|
|
"gulp": "github:gulpjs/gulp#4.0",
|
2016-07-26 01:34:29 +02:00
|
|
|
"gulp-brfs": "^0.1.0",
|
2016-09-02 00:01:45 +02:00
|
|
|
"gulp-if": "^2.0.1",
|
2016-07-27 00:15:40 +02:00
|
|
|
"gulp-json-editor": "^2.2.1",
|
2016-03-03 08:06:43 +01:00
|
|
|
"gulp-livereload": "^3.8.1",
|
2016-09-02 00:01:45 +02:00
|
|
|
"gulp-replace": "^0.5.4",
|
2016-03-03 08:29:43 +01:00
|
|
|
"gulp-sourcemaps": "^1.6.0",
|
|
|
|
"gulp-util": "^3.0.7",
|
2016-03-03 08:06:43 +01:00
|
|
|
"gulp-watch": "^4.3.5",
|
2016-07-27 00:15:40 +02:00
|
|
|
"gulp-zip": "^3.2.0",
|
2016-03-25 20:41:18 +01:00
|
|
|
"jsdom": "^8.1.0",
|
Made configuration migrateable
Abstract all configuration data into a singleton called `configManager`, who is responsible for reading and writing to the persisted storage (localStorage, in our case).
Uses my new module [pojo-migrator](https://www.npmjs.com/package/pojo-migrator), and wraps it with the `ConfigManager` class, which we can hang any state setting or getting methods we need.
By keeping all the persisted state in one place, we can stabilize its outward-facing API, making the interactions increasingly atomic, which will allow us to add features that require restructuring the persisted data in the long term without having to rewrite UI or even `background.js` code.
All the restructuring and data-type management is kept in one neat little place.
This should make it very easy to add new configuration options like user-configured providers, per-domain vaults, and more!
I know this doesn't seem like a big user-facing feature, but we have a big laundry list of features that I think this will really help streamline.
2016-03-31 04:15:49 +02:00
|
|
|
"jsdom-global": "^1.7.0",
|
2015-08-01 03:38:02 +02:00
|
|
|
"jshint-stylish": "~0.1.5",
|
2016-03-03 08:29:43 +01:00
|
|
|
"lodash.assign": "^4.0.6",
|
2016-03-25 20:41:18 +01:00
|
|
|
"mocha": "^2.4.5",
|
2016-06-21 23:01:40 +02:00
|
|
|
"mocha-eslint": "^2.1.1",
|
2016-04-14 00:46:39 +02:00
|
|
|
"mocha-jsdom": "^1.1.0",
|
2016-03-25 22:51:19 +01:00
|
|
|
"mocha-sinon": "^1.1.5",
|
2016-08-24 22:58:50 +02:00
|
|
|
"nock": "^8.0.0",
|
2016-12-07 23:34:15 +01:00
|
|
|
"open": "0.0.5",
|
|
|
|
"prompt": "^1.0.0",
|
2016-07-01 03:22:16 +02:00
|
|
|
"qs": "^6.2.0",
|
2016-07-23 01:20:43 +02:00
|
|
|
"qunit": "^0.9.1",
|
2016-03-25 22:51:19 +01:00
|
|
|
"sinon": "^1.17.3",
|
2016-04-15 00:26:26 +02:00
|
|
|
"tape": "^4.5.1",
|
2016-08-10 19:34:18 +02:00
|
|
|
"testem": "^1.10.3",
|
2016-04-14 00:46:39 +02:00
|
|
|
"uglifyify": "^3.0.1",
|
2016-03-03 08:29:43 +01:00
|
|
|
"vinyl-buffer": "^1.0.0",
|
|
|
|
"vinyl-source-stream": "^1.1.0",
|
|
|
|
"watchify": "^3.7.0"
|
2015-08-01 03:38:02 +02:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=0.8.0"
|
|
|
|
}
|
|
|
|
}
|