This is the yeoman generator for sitecore packages to use with the NPM package sitecore-package-manager Its main usage is to give a structure and a nuspec file for generating the nuget package correctly.
Since yeoman.io doesnt support scoped generators yet. you need to install it yourself.
npm install -g yo @pentia/generator-sc-package
yo @pentia/sc-package
find an empty folder
run:
yo sc-package
follow instructions: This will create a nuspec file and two folders: website and data
now add your files to the folders, forexample config files in the website\App_Config\Include\ folder and data files in the data folder.
run:
yo sc-package:pack
this will download the latest nuget.exe and package the file to a nupkg file.