1 | # @bearer/package-init
|
2 |
|
3 | [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
|
4 | [![Version](https://img.shields.io/npm/v/@bearer/package-init.svg)](https://npmjs.org/package/@bearer/package-init)
|
5 |
|
6 | [![Downloads/week](https://img.shields.io/npm/dw/@bearer/package-init.svg)](https://npmjs.org/package/@bearer/package-init)
|
7 | [![License](https://img.shields.io/npm/l/@bearer/package-init.svg)](https://github.com/bearer/bearer/blob/master/package.json)
|
8 |
|
9 | ## Use init within a new package
|
10 |
|
11 | ```bash
|
12 | yarn init
|
13 | git init
|
14 | echo 'node_modules\nlib/\ncoverage' > .gitignore
|
15 | // answer questions
|
16 | yarn add -D @bearer/package-init
|
17 | yarn run aligator
|
18 | ```
|
19 |
|
20 | This will setup
|
21 |
|
22 | - Typescript
|
23 | - commitlint (lint your commit messages)
|
24 | - prettier (format your code)
|
25 | - hooks (format your code when you commit)
|
26 | - add jest
|
27 |
|
28 | -- toc as ! -->
|
29 |
|
30 | # Usage
|
31 |
|
32 |
|
33 |
|
34 | # Commands
|
35 |
|
36 |
|