Skip to content

Commit

Permalink
Merge pull request #7 from cbridges1/cleanup-package-file
Browse files Browse the repository at this point in the history
Cleanup package file
  • Loading branch information
cbridges1 committed Aug 6, 2020
2 parents 808bba3 + 9a12048 commit 8a31e7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Start development by running `npm run dev`

Build project by running `npm run build`

Run project in production mode by running `npm run start` (after building)
Run project in production mode by running `npm run start` (executing this after building will run the project at http://localhost)

## Configuration

Expand Down
15 changes: 5 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"name": "prometheus",
"version": "0.1.0",
"private": true,
"bin": "server/server.js",
"scripts": {
"dev": "concurrently \"react-scripts start\" \"nodemon server/server.js\"",
"react": "react-scripts start",
"test-react": "react-scripts test --env=jsdom",
"build": "react-scripts build && (if exist server\\build rmdir /s /q server\\build) && move build server",
"build-linux": "react-scripts build && (if exist server/build rm -rf server/build) && mv build server",
"dev": "concurrently \"react-scripts start\" \"nodemon server/server.js\"",
"lint": "./node_modules/.bin/eslint app.js",
"package": "pkg package.json",
"start": "node server/server.js"
"react": "react-scripts start",
"start": "node server/server.js",
"test-react": "react-scripts test --env=jsdom"
},
"browserslist": {
"production": [
Expand Down Expand Up @@ -85,8 +83,5 @@
"eslint-plugin-react-hooks": "^4.0.5",
"nodemon": "^1.12.0"
},
"pkg": {
"assets": "server/build"
},
"proxy": "http://localhost:80"
}

0 comments on commit 8a31e7b

Please sign in to comment.