README
@repodog/new-package
The RepoDog new-package command.
Installation
yarn add @repodog/new-package --dev
Usage
The command creates a new package in a project, copying over scaffolding files from the .repodog/scaffold/new-package
folder and updating the package.json
with the name
and description
provided. It then installs the package's
dependencies and builds Typescript references for the package.
// package.json
{
"scripts": {
"new-package": "new-package"
}
}
# terminal
yarn run new-package --name package-name --desc "A package description." --deps dependency-a dependency-b