The stubs directory stores all the stubs needed by your package. It could be config files you will publish during the initial setup or stubs you want to use within the scaffolding commands.
- Inside the
package.jsonfile, we have defined acopy:templatesscript that copies thestubsfolder to thebuildfolder. - Ensure the
build/stubsare always published to npm via thefilesarray inside thepackage.jsonfile.