2017-04-12 05:00:48 +00:00
|
|
|
{
|
2018-02-07 04:28:28 +00:00
|
|
|
"name": "MyCrypto",
|
|
|
|
"author": "MyCryptoHQ",
|
2018-04-06 22:27:45 +00:00
|
|
|
"version": "0.7.0",
|
2018-01-22 23:38:06 +00:00
|
|
|
"main": "main.js",
|
2018-02-07 04:28:28 +00:00
|
|
|
"description": "MyCrypto web and electron app",
|
|
|
|
"repository": "https://github.com/MyCryptoHQ/MyCrypto",
|
2017-07-19 00:41:17 +00:00
|
|
|
"engines": {
|
|
|
|
"node": ">= 8.0.0",
|
|
|
|
"npm": ">= 5.0.0"
|
|
|
|
},
|
2017-04-12 05:00:48 +00:00
|
|
|
"dependencies": {
|
2018-04-06 21:32:25 +00:00
|
|
|
"@parity/qr-signer": "0.1.1",
|
2017-12-16 02:53:27 +00:00
|
|
|
"babel-polyfill": "6.26.0",
|
2018-01-07 16:56:25 +00:00
|
|
|
"bip39": "2.5.0",
|
2017-11-07 23:59:27 +00:00
|
|
|
"bn.js": "4.11.8",
|
|
|
|
"bootstrap-sass": "3.3.7",
|
|
|
|
"classnames": "2.2.5",
|
2018-03-27 04:18:12 +00:00
|
|
|
"electron-updater": "2.21.4",
|
2018-03-17 21:31:28 +00:00
|
|
|
"ethereum-blockies-base64": "1.0.1",
|
2018-04-14 22:21:33 +00:00
|
|
|
"ethereumjs-abi": "git://github.com/ethereumjs/ethereumjs-abi.git#09c3c48fd3bed143df7fa8f36f6f164205e23796",
|
2018-03-08 18:05:29 +00:00
|
|
|
"ethereumjs-tx": "1.3.4",
|
2018-03-01 03:03:10 +00:00
|
|
|
"ethereumjs-util": "5.1.5",
|
2017-11-07 23:59:27 +00:00
|
|
|
"ethereumjs-wallet": "0.6.0",
|
|
|
|
"font-awesome": "4.7.0",
|
2018-02-08 00:04:17 +00:00
|
|
|
"hdkey": "0.8.0",
|
2017-11-07 23:59:27 +00:00
|
|
|
"idna-uts46": "1.1.0",
|
2018-04-06 03:09:39 +00:00
|
|
|
"jsonschema": "1.2.4",
|
2018-01-12 02:57:19 +00:00
|
|
|
"ledgerco": "1.2.1",
|
2018-02-04 19:17:05 +00:00
|
|
|
"lodash": "4.17.5",
|
2018-04-16 15:12:58 +00:00
|
|
|
"moment": "2.22.1",
|
2018-04-14 22:21:33 +00:00
|
|
|
"moment-timezone": "0.5.14",
|
2018-04-16 22:51:15 +00:00
|
|
|
"mycrypto-shepherd": "1.1.0",
|
2017-12-11 17:44:53 +00:00
|
|
|
"normalizr": "3.2.4",
|
2017-12-30 16:41:07 +00:00
|
|
|
"qrcode": "1.2.0",
|
2018-02-24 18:00:49 +00:00
|
|
|
"qrcode.react": "0.8.0",
|
2018-03-17 05:52:04 +00:00
|
|
|
"query-string": "6.0.0",
|
2018-04-12 18:08:00 +00:00
|
|
|
"rc-slider": "8.6.0",
|
2018-04-04 02:58:20 +00:00
|
|
|
"react": "16.3.1",
|
2018-02-25 20:02:03 +00:00
|
|
|
"react-copy-to-clipboard": "5.0.1",
|
2018-04-14 22:21:33 +00:00
|
|
|
"react-datetime": "2.14.0",
|
2018-04-04 02:58:58 +00:00
|
|
|
"react-dom": "16.3.1",
|
2018-03-08 18:06:06 +00:00
|
|
|
"react-markdown": "3.3.0",
|
2018-02-17 21:45:53 +00:00
|
|
|
"react-redux": "5.0.7",
|
2017-11-07 23:59:27 +00:00
|
|
|
"react-router-dom": "4.2.2",
|
|
|
|
"react-router-redux": "4.0.8",
|
2018-01-20 20:06:28 +00:00
|
|
|
"react-select": "1.2.1",
|
2018-01-11 18:32:30 +00:00
|
|
|
"react-stepper-horizontal": "1.0.9",
|
2018-04-16 15:12:39 +00:00
|
|
|
"react-transition-group": "2.3.1",
|
2017-11-07 23:59:27 +00:00
|
|
|
"redux": "3.7.2",
|
|
|
|
"redux-logger": "3.0.6",
|
|
|
|
"redux-saga": "0.16.0",
|
|
|
|
"scryptsy": "2.0.0",
|
2018-01-29 22:08:47 +00:00
|
|
|
"uuid": "3.2.1",
|
2018-04-09 17:13:43 +00:00
|
|
|
"wallet-address-validator": "0.1.6",
|
2018-02-02 06:01:30 +00:00
|
|
|
"whatwg-fetch": "2.0.3",
|
|
|
|
"zxcvbn": "4.4.2"
|
2017-04-12 05:00:48 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-03-07 23:36:05 +00:00
|
|
|
"@types/bip39": "2.4.0",
|
2017-11-07 23:59:27 +00:00
|
|
|
"@types/classnames": "2.2.3",
|
2018-03-07 23:36:05 +00:00
|
|
|
"@types/enzyme": "3.1.8",
|
|
|
|
"@types/enzyme-adapter-react-16": "1.0.1",
|
2017-11-29 00:47:29 +00:00
|
|
|
"@types/history": "4.6.2",
|
2018-04-12 20:51:07 +00:00
|
|
|
"@types/jest": "22.2.3",
|
2018-04-16 15:08:36 +00:00
|
|
|
"@types/lodash": "4.14.107",
|
2018-04-14 22:21:33 +00:00
|
|
|
"@types/moment-timezone": "0.5.4",
|
2017-11-07 23:59:27 +00:00
|
|
|
"@types/qrcode": "0.8.0",
|
2018-02-12 23:07:39 +00:00
|
|
|
"@types/qrcode.react": "0.6.3",
|
2018-02-14 02:14:32 +00:00
|
|
|
"@types/query-string": "5.1.0",
|
2018-03-07 23:36:05 +00:00
|
|
|
"@types/rc-slider": "8.2.3",
|
2018-04-12 23:18:32 +00:00
|
|
|
"@types/react": "16.3.9",
|
2018-04-12 20:50:51 +00:00
|
|
|
"@types/react-dom": "16.0.5",
|
2018-02-12 23:06:00 +00:00
|
|
|
"@types/react-redux": "5.0.15",
|
2018-04-07 23:42:29 +00:00
|
|
|
"@types/react-router-dom": "4.2.6",
|
2018-04-03 20:58:14 +00:00
|
|
|
"@types/react-router-redux": "5.0.13",
|
2018-03-26 02:13:55 +00:00
|
|
|
"@types/react-select": "1.2.6",
|
2018-04-09 20:05:05 +00:00
|
|
|
"@types/react-transition-group": "2.0.8",
|
2017-11-07 23:59:27 +00:00
|
|
|
"@types/redux-logger": "3.0.5",
|
|
|
|
"@types/uuid": "3.4.3",
|
2018-01-29 22:40:27 +00:00
|
|
|
"@types/webpack-env": "1.13.4",
|
2018-02-02 06:01:30 +00:00
|
|
|
"@types/zxcvbn": "4.4.0",
|
2018-04-05 20:53:36 +00:00
|
|
|
"autodll-webpack-plugin": "0.3.9",
|
2018-01-16 05:16:49 +00:00
|
|
|
"check-node-version": "3.2.0",
|
2018-01-22 23:38:06 +00:00
|
|
|
"concurrently": "3.5.1",
|
2018-03-11 22:23:15 +00:00
|
|
|
"copy-webpack-plugin": "4.5.1",
|
2018-04-09 15:56:38 +00:00
|
|
|
"core-js": "2.5.5",
|
2018-04-06 01:51:48 +00:00
|
|
|
"coveralls": "3.0.0",
|
2018-03-17 05:14:58 +00:00
|
|
|
"css-loader": "0.28.11",
|
2018-03-17 05:12:20 +00:00
|
|
|
"electron": "1.8.4",
|
2018-04-03 21:56:56 +00:00
|
|
|
"electron-builder": "20.8.1",
|
2017-11-07 23:59:27 +00:00
|
|
|
"empty": "0.10.1",
|
2017-12-28 23:52:39 +00:00
|
|
|
"enzyme": "3.3.0",
|
2017-12-18 23:07:18 +00:00
|
|
|
"enzyme-adapter-react-16": "1.1.1",
|
2018-03-17 05:12:03 +00:00
|
|
|
"enzyme-to-json": "3.3.3",
|
2017-11-07 23:59:27 +00:00
|
|
|
"express": "4.16.2",
|
2018-03-01 23:18:56 +00:00
|
|
|
"file-loader": "1.1.11",
|
2017-11-07 23:59:27 +00:00
|
|
|
"friendly-errors-webpack-plugin": "1.6.1",
|
2018-04-05 20:53:36 +00:00
|
|
|
"hard-source-webpack-plugin": "0.6.4",
|
|
|
|
"html-webpack-plugin": "3.0.6",
|
2017-11-07 23:59:27 +00:00
|
|
|
"husky": "0.14.3",
|
2018-03-14 19:52:02 +00:00
|
|
|
"image-webpack-loader": "4.2.0",
|
2018-04-16 22:23:03 +00:00
|
|
|
"isomorphic-fetch": "2.2.1",
|
2018-01-20 17:58:54 +00:00
|
|
|
"jest": "22.1.4",
|
2018-01-16 18:50:39 +00:00
|
|
|
"klaw-sync": "3.0.2",
|
2018-04-06 22:25:35 +00:00
|
|
|
"lint-staged": "7.0.4",
|
2018-04-05 20:53:36 +00:00
|
|
|
"mini-css-extract-plugin": "0.4.0",
|
2017-11-07 23:59:27 +00:00
|
|
|
"minimist": "1.2.0",
|
2018-03-20 16:00:49 +00:00
|
|
|
"node-sass": "4.8.3",
|
2018-04-01 01:41:11 +00:00
|
|
|
"nodemon": "1.17.3",
|
2017-11-07 23:59:27 +00:00
|
|
|
"null-loader": "0.1.1",
|
2018-03-01 02:36:09 +00:00
|
|
|
"prettier": "1.11.1",
|
2018-04-05 20:53:36 +00:00
|
|
|
"react-hot-loader": "4.0.0",
|
2018-04-04 02:58:39 +00:00
|
|
|
"react-test-renderer": "16.3.1",
|
2017-11-07 23:59:27 +00:00
|
|
|
"redux-devtools-extension": "2.13.2",
|
2017-11-28 13:29:28 +00:00
|
|
|
"redux-test-utils": "0.2.2",
|
2017-11-07 23:59:27 +00:00
|
|
|
"rimraf": "2.6.2",
|
2018-03-03 19:27:10 +00:00
|
|
|
"sass-loader": "6.0.7",
|
2018-03-11 22:23:31 +00:00
|
|
|
"style-loader": "0.20.3",
|
2018-03-01 03:13:15 +00:00
|
|
|
"thread-loader": "1.1.5",
|
2018-04-16 15:10:09 +00:00
|
|
|
"ts-jest": "22.4.3",
|
2018-04-05 20:53:36 +00:00
|
|
|
"ts-loader": "4.1.0",
|
2018-04-13 17:02:00 +00:00
|
|
|
"ts-node": "5.0.1",
|
2018-01-11 07:35:22 +00:00
|
|
|
"tslint": "5.9.1",
|
2018-03-14 19:53:11 +00:00
|
|
|
"tslint-config-prettier": "1.10.0",
|
2018-02-14 02:14:44 +00:00
|
|
|
"tslint-microsoft-contrib": "5.0.3",
|
2018-02-14 02:15:14 +00:00
|
|
|
"tslint-react": "3.5.1",
|
2017-10-05 23:29:14 +00:00
|
|
|
"types-rlp": "0.0.1",
|
2018-04-06 02:17:58 +00:00
|
|
|
"typescript": "2.8.1",
|
2018-04-05 20:53:36 +00:00
|
|
|
"uglifyjs-webpack-plugin": "1.2.4",
|
2018-03-08 18:04:58 +00:00
|
|
|
"url-search-params-polyfill": "3.0.0",
|
2018-04-05 20:53:36 +00:00
|
|
|
"webapp-webpack-plugin": "2.0.1",
|
|
|
|
"webpack": "4.5.0",
|
|
|
|
"webpack-cli": "2.0.13",
|
|
|
|
"webpack-dev-middleware": "3.1.0",
|
|
|
|
"webpack-hot-middleware": "2.21.2",
|
|
|
|
"webpack-sources": "1.1.0",
|
2018-03-17 05:12:38 +00:00
|
|
|
"webpack-subresource-integrity": "1.1.0-rc.4",
|
2018-03-07 23:36:05 +00:00
|
|
|
"what-input": "5.0.5",
|
|
|
|
"worker-loader": "1.1.1"
|
2017-04-12 05:00:48 +00:00
|
|
|
},
|
2018-04-05 20:53:36 +00:00
|
|
|
"resolutions": {
|
|
|
|
"*/**/@types/react": "16.3.4"
|
|
|
|
},
|
2017-04-12 05:00:48 +00:00
|
|
|
"scripts": {
|
2017-11-30 04:26:27 +00:00
|
|
|
"freezer": "webpack --config=./webpack_config/webpack.freezer.js && node ./dist/freezer.js",
|
2017-12-11 17:44:53 +00:00
|
|
|
"freezer:validate": "npm run freezer -- --validate",
|
2017-04-12 05:00:48 +00:00
|
|
|
"db": "nodemon ./db",
|
2018-04-05 20:53:36 +00:00
|
|
|
"build": "webpack --mode=production --config webpack_config/webpack.prod.js",
|
2017-07-19 00:41:17 +00:00
|
|
|
"prebuild": "check-node-version --package",
|
2018-04-05 20:53:36 +00:00
|
|
|
"build:downloadable": "webpack --mode=production --config webpack_config/webpack.html.js",
|
2018-01-22 23:38:06 +00:00
|
|
|
"prebuild:downloadable": "check-node-version --package",
|
2018-04-06 01:51:48 +00:00
|
|
|
"build:electron": "webpack --config webpack_config/webpack.electron-prod.js && node webpack_config/buildElectron.js",
|
|
|
|
"build:electron:osx": "webpack --config webpack_config/webpack.electron-prod.js && ELECTRON_OS=osx node webpack_config/buildElectron.js",
|
|
|
|
"build:electron:windows": "webpack --config webpack_config/webpack.electron-prod.js && ELECTRON_OS=windows node webpack_config/buildElectron.js",
|
|
|
|
"build:electron:linux": "webpack --config webpack_config/webpack.electron-prod.js && ELECTRON_OS=linux node webpack_config/buildElectron.js",
|
2018-01-22 23:38:06 +00:00
|
|
|
"prebuild:electron": "check-node-version --package",
|
2018-04-06 01:51:48 +00:00
|
|
|
"jenkins:build:linux": "webpack --config webpack_config/webpack.electron-prod.js && ELECTRON_OS=JENKINS_LINUX node webpack_config/buildElectron.js",
|
|
|
|
"jenkins:build:mac": "webpack --config webpack_config/webpack.electron-prod.js && ELECTRON_OS=JENKINS_MAC node webpack_config/buildElectron.js",
|
2018-03-19 15:42:42 +00:00
|
|
|
"jenkins:upload": "node jenkins/upload",
|
2017-12-26 16:06:31 +00:00
|
|
|
"test:coverage": "jest --config=jest_config/jest.config.json --coverage",
|
|
|
|
"test": "jest --config=jest_config/jest.config.json",
|
2017-12-06 06:24:40 +00:00
|
|
|
"test:unit": "jest --config=jest_config/jest.config.json --coverage",
|
|
|
|
"test:int": "jest --config=jest_config/jest.int.config.json --coverage",
|
2018-04-06 01:51:48 +00:00
|
|
|
"report-coverage": " cat ./coverage/lcov.info | coveralls",
|
2017-11-12 19:45:52 +00:00
|
|
|
"updateSnapshot": "jest --config=jest_config/jest.config.json --updateSnapshot",
|
2017-07-19 00:41:17 +00:00
|
|
|
"pretest": "check-node-version --package",
|
2018-01-22 23:38:06 +00:00
|
|
|
"dev": "node webpack_config/devServer.js",
|
2017-07-19 00:41:17 +00:00
|
|
|
"predev": "check-node-version --package",
|
2018-01-22 23:38:06 +00:00
|
|
|
"dev:https": "HTTPS=true node webpack_config/devServer.js",
|
2017-09-20 00:47:46 +00:00
|
|
|
"predev:https": "check-node-version --package",
|
2018-04-06 01:51:48 +00:00
|
|
|
"dev:electron": "concurrently --kill-others --names 'webpack,electron' 'BUILD_ELECTRON=true node webpack_config/devServer.js' 'webpack --config webpack_config/webpack.electron-dev.js && electron dist/electron-js/main.js'",
|
|
|
|
"dev:electron:https": "concurrently --kill-others --names 'webpack,electron' 'BUILD_ELECTRON=true HTTPS=true node webpack_config/devServer.js' 'HTTPS=true webpack --config webpack_config/webpack.electron-dev.js && electron dist/electron-js/main.js'",
|
2017-10-05 23:29:14 +00:00
|
|
|
"tslint": "tslint --project . --exclude common/vendor/**/*",
|
2017-11-29 23:20:24 +00:00
|
|
|
"tscheck": "tsc --noEmit",
|
2017-07-15 23:02:14 +00:00
|
|
|
"start": "npm run dev",
|
2017-11-29 23:20:24 +00:00
|
|
|
"precommit": "lint-staged",
|
2018-04-06 01:51:48 +00:00
|
|
|
"formatAll": "find ./common/ -name '*.ts*' | xargs prettier --write --config ./.prettierrc --config-precedence file-override",
|
|
|
|
"prettier:diff": "prettier --write --config ./.prettierrc --list-different \"common/**/*.ts\" \"common/**/*.tsx\"",
|
2018-04-13 17:02:00 +00:00
|
|
|
"prepush": "npm run tslint && npm run tscheck",
|
|
|
|
"update:tokens": "ts-node scripts/update-tokens"
|
2017-07-15 23:02:14 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2017-12-16 02:53:27 +00:00
|
|
|
"*.{ts,tsx}": [
|
2017-12-18 23:29:26 +00:00
|
|
|
"prettier --write --config ./.prettierrc --config-precedence file-override",
|
2017-12-16 02:53:27 +00:00
|
|
|
"git add"
|
|
|
|
]
|
2018-01-08 01:32:04 +00:00
|
|
|
},
|
|
|
|
"freezer": [
|
|
|
|
"package.json",
|
|
|
|
"common/freezer.ts",
|
|
|
|
"common/store.ts",
|
|
|
|
"common/libs/decrypt.ts",
|
|
|
|
"common/libs/signing.ts"
|
|
|
|
]
|
2018-04-06 01:51:48 +00:00
|
|
|
}
|