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
- Host: GitHub
- URL: https://github.com/invrs/node-starter
- Owner: invrs
- Created: 2018-01-28T23:51:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-03T16:40:13.000Z (about 8 years ago)
- Last Synced: 2025-11-19T05:17:45.495Z (8 months ago)
- Language: JavaScript
- Size: 934 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node Starter
Inverse best practices for new Node projects.

| 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`.