1.0.8 • Published 2 years ago

sandnode v1.0.8

Weekly downloads
4
License
MIT
Repository
github
Last release
2 years ago

SandNode

A Node and Babel preset 3 sandbox starter kit

Getting started

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.

On the fly running

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.

Installing

Install the package globally

npm

npm i -g sandnode

yarn

yarn global add sandnode

Structure

.
├── 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

Using

Tests

You can add as many tests on the test folder. To run them you can either run yarn test or npm test.

Running

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.

Authors

License

This project is licensed under the MIT License.

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago