Global command for creating packages the way Mo likes
Install Yarn command globally if not already.
Then run
$ yarn create mo-pkg <name>
- Create a new folder with the specified name
- Change into it
- Run
yarn init
with proper arguments - Install a strict typescript
- Install
ttypscript
,import-map-shim
to build ES modules - Install testing framework (
mocha
&should
and their types) - Build a sample
README.md
file - Write a simple
.gitignore
file - Initizialize the git repo
- Commit the initial commit!