2018-03-01 08:05:56 +00:00
|
|
|
{
|
2018-04-26 06:00:40 +00:00
|
|
|
"name": "safe-react",
|
|
|
|
"version": "0.3.2",
|
2018-03-06 08:20:10 +00:00
|
|
|
"description": "Allowing crypto users manage funds in a safer way",
|
|
|
|
"directories": {
|
|
|
|
"test": "test"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2018-03-06 08:52:55 +00:00
|
|
|
"start": "node scripts/start.js",
|
|
|
|
"build": "node scripts/build.js",
|
2018-04-11 07:28:54 +00:00
|
|
|
"test": "run-with-testrpc -l 40000000 'node scripts/test.js --env=jsdom'",
|
2018-05-31 18:10:45 +00:00
|
|
|
"test-local": "NODE_ENV=test && node scripts/test.js --env=jsdom",
|
2018-03-08 16:19:00 +00:00
|
|
|
"precommit": "./precommit.sh",
|
2018-03-15 10:14:20 +00:00
|
|
|
"flow": "flow",
|
|
|
|
"storybook": "start-storybook -p 6006",
|
|
|
|
"build-storybook": "build-storybook -o build_storybook"
|
2018-03-06 08:20:10 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-04-26 06:00:40 +00:00
|
|
|
"url": "https://github.com/gnosis/safe-react"
|
2018-03-06 08:20:10 +00:00
|
|
|
},
|
|
|
|
"author": "Gnosis Team",
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
2018-04-26 06:00:40 +00:00
|
|
|
"url": "https://github.com/gnosis/safe-react/issues"
|
2018-03-06 08:20:10 +00:00
|
|
|
},
|
2018-04-26 06:00:40 +00:00
|
|
|
"homepage": "https://github.com/gnosis/safe-react#readme",
|
2018-03-08 11:33:16 +00:00
|
|
|
"pre-commit": [
|
|
|
|
"precommit"
|
|
|
|
],
|
2018-03-01 08:05:56 +00:00
|
|
|
"devDependencies": {
|
2018-03-06 08:20:10 +00:00
|
|
|
"@babel/cli": "^7.0.0-beta.40",
|
|
|
|
"@babel/core": "^7.0.0-beta.40",
|
2018-03-08 10:54:36 +00:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.40",
|
2018-03-06 10:11:08 +00:00
|
|
|
"@babel/polyfill": "^7.0.0-beta.40",
|
2018-03-06 08:20:10 +00:00
|
|
|
"@babel/preset-env": "^7.0.0-beta.40",
|
2018-03-08 16:19:00 +00:00
|
|
|
"@babel/preset-flow": "^7.0.0-beta.40",
|
2018-03-06 08:20:10 +00:00
|
|
|
"@babel/preset-react": "^7.0.0-beta.40",
|
|
|
|
"@babel/preset-stage-0": "^7.0.0-beta.40",
|
2018-03-29 09:52:58 +00:00
|
|
|
"@sambego/storybook-state": "^1.0.7",
|
2018-03-15 10:14:20 +00:00
|
|
|
"@storybook/addon-actions": "^3.3.15",
|
|
|
|
"@storybook/addon-knobs": "^3.3.15",
|
|
|
|
"@storybook/addon-links": "^3.3.15",
|
|
|
|
"@storybook/react": "^3.3.15",
|
2018-03-06 08:20:10 +00:00
|
|
|
"autoprefixer": "^8.1.0",
|
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
2018-03-15 10:14:20 +00:00
|
|
|
"babel-eslint": "8",
|
|
|
|
"babel-jest": "^22.4.1",
|
2018-03-06 08:20:10 +00:00
|
|
|
"babel-loader": "^8.0.0-beta.0",
|
2018-03-12 08:30:03 +00:00
|
|
|
"babel-plugin-dynamic-import-node": "^1.2.0",
|
2018-03-06 08:20:10 +00:00
|
|
|
"babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
|
|
|
|
"babel-plugin-transform-es3-property-literals": "^6.22.0",
|
2018-05-31 07:20:07 +00:00
|
|
|
"bignumber.js": "^7.2.1",
|
2018-03-15 10:14:20 +00:00
|
|
|
"classnames": "^2.2.5",
|
2018-03-06 08:20:10 +00:00
|
|
|
"css-loader": "^0.28.10",
|
2018-03-06 09:52:49 +00:00
|
|
|
"detect-port": "^1.2.2",
|
|
|
|
"dotenv": "^5.0.1",
|
2018-03-08 11:32:07 +00:00
|
|
|
"eslint": "^4.18.2",
|
|
|
|
"eslint-config-airbnb": "^16.1.0",
|
2018-03-09 08:23:15 +00:00
|
|
|
"eslint-plugin-flowtype": "^2.46.1",
|
2018-03-08 11:32:07 +00:00
|
|
|
"eslint-plugin-import": "^2.9.0",
|
|
|
|
"eslint-plugin-jest": "^21.13.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
|
|
"eslint-plugin-react": "^7.7.0",
|
2018-03-06 11:03:03 +00:00
|
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
|
|
"file-loader": "^1.1.11",
|
2018-03-08 16:19:00 +00:00
|
|
|
"flow-bin": "^0.66.0",
|
2018-03-06 17:01:03 +00:00
|
|
|
"fs-extra": "^5.0.0",
|
2018-03-06 08:20:10 +00:00
|
|
|
"html-loader": "^0.5.5",
|
|
|
|
"html-webpack-plugin": "^3.0.4",
|
2018-03-29 09:05:42 +00:00
|
|
|
"immutable": "^4.0.0-rc.9",
|
2018-03-07 07:34:10 +00:00
|
|
|
"jest": "^22.4.2",
|
2018-03-06 11:03:03 +00:00
|
|
|
"json-loader": "^0.5.7",
|
2018-03-06 08:20:10 +00:00
|
|
|
"postcss-loader": "^2.1.1",
|
2018-03-29 09:05:42 +00:00
|
|
|
"postcss-mixins": "^6.2.0",
|
2018-03-06 08:20:10 +00:00
|
|
|
"postcss-simple-vars": "^4.1.0",
|
2018-03-08 11:33:16 +00:00
|
|
|
"pre-commit": "^1.2.2",
|
2018-06-11 08:46:18 +00:00
|
|
|
"react": "^16.4.0",
|
|
|
|
"react-dev-utils": "^5.0.1",
|
|
|
|
"react-dom": "^16.4.0",
|
2018-03-29 09:05:42 +00:00
|
|
|
"react-redux": "^5.0.7",
|
|
|
|
"react-router-redux": "^5.0.0-alpha.9",
|
|
|
|
"redux": "^3.7.2",
|
|
|
|
"redux-actions": "^2.3.0",
|
|
|
|
"redux-thunk": "^2.2.0",
|
|
|
|
"reselect": "^3.0.1",
|
2018-04-11 07:28:54 +00:00
|
|
|
"run-with-testrpc": "^0.3.0",
|
2018-03-15 10:14:20 +00:00
|
|
|
"storybook-host": "^4.1.5",
|
|
|
|
"storybook-router": "^0.3.3",
|
2018-03-06 08:20:10 +00:00
|
|
|
"style-loader": "^0.20.2",
|
2018-05-27 11:35:20 +00:00
|
|
|
"truffle": "git://github.com/trufflesuite/truffle.git#develop",
|
2018-03-06 17:01:03 +00:00
|
|
|
"truffle-contract": "^1.1.8",
|
2018-03-01 08:05:56 +00:00
|
|
|
"truffle-solidity-loader": "0.0.8",
|
2018-03-06 15:00:53 +00:00
|
|
|
"uglifyjs-webpack-plugin": "^1.2.2",
|
2018-03-06 17:01:03 +00:00
|
|
|
"web3": "0.18.4",
|
2018-03-15 10:14:20 +00:00
|
|
|
"webpack": "^4.1.1",
|
2018-03-06 17:01:03 +00:00
|
|
|
"webpack-bundle-analyzer": "^2.11.1",
|
2018-03-06 08:20:10 +00:00
|
|
|
"webpack-cli": "^2.0.8",
|
2018-03-06 11:03:03 +00:00
|
|
|
"webpack-dev-server": "^3.1.0",
|
|
|
|
"webpack-manifest-plugin": "^2.0.0-rc.2"
|
2018-03-01 08:05:56 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-06-11 08:46:18 +00:00
|
|
|
"@material-ui/core": "^1.2.1",
|
|
|
|
"@material-ui/icons": "^1.1.0",
|
2018-03-01 15:50:33 +00:00
|
|
|
"final-form": "^4.2.1",
|
2018-03-29 09:05:42 +00:00
|
|
|
"history": "^4.7.2",
|
2018-03-08 08:27:17 +00:00
|
|
|
"react-final-form": "^3.1.2",
|
2018-03-08 10:54:36 +00:00
|
|
|
"react-loadable": "^5.3.1",
|
2018-04-26 13:07:16 +00:00
|
|
|
"react-router-dom": "^4.2.2",
|
2018-06-11 08:46:18 +00:00
|
|
|
"recompose": "^0.27.1"
|
2018-03-07 07:34:10 +00:00
|
|
|
},
|
|
|
|
"jest": {
|
2018-04-11 07:28:54 +00:00
|
|
|
"verbose": true,
|
2018-03-07 07:34:10 +00:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*.{js,jsx}"
|
|
|
|
],
|
2018-05-14 13:52:55 +00:00
|
|
|
"setupTestFrameworkScriptFile": "<rootDir>/config/jest/jest.setup.js",
|
2018-03-07 07:34:10 +00:00
|
|
|
"setupFiles": [
|
|
|
|
"<rootDir>/config/webpack.config.test.js",
|
2018-04-11 07:28:54 +00:00
|
|
|
"<rootDir>/config/polyfills.js",
|
|
|
|
"<rootDir>/config/jest/LocalStorageMock.js",
|
|
|
|
"<rootDir>/config/jest/Web3Mock.js"
|
2018-03-07 07:34:10 +00:00
|
|
|
],
|
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/src/**/__tests__/**/*.js?(x)",
|
|
|
|
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
|
|
|
|
],
|
|
|
|
"testEnvironment": "node",
|
|
|
|
"testURL": "http://localhost",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
|
|
|
|
"^.+\\.(css|scss)$": "<rootDir>/config/jest/cssTransform.js",
|
|
|
|
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
|
|
|
},
|
|
|
|
"transformIgnorePatterns": [
|
2018-03-29 09:05:42 +00:00
|
|
|
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$",
|
|
|
|
"[/\\\\]flow-typed[/\\\\].+\\.(js|jsx)$"
|
2018-03-07 07:34:10 +00:00
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
2018-03-08 09:04:12 +00:00
|
|
|
"~(.*)$": "<rootDir>/src/$1",
|
2018-05-04 10:50:24 +00:00
|
|
|
"#(.*)$": "<rootDir>/safe-contracts/build/contracts/$1",
|
2018-03-07 07:34:10 +00:00
|
|
|
"^react-native$": "react-native-web"
|
2018-03-29 09:05:42 +00:00
|
|
|
}
|
2018-03-01 08:05:56 +00:00
|
|
|
}
|
|
|
|
}
|