项目作者: PentiaLabs

项目描述 :
Sitecore Package generator for npm module sitecore-package-manager
高级语言: JavaScript
项目地址: git://github.com/PentiaLabs/generator-sc-package.git
创建时间: 2016-10-06T13:44:27Z
项目社区:https://github.com/PentiaLabs/generator-sc-package

开源协议:

下载


Sitecore package generator

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.

usage

Since yeoman.io doesnt support scoped generators yet. you need to install it yourself.

  1. npm install -g yo @pentia/generator-sc-package
  2. yo @pentia/sc-package

greating package

find an empty folder

run:

  1. 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:

  1. yo sc-package:pack

this will download the latest nuget.exe and package the file to a nupkg file.