npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-windmill

v0.0.18

Published

Yeoman generator

Downloads

9

Readme

需要解决的问题


  • ~~关于安装只使用npm install 不使用bower install~~
  • 关于模块的选择weui, tab,
  • ~~package.json~~
  • 那些包是不需要的
  • css类名的命名方法
  • 删除bootstrap
  • ~~使用多种方式书写样式文件~~
  • ~~关于方法的演示,$q的使用~~
  • ~~如何书写指令,等各种部分的书写~~

如果运行的时候出现错误,大多数情况下是node-sass或者optipng-bin安装失败,此时应该先将依赖安装完成后再次运行...

sudo npm install optipng-bin node-sass --save-dev

generate-windmill

一个结合Angular 1.5.x,ES6,Webpack,Gulp,ocLazyLoad的脚手架工具,帮助快速开发你的NG应用

脚手架特色

  • 使用了webpack这个当下十分火热的前端打包工具
  • 使用了ES6的许多新的特性,让我们可以更舒服的书写我们的代码,尤其是带来了模块化开发的便利
  • 使用了express作为我们的后端模拟数据,让我们专注与前端的逻辑与事件的处理
  • 使用了browserSync,让我们可以实时预览我们的应用
  • 使用了ocLazyLoad,配合Webpack让我们的应用可以进行按需加载,提升了用户体验
  • 可以使用Sass,Less,或者CSS来书写我们的样式,甚至可以使用别的样式预处理语言来书写

使用前的准备

  • 全局安装Node开发环境,就是Node.js的安装,自行google
  • 全局安装yo,具体的方法可以参考这个链接yeoman
  • 全局安装generator-windmill:
// Mac
sudo npm i generator-windmill -g
// windows
npm i generator-windmill -g

开始使用

  • 在你项目的根目录内运行命令yo windmill(好比是,在app文件夹内运行)
  • 运行gulp serve进行预览
  • 运行gulp build进行打包
  • 运行gulp deploy进行部署

具体的说明