Cloverfield Package Scaffold
This package is not being actively maintained.
It scaffolds a new module with the following features:
npm install -g cf-package
mkdir project
cd project
cf-package
npm install
npm test
cf-package
> Your name: My Name
> Your email (will be publicly available, optional): my@email
> Your GitHub public username: mygithub
> Package name: test
> Package description: Test Package
Variable | Prompt |
---|---|
user.name | > Your name: |
user.email | > Your email (will be publicly available, optional): |
user.github | > Your GitHub public username: |
package.name | > Package name: |
package.description | > Package description: |
Alternatively it is possible to input every generator variable as CLI option:
cf-package --user.name="My Name" \
--user.email=my@email \
--user.github=mygithub \
--package.name=test \
--package.description="Test Package"
Explore and enjoy! Part of the Cloverfield project.