generator-create-package
v1.11.0
Published
Boring TypeScript Package Generator
Maintainers
Readme
Features
Generated package includes the following features:
- [x] RollupJS with @rollup/plugin-typescript, @rollup/plugin-node-resolve & @rollup/plugin-commonjs
- [x] Prettier with @boringcodes/prettier-config
- [x] ESLint with @boringcodes/eslint-config-typescript
- [x] Husky
- [x] Lint Staged
- [x] Standard Version
Installation
Make sure yeoman is installed
$ yarn global add yoThen install the generator
$ yarn global add generator-create-packageUsage
Create a new directory
$ mkdir package-nameThen navigate to the created directory and run the following command to generate source
$ yo create-packageThis scaffolds out:
├── .husky
├── src
│ └── index.ts
├── .gitignore
├── package.json
├── README.md
├── rollup.config.js
└── tsconfig.jsonContributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
