189 lines
7.1 KiB
JSON
189 lines
7.1 KiB
JSON
{
|
|
"name": "MyCrypto",
|
|
"author": "MyCryptoHQ",
|
|
"version": "0.5.1",
|
|
"main": "main.js",
|
|
"description": "MyCrypto web and electron app",
|
|
"repository": "https://github.com/MyCryptoHQ/MyCrypto",
|
|
"engines": {
|
|
"node": ">= 8.0.0",
|
|
"npm": ">= 5.0.0"
|
|
},
|
|
"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.0",
|
|
"ethereum-blockies": "git+https://github.com/MyCryptoHQ/blockies.git",
|
|
"ethereumjs-abi": "0.6.5",
|
|
"ethereumjs-tx": "1.3.3",
|
|
"ethereumjs-util": "5.1.5",
|
|
"ethereumjs-wallet": "0.6.0",
|
|
"font-awesome": "4.7.0",
|
|
"hard-source-webpack-plugin": "0.5.16",
|
|
"hdkey": "0.8.0",
|
|
"idna-uts46": "1.1.0",
|
|
"jsonschema": "1.2.2",
|
|
"ledgerco": "1.2.1",
|
|
"lodash": "4.17.5",
|
|
"moment": "2.21.0",
|
|
"normalizr": "3.2.4",
|
|
"qrcode": "1.2.0",
|
|
"qrcode.react": "0.8.0",
|
|
"query-string": "5.1.0",
|
|
"rc-slider": "8.6.1",
|
|
"react": "16.2.0",
|
|
"react-copy-to-clipboard": "5.0.1",
|
|
"react-dom": "16.2.0",
|
|
"react-markdown": "3.2.2",
|
|
"react-redux": "5.0.7",
|
|
"react-router-dom": "4.2.2",
|
|
"react-router-redux": "4.0.8",
|
|
"react-select": "1.2.1",
|
|
"react-stepper-horizontal": "1.0.9",
|
|
"react-transition-group": "2.2.1",
|
|
"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.2",
|
|
"whatwg-fetch": "2.0.3",
|
|
"zxcvbn": "4.4.2"
|
|
},
|
|
"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.0",
|
|
"@types/lodash": "4.14.104",
|
|
"@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.0.40",
|
|
"@types/react-dom": "16.0.4",
|
|
"@types/react-redux": "5.0.15",
|
|
"@types/react-router-dom": "4.2.4",
|
|
"@types/react-router-redux": "5.0.12",
|
|
"@types/react-select": "1.2.3",
|
|
"@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.8",
|
|
"awesome-typescript-loader": "3.5.0",
|
|
"babel-minify-webpack-plugin": "0.3.0",
|
|
"bs58": "4.0.1",
|
|
"cache-loader": "1.2.2",
|
|
"check-node-version": "3.2.0",
|
|
"concurrently": "3.5.1",
|
|
"copy-webpack-plugin": "4.5.0",
|
|
"css-loader": "0.28.10",
|
|
"electron": "1.8.2",
|
|
"electron-builder": "20.2.1",
|
|
"empty": "0.10.1",
|
|
"enzyme": "3.3.0",
|
|
"enzyme-adapter-react-16": "1.1.1",
|
|
"enzyme-to-json": "3.3.1",
|
|
"express": "4.16.2",
|
|
"extract-text-webpack-plugin": "3.0.2",
|
|
"favicons-webpack-plugin": "0.0.7",
|
|
"file-loader": "1.1.11",
|
|
"friendly-errors-webpack-plugin": "1.6.1",
|
|
"glob": "7.1.2",
|
|
"hoist-non-react-statics": "2.5.0",
|
|
"html-webpack-plugin": "3.0.3",
|
|
"husky": "0.14.3",
|
|
"image-webpack-loader": "4.1.0",
|
|
"jest": "22.1.4",
|
|
"klaw-sync": "3.0.2",
|
|
"less": "2.7.3",
|
|
"less-loader": "4.0.6",
|
|
"lint-staged": "7.0.0",
|
|
"minimist": "1.2.0",
|
|
"node-sass": "4.7.2",
|
|
"nodemon": "1.17.1",
|
|
"null-loader": "0.1.1",
|
|
"prettier": "1.11.1",
|
|
"progress": "2.0.0",
|
|
"react-hot-loader": "3.1.3",
|
|
"react-test-renderer": "16.2.0",
|
|
"redux-devtools-extension": "2.13.2",
|
|
"redux-test-utils": "0.2.2",
|
|
"resolve-url-loader": "2.3.0",
|
|
"rimraf": "2.6.2",
|
|
"sass-loader": "6.0.7",
|
|
"style-loader": "0.20.2",
|
|
"thread-loader": "1.1.5",
|
|
"ts-jest": "22.4.1",
|
|
"ts-loader": "3.3.1",
|
|
"tslint": "5.9.1",
|
|
"tslint-config-prettier": "1.9.0",
|
|
"tslint-microsoft-contrib": "5.0.3",
|
|
"tslint-react": "3.5.1",
|
|
"types-rlp": "0.0.1",
|
|
"typescript": "2.6.2",
|
|
"url-loader": "1.0.1",
|
|
"url-search-params-polyfill": "2.0.3",
|
|
"webpack": "3.11.0",
|
|
"webpack-dev-middleware": "2.0.6",
|
|
"webpack-hot-middleware": "2.21.0",
|
|
"webpack-sources": "1.0.1",
|
|
"webpack-subresource-integrity": "1.0.4",
|
|
"what-input": "5.0.5",
|
|
"worker-loader": "1.1.1"
|
|
},
|
|
"scripts": {
|
|
"freezer": "webpack --config=./webpack_config/webpack.freezer.js && node ./dist/freezer.js",
|
|
"freezer:validate": "npm run freezer -- --validate",
|
|
"db": "nodemon ./db",
|
|
"build": "webpack --config webpack_config/webpack.prod.js",
|
|
"prebuild": "check-node-version --package",
|
|
"build:downloadable": "webpack --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",
|
|
"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",
|
|
"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"
|
|
]
|
|
},
|
|
"freezer": [
|
|
"package.json",
|
|
"common/freezer.ts",
|
|
"common/store.ts",
|
|
"common/libs/decrypt.ts",
|
|
"common/libs/signing.ts"
|
|
]
|
|
}
|