An open API service indexing awesome lists of open source software.

https://github.com/invrs/node-starter

Inverse best practices for new Node projects
https://github.com/invrs/node-starter

Last synced: about 1 month ago
JSON representation

Inverse best practices for new Node projects

Awesome Lists containing this project

README

          

# Node Starter

Inverse best practices for new Node projects.

![clone->kill](http://i.imgur.com/tW19j.gif)

| Feature | Usage |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| Babel build with [async/await](https://babeljs.io/docs/plugins/transform-async-to-generator) and [object rest/spread](https://babeljs.io/docs/plugins/transform-object-rest-spread) | `npm run build` |
| ESLint on JS with prettier | `npm run lint` and `npm run fix` |
| Prettier on css, json, md | `npm run pretty` |
| Jest testing | `npm test` |
| Pre-commit pretty, fix, and test | [husky](https://github.com/typicode/husky) and [lint-staged](https://github.com/okonet/lint-staged) |

## Start a project

```bash
git clone git@github.com:invrs/node-starter.git [PROJECT]
cd [PROJECT]
rm -rf .git && git init .
git remote add origin git@github.com:invrs/[PROJECT].git
```

Edit `package.json` and `README.md`.