MyCrypto/package.json

191 lines
7.5 KiB
JSON
Raw Normal View History

2017-04-12 05:00:48 +00:00
{
"name": "MyCrypto",
"author": "MyCryptoHQ",
2018-03-28 19:35:41 +00:00
"version": "0.6.4",
"main": "main.js",
"description": "MyCrypto web and electron app",
"repository": "https://github.com/MyCryptoHQ/MyCrypto",
"engines": {
"node": ">= 8.0.0",
"npm": ">= 5.0.0"
},
2017-04-12 05:00:48 +00:00
"dependencies": {
"babel-polyfill": "6.26.0",
"bip39": "2.5.0",
"bn.js": "4.11.8",
"bootstrap-sass": "3.3.7",
"classnames": "2.2.5",
"electron-updater": "2.21.4",
"ethereum-blockies-base64": "1.0.1",
2018-04-06 12:19:11 +00:00
"ethereumjs-abi": "git://github.com/ethereumjs/ethereumjs-abi.git#09c3c48fd3bed143df7fa8f36f6f164205e23796",
"ethereumjs-tx": "1.3.4",
"ethereumjs-util": "5.1.5",
"ethereumjs-wallet": "0.6.0",
"font-awesome": "4.7.0",
"hdkey": "0.8.0",
"idna-uts46": "1.1.0",
"jsonschema": "1.2.4",
"ledgerco": "1.2.1",
"lodash": "4.17.5",
"moment": "2.22.0",
"moment-timezone": "0.5.14",
2017-12-11 17:44:53 +00:00
"normalizr": "3.2.4",
"pikaday-time": "1.6.1",
"qrcode": "1.2.0",
"qrcode.react": "0.8.0",
"query-string": "6.0.0",
"rc-slider": "8.6.1",
"react": "16.3.1",
"react-copy-to-clipboard": "5.0.1",
"react-dom": "16.3.1",
"react-markdown": "3.3.0",
"react-redux": "5.0.7",
"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",
"react-stepper-horizontal": "1.0.9",
"react-transition-group": "2.3.0",
"redux": "3.7.2",
"redux-logger": "3.0.6",
"redux-saga": "0.16.0",
"scryptsy": "2.0.0",
"uuid": "3.2.1",
"wallet-address-validator": "0.1.5",
"whatwg-fetch": "2.0.3",
"zxcvbn": "4.4.2"
2017-04-12 05:00:48 +00:00
},
"devDependencies": {
"@types/bip39": "2.4.0",
"@types/classnames": "2.2.3",
"@types/enzyme": "3.1.8",
"@types/enzyme-adapter-react-16": "1.0.1",
"@types/history": "4.6.2",
"@types/jest": "22.2.2",
"@types/lodash": "4.14.106",
"@types/moment-timezone": "0.5.4",
"@types/qrcode": "0.8.0",
"@types/qrcode.react": "0.6.3",
"@types/query-string": "5.1.0",
"@types/rc-slider": "8.2.3",
"@types/react": "16.3.5",
"@types/react-dom": "16.0.4",
"@types/react-redux": "5.0.15",
"@types/react-router-dom": "4.2.5",
"@types/react-router-redux": "5.0.13",
"@types/react-select": "1.2.6",
"@types/react-transition-group": "2.0.7",
"@types/redux-logger": "3.0.5",
"@types/uuid": "3.4.3",
"@types/webpack-env": "1.13.4",
"@types/zxcvbn": "4.4.0",
"autodll-webpack-plugin": "0.3.9",
"check-node-version": "3.2.0",
"concurrently": "3.5.1",
"copy-webpack-plugin": "4.5.1",
"coveralls": "3.0.0",
"css-loader": "0.28.11",
"electron": "1.8.4",
"electron-builder": "20.8.1",
"empty": "0.10.1",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"enzyme-to-json": "3.3.3",
"express": "4.16.2",
"file-loader": "1.1.11",
"friendly-errors-webpack-plugin": "1.6.1",
"hard-source-webpack-plugin": "0.6.4",
"html-webpack-plugin": "3.0.6",
"husky": "0.14.3",
"image-webpack-loader": "4.2.0",
"jest": "22.1.4",
"klaw-sync": "3.0.2",
"lint-staged": "7.0.0",
"mini-css-extract-plugin": "0.4.0",
"minimist": "1.2.0",
2018-03-20 16:00:49 +00:00
"node-sass": "4.8.3",
"nodemon": "1.17.3",
"null-loader": "0.1.1",
"prettier": "1.11.1",
"react-hot-loader": "4.0.0",
"react-test-renderer": "16.3.1",
"redux-devtools-extension": "2.13.2",
"redux-test-utils": "0.2.2",
"rimraf": "2.6.2",
"sass-loader": "6.0.7",
"style-loader": "0.20.3",
"thread-loader": "1.1.5",
"ts-jest": "22.4.2",
"ts-loader": "4.1.0",
"tslint": "5.9.1",
"tslint-config-prettier": "1.10.0",
"tslint-microsoft-contrib": "5.0.3",
"tslint-react": "3.5.1",
"types-rlp": "0.0.1",
2018-04-06 02:17:58 +00:00
"typescript": "2.8.1",
"uglifyjs-webpack-plugin": "1.2.4",
"url-search-params-polyfill": "3.0.0",
"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",
"webpack-subresource-integrity": "1.1.0-rc.4",
"what-input": "5.0.5",
"worker-loader": "1.1.1"
2017-04-12 05:00:48 +00:00
},
"resolutions": {
"*/**/@types/react": "16.3.4"
},
2017-04-12 05:00:48 +00:00
"scripts": {
"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",
"build": "webpack --mode=production --config webpack_config/webpack.prod.js",
"prebuild": "check-node-version --package",
"build:downloadable": "webpack --mode=production --config webpack_config/webpack.html.js",
"prebuild:downloadable": "check-node-version --package",
"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",
"prebuild:electron": "check-node-version --package",
"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",
"jenkins:upload": "node jenkins/upload",
"test:coverage": "jest --config=jest_config/jest.config.json --coverage",
"test": "jest --config=jest_config/jest.config.json",
"test:unit": "jest --config=jest_config/jest.config.json --coverage",
"test:int": "jest --config=jest_config/jest.int.config.json --coverage",
"report-coverage": " cat ./coverage/lcov.info | coveralls",
Replace bignumber.js with bn.js (#319) * Add definition file for bn.js * Remove types-bn * make isBN a static property * progress commit -- swap out bignumber.js for bn.js * Swap out bignumber for bn in vendor * Change modn to number return * Start to strip out units lib for a string manipulation based lib * Convert codebase to only base units * Get rid of useless component * Handle only wei in values * Use unit conversion in sidebar * Automatically strip hex prefix, and handle decimal edge case * Handle base 16 wei in transactions * Make a render callback component for dealing with unit conversion * Switch contracts to use bn.js, and get transaction values from signedTx instead of state * Get send transaction working with bn.js * Remove redundant hex stripping, return base value of tokens * Cleanup unit file * Re-implement toFixed for strings * Use formatNumber in codebase * Cleanup code * Undo package test changes * Update snapshot and remove console logs * Use TokenValue / Wei more consistently where applicable * Add typing to deterministicWallets, fix confirmation modal, make UnitDisplay more flexible * Clean up prop handling in UnitDisplay * Change instanceof to typeof check, change boolean of displayBalance * Fix tsc errors * Fix token row displaying wrong decimals * Fix deterministic modal token display * Handle hex and non hex strings automatically in BN conversion * Fix handling of strings and numbers for BN * add web3 fixes & comments * Display short balances on deterministic modals * add more tests, fix rounding * Add spacer to balance sidebar network name * Fix tsc error
2017-11-12 19:45:52 +00:00
"updateSnapshot": "jest --config=jest_config/jest.config.json --updateSnapshot",
"pretest": "check-node-version --package",
"dev": "node webpack_config/devServer.js",
"predev": "check-node-version --package",
"dev:https": "HTTPS=true node webpack_config/devServer.js",
"predev:https": "check-node-version --package",
"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'",
"tslint": "tslint --project . --exclude common/vendor/**/*",
"tscheck": "tsc --noEmit",
"start": "npm run dev",
"precommit": "lint-staged",
"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\"",
"prepush": "npm run tslint && npm run tscheck"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write --config ./.prettierrc --config-precedence file-override",
"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"
]
}