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

wn2

v0.1.3

Published

a web's scaffolding tool based on FIS3

Downloads

8

Readme

wn2

a web's scaffolding tool based on FIS3

蜗牛游戏官网项目自动化集成工具

该工具可以快速构建游戏官网前端项目,目前支持4中类型的模板。

开发完成后可以一键发布到测试环境或生产环境,发布的同时,生产环境自动压缩合并文件。

安装方法:

npm install -g cnpm

cnpm install -g wn2

使用方法:

1.初始化项目,选择项目模板。

wn2 init

项目类型:
site // 官网模板
m-site // 官网移动版模板
special // 专题模板
m-special // 专题移动版模板
page // 单页面模板

2.发布项目

  • wn2 release qa // 测试环境

  • wn2 release actProd // 专题生产环境

  • wn2 release siteProd // 官网生产环境

升级

Version 0.1.1 2015-11-10

  • update sass parse plugin to node-sass;

Version 0.1.3 2016-03-30

  • update fis3 to version 3.3.21;

需要配置host列表

  • 10.13.0.195 gitlab.woniu.com #需要加载这个站点的数据
  • 10.17.0.58 production.woniu.com #发布到生产环境 wn2 release actProd
  • 10.13.0.205 dev.woniu.com #发布到测试环境 wn2 release qa

蜗牛移动mobile.snail.com

站点相关的专题活动

  • wn2 init

choose a domain: woniu.com snail.com (V)

choose a template type: (Use arrow keys) m-mobile (蜗牛移动移动版专题) mobile (蜗牛移动pc版专题)

页面做完后:

  • wn2 release qa 发布到内网
  • wn2 release actProd 发布到公网

制作过程中:

  • wn2 server start 启动本地调试服务,
  • wn2 release -wL 可以实时监听刷新浏览器