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

37sy-build

v1.3.3

Published

构建方案

Downloads

64

Readme

基于gulp的集成构建方案,支持预定义模板,流程构建、代码发布。适合小团队快速构建发布

Install

npm install -g 37sy-build

##说明

  • 第一次安装工具,需要运行fe set <name> [content] 初始化工具。可以设置的选项有

    • <__tempDir>: 工具全局缓存,模板、临时文件存放的地方。默认是$home。如果没有在项目目录配置发布路径,默认也会发布到这个目录。
    • <__git>: 自定义模板以及工具配置的git地址。之所以放在git上,是为了能动态维护模板,更新配置。
  • 拉取模板及配置。运行fe -u,即可拉取模板。第一次工具会clone项目下来,之后会update获取更新。所以需要在git上建立项目,存放模板。

  • 初始化项目配置:

    • fe -i 生成项目目录及项目配置文件(指令选项见工具配置说明)
  • 开发命令:

    • fe 本地实时刷新
    • fe dev 发布至测试服务器(ftp)
    • fe pro 发布至生产服务器(ftp)
  • git自定义模板及配置目录结构:

    • project | --template | --fe-config.js
  • 工具配置

    • 工具配置文件名为fe-config.js,
  • 工具模板

Commands

  • fe help:查看帮助

  • fe -u: 从git上拉取预定义的模板

  • fe -i: 在当前目录初始化模板目录,生成项目配置

  • fe set <name> [path]:工具设置

    • fe set __tempdir ...: 设置工具缓存目录(模板文件、构建缓存)
    • fe set __git ... : 设置模板git地址
  • fe dev: 构建并ftp发布至测试服环境

    • fe dev -l: 监控文件变动,实时构建并ftp发布至测试服环境
  • fe pro: 构建并ftp发布至生产环境

    • fe pro -l: 监控文件变动,实时构建并ftp发布至生产环境
  • fe test: mocha测试