2019-05-09 13:03:18 +03:00
|
|
|
{
|
2019-05-15 15:23:29 +03:00
|
|
|
"name": "ui",
|
2019-05-09 13:03:18 +03:00
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"homepage": "https://poanetwork.github.io/",
|
|
|
|
"dependencies": {
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.4.0",
|
|
|
|
"bignumber.js": "^6.0.0",
|
|
|
|
"chromedriver": "^2.35.0",
|
|
|
|
"coveralls": "^3.0.0",
|
|
|
|
"customize-cra": "^0.2.12",
|
|
|
|
"dotenv": "^7.0.0",
|
|
|
|
"fs-extra": "^5.0.0",
|
|
|
|
"gh-pages": "^1.1.0",
|
|
|
|
"mobx": "^4.0.2",
|
|
|
|
"mobx-react": "^5.0.0",
|
|
|
|
"mocha": "^5.1.1",
|
|
|
|
"node-sass-chokidar": "^1.0.1",
|
|
|
|
"numeral": "^2.0.6",
|
|
|
|
"react": "^16.2.0",
|
|
|
|
"react-app-rewire-mobx": "^1.0.7",
|
|
|
|
"react-app-rewired": "^2.0.3",
|
|
|
|
"react-copy-to-clipboard": "^5.0.1",
|
|
|
|
"react-dom": "^16.2.0",
|
|
|
|
"react-router": "^4.3.1",
|
|
|
|
"react-router-dom": "^4.2.2",
|
|
|
|
"react-scripts": "2.1.8",
|
|
|
|
"react-transition-group": "^2.2.1",
|
|
|
|
"selenium-webdriver": "^3.6.0",
|
|
|
|
"sweetalert": "^2.1.0",
|
|
|
|
"web3": "1.0.0-beta.30",
|
|
|
|
"web3-utils": "1.0.0-beta.30"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2019-05-22 17:31:09 +03:00
|
|
|
"lint": "eslint . --ignore-path ../.eslintignore",
|
2019-05-09 13:03:18 +03:00
|
|
|
"select-css-theme": "node scripts/selectTheme.js",
|
|
|
|
"build-css": "node-sass-chokidar src/assets/stylesheets -o src/assets/stylesheets --output-style=compressed -m application*.css",
|
|
|
|
"watch-css": "nodemon -e scss -x \"npm run build-css\"",
|
|
|
|
"start": "npm run build-css && npm run select-css-theme && react-app-rewired start",
|
|
|
|
"build": "npm run compile:contracts && npm run build-css && npm run select-css-theme && react-app-rewired build",
|
2019-05-21 13:49:46 +03:00
|
|
|
"test": "npm run compile:contracts && react-app-rewired test --env=jsdom --no-watch",
|
2019-05-15 15:23:29 +03:00
|
|
|
"test:watch": "react-app-rewired test --env=jsdom",
|
2019-05-09 13:03:18 +03:00
|
|
|
"coverage": "react-app-rewired test --env=jsdom --coverage",
|
|
|
|
"coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls",
|
|
|
|
"eject": "react-app-rewired eject",
|
|
|
|
"predeploy": "npm run build",
|
|
|
|
"deploy": "gh-pages -d build -o origin",
|
2019-05-21 10:26:16 +03:00
|
|
|
"compile:contracts": "rm -r -f src/contracts && cp -r ../contracts/build/contracts src/contracts",
|
2019-05-21 13:12:11 +03:00
|
|
|
"postinstall": "(cp lib/web3-eth/index.js ../node_modules/web3-eth/src && cp lib/web3-eth/index.js ./node_modules/web3-eth/src)"
|
2019-05-09 13:03:18 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-05-15 15:23:29 +03:00
|
|
|
"eslint": "5.12.0",
|
|
|
|
"eslint-config-airbnb": "^17.1.0",
|
|
|
|
"eslint-config-prettier": "^3.1.0",
|
|
|
|
"eslint-config-react-app": "^4.0.1",
|
|
|
|
"eslint-plugin-flowtype": "^3.8.1",
|
|
|
|
"eslint-plugin-import": "^2.14.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
|
|
"eslint-plugin-node": "^7.0.1",
|
|
|
|
"eslint-plugin-prettier": "^2.6.2",
|
|
|
|
"eslint-plugin-react": "^7.13.0",
|
|
|
|
"eslint-plugin-react-hooks": "^1.6.0",
|
2019-05-09 13:03:18 +03:00
|
|
|
"jest-dom": "^3.0.1",
|
|
|
|
"nodemon": "^1.18.11",
|
2019-05-15 15:23:29 +03:00
|
|
|
"prettier": "^1.14.3",
|
2019-05-09 13:03:18 +03:00
|
|
|
"react-testing-library": "^5.4.4"
|
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not ie <= 11",
|
|
|
|
"not op_mini all"
|
|
|
|
]
|
|
|
|
}
|