Skip to content

Commit

Permalink
Merge branch 'release/1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhranshu committed Apr 11, 2020
2 parents c4447e6 + 7bcf5fb commit 7140b5f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 10 deletions.
39 changes: 30 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,44 @@
# NodeJs CLI Starter template

Starter template to get going ith NodeJs CLI development.
Starter template to get going ith NodeJs CLI development withoutuch fuss.

Tooling configured
Configured tooling

- [x] ES6 support with babel
- [x] Nodemon
- [x] Test script with Ava
- [x] build and watch-build scripts
- [x] Prettier and Eslint configs
- [x] Watch scripts for run and tests
- [x] Babel, Prettier and Eslint configs

## Usage and Configuration

Create a new repository using this template or copy the files as required.
Using this template to initialise repository or copy the files as required. Or simply use it to get some inspiration.

Scripts
### Scripts

-
- **build** : `Build the project and copy the built files to dist folder`
- **test** : `Run ava tests`
- **watch-test** : `Watch code and run tests on code change`
- **cli-run** : `Run the code without building`
- **watch-run** : `Use nodemon to watch code and run on change`

## ToDo
### Packages

We are using [Yarn](https://github.com/yarnpkg/yarn) as the default package manager. To use [npm](https://github.com/npm/cli) delete [yarn.lock](yarn.lock) and run `npm install`

- [chalk](https://github.com/chalk/chalk)
- [inquirer](https://github.com/SBoudrias/Inquirer.js)
- [progress](https://github.com/visionmedia/node-progress)

Dev dependencies

- [ava](https://github.com/avajs/ava)
- [babel](https://github.com/babel/babel)
- [eslint](https://github.com/eslint/eslint)
- [nodemon](https://github.com/remy/nodemon)


## To Do

- [ ] Being able to parameterise the setup
- [ ] Options for Test framework
- [ ] CLI setup without using the repository
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodejs-starter-template",
"version": "0.0.3",
"version": "1.0.0",
"description": "Template repository to get strated with NodeJs CLI development",
"main": "lib/index.js",
"repository": "git@github.com:shubhranshu/nodeJs-starter-template.git",
Expand Down

0 comments on commit 7140b5f

Please sign in to comment.