- npm run plop:dev
- runs the cli stuff.
- npm run build:clean
- uses babel to turn javascript code to es5, code found in lib folder
- build builds a new lib folder,
- build:watch can happen.
- plop:prod runs the index file of that lib folder, same thing our user does when it runs npm run cans or npx @mariomui/cans
- create some code in src
- plop:dev
- see it run.
- Plop file in src has the list of options you can do.
- the
index.js
tells us where plop runs the plop file.
npm run mversion {patch, minor major}
- fetches, versions, makes a change log and pushes up to main.
- Steps:
- run versioning
- then run
npm run pub:patch
I need to redo this repos.