pocky-deprecated
pocky-deprecated copied to clipboard
rollup + nodemon = pocky
pocky
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:

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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - 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