1.0.1 • Published 7 years ago

server-script v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

server-script

One command to setup NodeJS modern runtime. inspired by create-react-app

What provide

  • zero config.
  • ES7 syntax.
  • flow type check.
  • auto restart your app when you changed files.
  • simple start : npm start

What inside

  • simple say is forever + babel.
  • chokidar, like watchman.
  • babel whith presets : es2015, flow

Usage

npm install -g server-script
cd <YOUR PROJECT DIR>
# make sure your app entrance is index.js
server-script start

Or use with npm start

  • first install package
npm install --save-dev server-script
  • add to package.json scripts
  "start": "server-script start"
  • and run your app
npm start