Pocky Deprecated Save Abandoned

rollup + nodemon = pocky

Project README

pocky

NPM version NPM downloads CircleCI donate

Install

yarn global add pocky
# OR 
npm i -g pocky

How to use

Populate an entry file for your node app, eg. index.js:

const app = require('express')()

app.get('/', (req, res) => 
  res.send('hello world')
)

app.listen(4000, () => 
  console.log('> Open http://localhost:4000')
)

Then run pocky and you can see:

preview

To build your app, run pocky build instead.

Babel

By default it uses babel-preset-pocky which targets your system node version.

Custom config

Entry file

pocky [path/to/entry.js]

Custom rollup config

pocky --rollup-config ./path/to/rollup.config.js

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

pocky © egoist, Released under the MIT License.
Authored and maintained by egoist with help from contributors (list).

egoistian.com · GitHub @egoist · Twitter @rem_rin_rin

Open Source Agenda is not affiliated with "Pocky Deprecated" Project. README Source: egoist/pocky-deprecated
Stars
30
Open Issues
2
Last Commit
6 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating