remove simple-wallet server
This commit is contained in:
parent
130adba554
commit
a97b2fe322
|
@ -1,2 +0,0 @@
|
|||
server: PORT=5000 yarn start
|
||||
client: cd client && PORT=3000 yarn start
|
|
@ -1,51 +0,0 @@
|
|||
{
|
||||
"name": "simple-wallet",
|
||||
"version": "0.0.1",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
},
|
||||
"dependencies": {
|
||||
"@material-ui/core": "^4.7.0",
|
||||
"@material-ui/icons": "^4.5.1",
|
||||
"@material-ui/styles": "^4.6.0",
|
||||
"qrcode-generator-ts": "^0.0.4",
|
||||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0",
|
||||
"react-redux": "^7.1.1",
|
||||
"redux": "^4.0.4",
|
||||
"redux-thunk": "^2.3.0",
|
||||
"typeface-roboto": "^0.0.75",
|
||||
"web3": "^1.2.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^16.9.2",
|
||||
"@types/react-dom": "^16.9.0",
|
||||
"@types/react-redux": "^7.1.2",
|
||||
"react-scripts": "3.2.0",
|
||||
"source-map-loader": "^0.2.4",
|
||||
"ts-loader": "^6.1.2",
|
||||
"typescript": "^3.6.3"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,15 +0,0 @@
|
|||
const path = require('path');
|
||||
const express = require('express');
|
||||
|
||||
const port = process.env.PORT || 5000;
|
||||
const app = express();
|
||||
|
||||
if (process.env.NODE_ENV == "production") {
|
||||
app.use(express.static(path.join(__dirname, 'client/build')));
|
||||
app.get('*', (req, res) => {
|
||||
res.sendFile(path.join(__dirname, '/client/build/index.html'));
|
||||
});
|
||||
}
|
||||
|
||||
app.listen(port, () => console.log(`listening on port ${port}`));
|
||||
|
|
@ -1,13 +1,51 @@
|
|||
{
|
||||
"name": "simple-wallet-server",
|
||||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"private": true,
|
||||
"name": "simple-wallet",
|
||||
"version": "0.0.1",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"start": "node index.js",
|
||||
"heroku-postbuild": "cd client && NODE_ENV=development yarn && yarn run build"
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^4.17.1"
|
||||
"@material-ui/core": "^4.7.0",
|
||||
"@material-ui/icons": "^4.5.1",
|
||||
"@material-ui/styles": "^4.6.0",
|
||||
"qrcode-generator-ts": "^0.0.4",
|
||||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0",
|
||||
"react-redux": "^7.1.1",
|
||||
"redux": "^4.0.4",
|
||||
"redux-thunk": "^2.3.0",
|
||||
"typeface-roboto": "^0.0.75",
|
||||
"web3": "^1.2.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^16.9.2",
|
||||
"@types/react-dom": "^16.9.0",
|
||||
"@types/react-redux": "^7.1.2",
|
||||
"react-scripts": "3.2.0",
|
||||
"source-map-loader": "^0.2.4",
|
||||
"ts-loader": "^6.1.2",
|
||||
"typescript": "^3.6.3"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue