Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
feat(package.json): add build_server script, remove BABEL_ENV, add IS…
Browse files Browse the repository at this point in the history
…_SSR, fix build script
  • Loading branch information
Metnew committed Jul 13, 2017
1 parent f41d258 commit ef4243b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,13 @@
"scripts": {
"db": "nodemon ./db",
"docs": "esdoc && serve ./esdoc",
"build": "webpack --config webpack_config/webpack.prod.js",
"build": "npm run build_client && npm run build_server",
"build_client": "webpack --config webpack_config/webpack.prod.js",
"build_server": "babel src/server -d src/server_build",
"test": "jest --config=jest_config/jest.config.json --coverage --forceExit || true",
"dev": "node webpack_config/server.js",
"start": "BABEL_ENV=ssr babel-node ./src/server",
"ssr": "nodemon --exec BABEL_ENV=ssr babel-node ./src/server",
"start": "NODE_ENV=production IS_SSR=true node ./src/server_build",
"ssr": "nodemon --exec IS_SSR=true node ./src/server",
"precommit": "npm run test",
"prepush": "echo \"$(tput bold)$(tput setaf 5)Hello, my name is React-Semantic-UI-Starter, and I am happy to see that you use this project :) $(tput sgr 0)\"",
"lint:styles": "stylelint ./src/common/**/*.scss -s scss --config ./.stylelintrc --fix",
Expand Down

0 comments on commit ef4243b

Please sign in to comment.