server-script

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i server-script

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • ineva