fix node dependencies in package.json

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-08-05 10:11:59 -04:00
parent bc0e5d9c55
commit 11ba011c7a
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 1794 additions and 1053 deletions

View File

@ -4,7 +4,7 @@ echo "creating new full-build"
mkdir full-build mkdir full-build
cp -r back-end/* full-build/ cp -r back-end/* full-build/
echo "building new frontend" echo "building new frontend"
npm run build yarn run build
echo "copying new frontend" echo "copying new frontend"
rm -rf full-build/frontend/* rm -rf full-build/frontend/*
cp -r build/* full-build/frontend/ cp -r build/* full-build/frontend/

View File

@ -30,23 +30,21 @@
"react-redux": "^6.0.1", "react-redux": "^6.0.1",
"react-router": "^4.3.1", "react-router": "^4.3.1",
"react-router-dom": "^4.3.1", "react-router-dom": "^4.3.1",
"react-scripts": "2.1.8",
"redux": "^4.0.1", "redux": "^4.0.1",
"redux-thunk": "^2.3.0", "redux-thunk": "^2.3.0",
"reselect": "^4.0.0", "reselect": "^4.0.0",
"validator": "^11.1.0", "validator": "^11.1.0",
"web3": "1.0.0-beta.34", "web3": "1.0.0-beta.34",
"web3-utils": "^1.0.0-beta.35", "web3-utils": "^1.0.0-beta.35"
"webpack": "4.28.3"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "./node_modules/.bin/react-scripts start",
"build": "react-scripts build", "build": "./node_modules/.bin/react-scripts build",
"test": "react-scripts test", "test": "./node_modules/.bin/react-scripts test",
"eject": "react-scripts eject", "eject": "./node_modules/.bin/react-scripts eject",
"predeploy": "npm run build", "predeploy": "npm run build",
"deploy": "gh-pages -d build", "deploy": "gh-pages -d build",
"slither": "slither . --exclude naming-convention --filter-paths token" "slither": "./node_modules/.bin/slither . --exclude naming-convention --filter-paths token"
}, },
"husky": { "husky": {
"hooks": { "hooks": {
@ -78,6 +76,6 @@
"husky": "^1.3.1", "husky": "^1.3.1",
"lint-staged": "^8.1.5", "lint-staged": "^8.1.5",
"prettier": "^1.16.4", "prettier": "^1.16.4",
"webpack": "4.28.3" "react-scripts": "^3.0.1"
} }
} }

2829
yarn.lock

File diff suppressed because it is too large Load Diff