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 🙏

© 2025 – Pkg Stats / Ryan Hefner

fie-toolkit-nb

v0.1.18

Published

nuke主题及业务组件开发套件

Readme

fie-toolkit-nb

针对nuke的业务组件及场景主题开发套件,rax业务沉淀必备工具。

初始化项目

可选择开发内容及底层依赖


fie init 

开启调试


fie start

构建

组件:babel源代码到lib目录

主题:打包出bundlejs及demo展示目录

fie build  

发布

组件:发布demo目录,用于demo展示

主题:发布打包出bundlejs、demo

 fie update-scene  更新场景字段,部分字段需手动修改package.json

fie publish

fie publish development 发布主题信息到日常[脚手架维护者debug使用]

nuke-bin或fie-toolkit-nbiz业务组件迁移指南

相比于nuke-bin及nbiz,本脚手架可以指定基础库如rax或nuke的版本,适合rax业务组件及nuke主题的开发。

step1: 其中业务组件在项目根目录添加fie.config.js


module.exports = {
  // 当前项目使用的fie套件
  toolkit: 'fie-toolkit-nb',

  toolkitConfig: {
    // 本地服务器端口号
    // qap开发中客户端需要通过此接口获得qap.json,请不要修改,如果该端口被占用,请修改apache或其他服务配置
    port: 8080,
    // 是否自动打开浏览器
    open: true,
    // 打开浏览器后 自动打开的 目标页面
    openTarget: 'demos/index.html',
    // 文件修改后是否自动刷新浏览器
    liveload: true,
    path:{
      simple:''
    },
    type:'component'
  },
  tasks: {
    build: [
      {
        // 同步版本号
        command: 'fie git sync'
      },
      {
        // 检测dependencies中的版本依赖
        command: 'fie check'
      }
    ],
    publish: [],
    open: [
      {
        // 打开gitlab上的项目
        command: 'fie git open'
      }
    ]
  }
};

step2:在package.json中添加,并在本地安装

"peerDependencies": {
    "rax":"^0.2.x",
    "nuke": "^0.6.x"
 }

step3: 自定义template.html作为渲染模板

可不定义,默认使用

执行 fie start 开启调试

demo项目 http://gitlab.alibaba-inc.com/nuke-biz/qn-chart

详细内容请参考nuke工具文档场景复用章节

场景命名规范 scene-card-list

nuke-theme group下,以scene开头,后跟功能及说明性字段,能够说明场景关键词.

场景开放性规则

必须通过仓库初始化的eslint规则。结合业务脚手架的自动化拷贝功能,仅pages/index/下的文件内容可被拷贝复制。