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

fisc

v0.2.5

Published

fisc fis3 jello

Downloads

18

Readme

fisc

基于fis3+Velocity的前端解决方案

特性及优势

  • 扩展自 fis3,包含 fis(3) 的所有提供功能以及 fis(3) 的插件都可使用
  • 基于 velocity 模板,前后端分离
  • 内置 sass 解析插件,使用 sass 无需再设置
  • 内置 utc 前端模板解析插件
  • 指定目录规范
  • 提供后端数据模拟及 URL 转发功能
  • 公共组件库模块可抽离
  • 单模块更新与发布
  • 跨模块调用静态资源和VM模板
  • 共享UI组件库及通用业务模块
  • UI组件库更新CDN单独发布
  • 代理功能
  • 支持es6转换成es5

安装

1.安装nodejs Node 版本要求 0.8.x,0.10.x, 0.12.x,4.x,6.x,不在此列表中的版本不予支持。下载nodejs 2.安装fisc

sudo npm install fisc -g --registry=https://registry.npm.taobao.org

安装完之后执行看是否安装成功

fisc -v

编译

cd project
fisc release -r home
fisc release -r common

发布

// 发布到生成环境
fisc release prod
// 发布到rd环境
fisc release rd
// 发布到指定output目录
fisc release -d ../output

预览

fisc server start
// 指定8090端口
fisc server start -p 8090

设置代理

// 运行命令
fisc proxy  // 默认运行proxyConfig.json配置文件
或 fisc proxy --pxConf pxCC // 运行pxCC.json配置文件

在编译目录下面添加代理配置的json文件,进行代理配置;
默认文件名为:proxyConfig.json;
也可以通过--pxConf [fileName]运行自定义配置文件(注意:这里不需要文件后缀)
配置信息内容如下:

{
	"pxhostPage": "127.0.0.1",
	"pxportPage": "8080",
	"pxhostApi": "127.0.0.1",
	"pxportApi": "9090",
	"pxlisten": "8090"
}
// 参数含义
--pxhostPage 代理page的host
--pxportPage 代理page的端口
--pxhostApi 代理api的host
--pxportApi 代理api的端口
--pxlisten 代理服务器的端口