191 lines
6.9 KiB
JSON
191 lines
6.9 KiB
JSON
{
|
|
"name": "MyCrypto",
|
|
"author": "MyCryptoHQ",
|
|
"version": "0.1.0",
|
|
"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.20.1",
|
|
"ethereum-blockies": "git+https://github.com/MyCryptoHQ/blockies.git",
|
|
"ethereumjs-abi": "0.6.5",
|
|
"ethereumjs-tx": "1.3.3",
|
|
"ethereumjs-util": "5.1.4",
|
|
"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.20.1",
|
|
"normalizr": "3.2.4",
|
|
"qrcode": "1.2.0",
|
|
"qrcode.react": "0.7.2",
|
|
"query-string": "5.1.0",
|
|
"rc-slider": "8.6.0",
|
|
"react": "16.2.0",
|
|
"react-dom": "16.2.0",
|
|
"react-markdown": "3.2.0",
|
|
"react-redux": "5.0.6",
|
|
"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.1",
|
|
"whatwg-fetch": "2.0.3",
|
|
"zxcvbn": "4.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/classnames": "2.2.3",
|
|
"@types/history": "4.6.2",
|
|
"@types/jest": "22.1.2",
|
|
"@types/lodash": "4.14.102",
|
|
"@types/qrcode": "0.8.0",
|
|
"@types/qrcode.react": "0.6.2",
|
|
"@types/query-string": "5.0.1",
|
|
"@types/react": "16.0.35",
|
|
"@types/react-dom": "16.0.3",
|
|
"@types/react-redux": "5.0.14",
|
|
"@types/react-router-dom": "4.2.3",
|
|
"@types/react-router-redux": "5.0.11",
|
|
"@types/react-select": "1.2.0",
|
|
"@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.4.1",
|
|
"babel-minify-webpack-plugin": "0.3.0",
|
|
"bs58": "4.0.1",
|
|
"cache-loader": "1.2.0",
|
|
"check-node-version": "3.2.0",
|
|
"concurrently": "3.5.1",
|
|
"copy-webpack-plugin": "4.4.1",
|
|
"css-loader": "0.28.9",
|
|
"electron": "1.8.2",
|
|
"electron-builder": "19.56.0",
|
|
"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.6",
|
|
"friendly-errors-webpack-plugin": "1.6.1",
|
|
"glob": "7.1.2",
|
|
"hoist-non-react-statics": "2.3.1",
|
|
"html-webpack-plugin": "2.30.1",
|
|
"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.5",
|
|
"lint-staged": "6.1.0",
|
|
"minimist": "1.2.0",
|
|
"node-sass": "4.7.2",
|
|
"nodemon": "1.14.12",
|
|
"null-loader": "0.1.1",
|
|
"prettier": "1.10.2",
|
|
"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.2.1",
|
|
"rimraf": "2.6.2",
|
|
"sass-loader": "6.0.6",
|
|
"style-loader": "0.20.0",
|
|
"thread-loader": "1.1.2",
|
|
"ts-jest": "22.0.4",
|
|
"ts-loader": "3.3.1",
|
|
"tslint": "5.9.1",
|
|
"tslint-config-prettier": "1.7.0",
|
|
"tslint-microsoft-contrib": "5.0.2",
|
|
"tslint-react": "3.5.0",
|
|
"types-rlp": "0.0.1",
|
|
"typescript": "2.6.2",
|
|
"url-loader": "0.6.2",
|
|
"url-search-params-polyfill": "2.0.3",
|
|
"webpack": "3.11.0",
|
|
"webpack-dev-middleware": "2.0.5",
|
|
"webpack-hot-middleware": "2.21.0",
|
|
"webpack-sources": "1.0.1",
|
|
"webpack-subresource-integrity": "1.0.3",
|
|
"worker-loader": "1.1.0",
|
|
"what-input": "5.0.5"
|
|
},
|
|
"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"
|
|
]
|
|
}
|