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

baoer

v0.29.3

Published

baoer packtools for liepin.com

Downloads

1

Readme

@liepin/fet

猎聘网前端工具 FET.

说明

  1. 支持 es6 语法
  2. 支持通过 require 引入样式
  3. 支持自动编译 nodetpl-plus ,关于 nodetpl-plus 请参考 http://www.nodetpl.com/cn/nodetpl-plus.html
  4. 支持自动合并小图标

安装

  1. 若本地未安装 cnpm v3 ,请先安装:
$ npm install -g cnpm@3 --registry=https://registry.npm.taobao.org

注意:最新版本的 cnpm 会在安装时创建软链,文件组织方式不是我们所需要的,所以需要使用 v3 版本。

  1. 配置 cnpm 资源库地址:
$ cnpm set registry http://registry.cnpm.lietou.com
  1. 安装 fet:
$ cnpm install -g @liepin/fet
  1. 查看版本:
$ fet -v

语法

打包(pack)

$ fet pack <path> <args>

path

要打包的目录,当前目录请传 ./

args

--watch 或 -w

是否监听文件变化,如果传入该参数,当文件变更时,自动编译

--help 或 -h

查看 pack 的帮助信息

更新日志

0.18.0

解决 branches 下编译路径不正确的bug

0.14.0

添加非 src 引用时的错误提醒,只有 src 下的(静态)文件才能被引用

0.13.0

添加 babel-pollyfil 等不需要编译的选项控制,解决 IE7、IE8 兼容性问题

0.12.0

为适配上线脚本,build目录中不再出现 node_modules 目录,改用 modules

0.11.0

修正了 windows 下反斜杠问题

0.10.0

修正了 --watch 状态下小图标重复编译的 bug

0.8.0

为了便于管理,sprites 图片不再写入 common.css 源文件,只有在编译阶段写入 build/css/common.css 中

common.css 请勿再保留任何关于 sprites 的代码

0.7.2

修正了 windows 下 css 文件编译路径不正确的 bug

License

@liepin/fet is available under the terms of the MIT License.