A Node and Babel preset 3 sandbox starter kit
You need to have either npm
or yarn
installed, if you want to have it installed. Otherwise, you need npx
to run it on the fly.
You can use npx
in order to start your project without installing the package globally.
mkdir -p path/to/your/empty/project
cd path/to/your/empty/project
npx sandnode
Just answer the questions and you are ready to go testing or running.
Install the package globally
npm i -g sandnode
yarn global add sandnode
.
├── index.js
├── package.json
├── node_modules
└── test
└── 01-initial-test.spec.js
- index.js: Project entry point
- package.json: Project package file
- node_modules: Packages installed for this project (pre-populated)
- test: Folder with TDD tests, files inside it must have this format
<test-file-name>.spec.js
You can add as many tests on the test
folder. To run them you can either run yarn test
or npm test
.
You need to start via yarn start
or npm start
in a console. In other console or on your IDE you can edit the index.js
file. The original console will reload on changes saved.
- Mesi Rendon - Initial work - mesirendon
This project is licensed under the MIT License.