Created by: mrmckeb
Some users have hit an issue when creating templates and omitting the main field. As main is not required in package.json, we've simplified the implementation to remove this requirement.
Solution provided by @ianschmitz. Resolves #8560.