Skip to content

Commit

Permalink
chore(*): add local test server
Browse files Browse the repository at this point in the history
```
npm install --save-dev serve
```
  • Loading branch information
topheman committed May 22, 2018
1 parent dd9dedc commit b2a4026
Show file tree
Hide file tree
Showing 2 changed files with 263 additions and 2 deletions.
259 changes: 259 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"eject": "react-scripts eject",
"lint": "npx eslint .",
"pretty": "npx prettier --write '**/*.{js,jsx,json,css,scss}'",
"precommit": "lint-staged && npm run lint && npm run test:precommit"
"precommit": "lint-staged && npm run lint && npm run test:precommit",
"serve": "npx serve --clipless --port 5000 build"
},
"devDependencies": {
"cross-env": "^5.1.5",
Expand All @@ -45,7 +46,8 @@
"eslint-plugin-prettier": "^2.6.0",
"husky": "^0.14.3",
"lint-staged": "^7.1.2",
"prettier": "1.12.1"
"prettier": "1.12.1",
"serve": "^6.5.8"
},
"lint-staged": {
"**/*.{js,jsx,json,css,scss}": [
Expand Down

0 comments on commit b2a4026

Please sign in to comment.