Sign In

generator-mygen

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-mygen

mgen

latest
Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

首先安装 Yeoman 和 generator-mygen 用 npm (假设你已经安了 node.js).

npm install -g yo
npm install -g generator-mygen

然后用生成器生成项目骨架:

yo mygen

项目相关命令

  • yo mygen -h 查看生成器所有配置
  • grunt live 若自动刷新服务127.0.0.1:8089 未能启动,则检查Gruntfile.js 中web服务器根目录位置
  • grunt dist 部署项目构建后代码
  • grunt dev 部署开发代码
  • grunt 默认命令grunt live

有关yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

版本更新

v1.2.5

  • js css html img 的watch 分离,js有变化后只运行js 的task 然后刷新浏览器,为后续增加css,html的特殊task做准备

v1.2.6

v1.2.7

  • 更新说明文档

v1.2.8

  • 说明文档版本更新排版

v1.2.9

  • 优化css压缩程序配置参数以保留ie6/ie7 css hack例如_background|*background等等

v1.3.0

  • 修复非模板文件copy方式为bulkCopy解决初始化失败问题

Keywords

yeoman-generator

FAQs

Package last updated on 05 May 2016

Related posts