6dc4fc6acd
* Apply prettier fixes for UI * Integrate prettier into linting. Remove duplicate .prettierrc. * Common .eslintignore. Removed reduntant prettier check * Apply prettier on ui script * Correct linting * Duplicate plugin * Common plugin
75 lines
2.8 KiB
JSON
75 lines
2.8 KiB
JSON
{
|
|
"name": "ui",
|
|
"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": {
|
|
"lint": "eslint . --ignore-path ../.eslintignore",
|
|
"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",
|
|
"test": "react-app-rewired test --env=jsdom --no-watch",
|
|
"test:watch": "react-app-rewired test --env=jsdom",
|
|
"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",
|
|
"compile:contracts": "cd submodules/poa-bridge-contracts && npm install && npm run compile && cd ../../ && rm -r -f src/contracts && cp -r submodules/poa-bridge-contracts/build/contracts src/contracts",
|
|
"postinstall": "(cp lib/web3-eth/index.js ../node_modules/web3-eth/src || cp lib/web3-eth/index.js ./node_modules/web3-eth/src) && npm run compile:contracts"
|
|
},
|
|
"devDependencies": {
|
|
"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",
|
|
"jest-dom": "^3.0.1",
|
|
"nodemon": "^1.18.11",
|
|
"prettier": "^1.14.3",
|
|
"react-testing-library": "^5.4.4"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
]
|
|
}
|