I just created a node package to start a quick sandbox upon Node and Babel preset-3. You can find it at https://www.npmjs.com/package/sandnode
My first packge on npm
Some days ago I had to show something on JS, but I couldn’t manage to get the environment running, because the showcase was intended to be quick. I got frustrated because I knew that I knew. Hahaha. So I thought there should be a pack that helps you to start a sort of quick local environment to show things on JS.
SandNode
I created my firts npm package called SandNode, A Node and Babel preset 3 sandbox starter kit. The idea behind was to type a command, answer four simple questions and voilà… a project where you can start doing some quick things on JS Babel preset-3 with TDD and hot reloading with nodemon.
On the fly running
If you don’t want to install the package but still want to use it to leverage the project folder you can do:
1mkdir -p path/to/your/empty/folder
2cd path/to/your/empty/folder
3npx sandnode
Then it’s only matter of answering four single questions.
After that you can simply run
1yarn test
2yarn start
or their npm variants
1npm test
2npm start