261 lines
7.2 KiB
JSON
261 lines
7.2 KiB
JSON
{
|
|
"name": "safe-react",
|
|
"version": "2.5.2",
|
|
"description": "Allowing crypto users manage funds in a safer way",
|
|
"website": "https://github.com/gnosis/safe-react#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/gnosis/safe-react/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/gnosis/safe-react.git"
|
|
},
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Gnosis Team",
|
|
"email": "safe@gnosis.io"
|
|
},
|
|
"main": "public/electron.js",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"scripts": {
|
|
"analyze": "source-map-explorer 'build/static/js/*.js'",
|
|
"build-desktop": "cross-env REACT_APP_BUILD_FOR_DESKTOP=true REACT_APP_ENV=production yarn build-mainnet",
|
|
"build-mainnet": "cross-env REACT_APP_NETWORK=mainnet yarn build",
|
|
"build": "REACT_APP_APP_VERSION=$npm_package_version react-app-rewired --max-old-space-size=8192 build",
|
|
"eject": "react-app-rewired eject",
|
|
"electron-build": "electron-builder --mac --windows --linux",
|
|
"electron-dev": "concurrently \"BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electron .\"",
|
|
"format:staged": "lint-staged",
|
|
"lint:check": "eslint './src/**/*.{js,jsx,ts,tsx}'",
|
|
"lint:fix": "yarn lint:check --fix",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"preelectron-pack": "yarn build",
|
|
"prettier:check": "yarn prettier --check",
|
|
"prettier:fix": "yarn prettier --write",
|
|
"prettier": "prettier './src/**/*.{js,jsx,ts,tsx}'",
|
|
"release": "electron-builder --mac --linux --windows -p always",
|
|
"start-mainnet": "REACT_APP_NETWORK=mainnet yarn start",
|
|
"start": "react-app-rewired start",
|
|
"test": "NODE_ENV=test && react-app-rewired test --env=jsdom",
|
|
"test:coverage": "yarn test --coverage --watchAll=false",
|
|
"coveralls": "cat ./coverage/lcov.info | coveralls"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged --allow-empty"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{js,jsx,ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"jest": {
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{js,jsx,ts,tsx}",
|
|
"!src/**/*.{.test.*}",
|
|
"!src/**/test/**/*",
|
|
"!src/**/assets/**",
|
|
"!src/config/**/*"
|
|
]
|
|
},
|
|
"productName": "Safe Multisig",
|
|
"build": {
|
|
"appId": "io.gnosis.safe.macos",
|
|
"afterSign": "scripts/notarize.js",
|
|
"extends": null,
|
|
"productName": "Safe Multisig",
|
|
"asar": true,
|
|
"publish": [
|
|
{
|
|
"provider": "github",
|
|
"owner": "gnosis",
|
|
"repo": "safe-react"
|
|
}
|
|
],
|
|
"dmg": {
|
|
"sign": false,
|
|
"contents": [
|
|
{
|
|
"x": 110,
|
|
"y": 150
|
|
},
|
|
{
|
|
"x": 240,
|
|
"y": 150,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
]
|
|
},
|
|
"files": [
|
|
"**/*",
|
|
"!src${/*}",
|
|
"!config${/*}",
|
|
"!contracts${/*}",
|
|
"!migrations${/*}",
|
|
"!flow-typed${/*}",
|
|
"!apps${/*}",
|
|
"!out${/*}",
|
|
"!.editorconfig",
|
|
"!.gitignore",
|
|
"!README.md",
|
|
"!yarn-error.log",
|
|
"!yarn.lock"
|
|
],
|
|
"directories": {
|
|
"buildResources": "public/build"
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.productivity",
|
|
"hardenedRuntime": true,
|
|
"entitlements": "public/build/entitlements.mac.plist",
|
|
"gatekeeperAssess": false,
|
|
"entitlementsInherit": "public/build/entitlements.mac.plist",
|
|
"target": [
|
|
"dmg",
|
|
"zip"
|
|
],
|
|
"publish": [
|
|
{
|
|
"provider": "github",
|
|
"owner": "gnosis",
|
|
"repo": "safe-react"
|
|
}
|
|
]
|
|
},
|
|
"nsis": {
|
|
"deleteAppDataOnUninstall": true
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage",
|
|
"deb",
|
|
"zip"
|
|
],
|
|
"icon": "./public/build/safe.png"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"nsis"
|
|
],
|
|
"icon": "public/build/icon.ico"
|
|
}
|
|
},
|
|
"resolutions": {
|
|
"node-gyp": "^5.1.0"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@gnosis.pm/safe-contracts": "1.1.1-dev.2",
|
|
"@gnosis.pm/safe-react-components": "^0.1.3",
|
|
"@gnosis.pm/util-contracts": "2.0.6",
|
|
"@ledgerhq/hw-transport-node-hid": "5.19.0",
|
|
"@material-ui/core": "4.11.0",
|
|
"@material-ui/icons": "4.9.1",
|
|
"@material-ui/lab": "4.0.0-alpha.39",
|
|
"@openzeppelin/contracts": "3.1.0",
|
|
"async-sema": "^3.1.0",
|
|
"axios": "0.19.2",
|
|
"bignumber.js": "9.0.0",
|
|
"bnc-onboard": "1.10.2",
|
|
"classnames": "^2.2.6",
|
|
"concurrently": "^5.2.0",
|
|
"connected-react-router": "6.8.0",
|
|
"coveralls": "^3.1.0",
|
|
"currency-flags": "2.1.2",
|
|
"date-fns": "2.14.0",
|
|
"electron-is-dev": "^1.1.0",
|
|
"electron-log": "4.2.2",
|
|
"electron-settings": "4.0.2",
|
|
"electron-updater": "4.3.1",
|
|
"eth-sig-util": "^2.5.3",
|
|
"ethereum-blockies-base64": "^1.0.2",
|
|
"exponential-backoff": "^3.0.1",
|
|
"express": "^4.17.1",
|
|
"final-form": "4.20.1",
|
|
"final-form-calculate": "^1.3.1",
|
|
"history": "4.10.1",
|
|
"immortal-db": "^1.0.2",
|
|
"immutable": "^4.0.0-rc.9",
|
|
"js-cookie": "^2.2.1",
|
|
"lodash.memoize": "^4.1.2",
|
|
"material-ui-search-bar": "^1.0.0-beta.13",
|
|
"notistack": "https://github.com/gnosis/notistack.git#v0.9.4",
|
|
"open": "^7.0.3",
|
|
"polished": "3.6.5",
|
|
"qrcode.react": "1.0.0",
|
|
"query-string": "6.13.1",
|
|
"react": "16.13.1",
|
|
"react-dom": "16.13.1",
|
|
"react-final-form": "^6.5.0",
|
|
"react-final-form-listeners": "^1.0.2",
|
|
"react-ga": "3.0.0",
|
|
"react-hot-loader": "4.12.21",
|
|
"react-qr-reader": "^2.2.1",
|
|
"react-redux": "7.2.0",
|
|
"react-router-dom": "5.2.0",
|
|
"react-scripts": "^3.4.1",
|
|
"react-window": "^1.8.5",
|
|
"recompose": "^0.30.0",
|
|
"redux": "4.0.5",
|
|
"redux-actions": "^2.6.5",
|
|
"redux-thunk": "^2.3.0",
|
|
"reselect": "^4.0.0",
|
|
"semver": "7.3.2",
|
|
"styled-components": "^5.0.1",
|
|
"truffle-contract": "4.0.31",
|
|
"web3": "1.2.9"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "5.11.0",
|
|
"@testing-library/react": "10.4.3",
|
|
"@testing-library/user-event": "11.3.1",
|
|
"@types/jest": "^25.2.1",
|
|
"@types/node": "14.0.14",
|
|
"@types/react": "^16.9.32",
|
|
"@types/react-dom": "^16.9.6",
|
|
"@types/styled-components": "^5.1.0",
|
|
"@typescript-eslint/eslint-plugin": "3.5.0",
|
|
"@typescript-eslint/parser": "3.5.0",
|
|
"autoprefixer": "9.8.4",
|
|
"cross-env": "^7.0.2",
|
|
"dotenv": "^8.2.0",
|
|
"dotenv-expand": "^5.1.0",
|
|
"electron": "7.2.4",
|
|
"electron-builder": "22.7.0",
|
|
"electron-notarize": "0.3.0",
|
|
"eslint": "6.8.0",
|
|
"eslint-config-prettier": "6.11.0",
|
|
"eslint-plugin-import": "2.22.0",
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
"eslint-plugin-prettier": "^3.1.2",
|
|
"eslint-plugin-react": "7.20.3",
|
|
"eslint-plugin-sort-destructure-keys": "1.3.5",
|
|
"ethereumjs-abi": "0.6.8",
|
|
"husky": "^4.2.2",
|
|
"lint-staged": "10.2.11",
|
|
"node-sass": "^4.14.1",
|
|
"prettier": "2.0.5",
|
|
"react-app-rewired": "^2.1.6",
|
|
"truffle": "5.1.33",
|
|
"typescript": "3.9.6",
|
|
"wait-on": "5.0.1",
|
|
"web3-core": "^1.2.9",
|
|
"web3-eth-contract": "^1.2.9",
|
|
"web3-utils": "^1.2.8"
|
|
}
|
|
}
|