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

xbear

v1.2.6

Published

Web full stack development and management tool

Downloads

17

Readme

xBear

关于xBear

  • xbear 使用fis为基础,作为xStack(http://develop.xpluse.com/xstack)和 xCord(http://develop.xpluse.com/xcode)全栈开发框架默认编译和发布工具。
  • xbear 支持模板文件和静态文件编译、打包、发布,默认支持less转css、静态文件时间戳。
  • xbear 完全开源,你可以免费使用xBear作为自己项目的编译和开发工具。

xBear思想

  • 在所有项目工程中,都包括通用项目(common)和业务项目(business)。
  • web开发由模板文件(html)和静态文件(js、css、images、video)组成。
  • 编译过程中,所有模板文件(html)自动发布到x-output/view目录,静态文件发布到x-output/res目录。
  • xbear自动关联补全静态url。

开始xBear

  • 安装:npm install -g xbear
  • 版本:xbear -v

xBear常用命令

  • [命令集合]

    xbear release -{wcopd} {local,cordova}
  • [命令解释] w:watch, 文件修改监控,当文件有修改时,触发命令; c:clean, 缓存清除,当执行release时,强制清空缓存文件; o:optimizer, 文件压缩,当执行reelase,对静态文件进行压缩; p:pack,打包,当执行release时,根据配置将多个文件进行打包合并; local: xbear默认配置本地目录(x-output目录),编译文件将直接编译到x-output目录中; cordova:当使用xCord移动框架时,编译文件将直接编译到x-output\cordova\www目录中。

  • [扩展命令]

    xbear widget add {demo} //在widget目录新增demo目录和对应html、js、css文件。
    xbear page add {demo} //在page目录新增demo目录和对应html、js、css文件。

xBear wiki

更多详情请见wiki:https://github.com/dbxiao/xbear/wiki

更新日志

[xbear-1.2.6](2017-05-07)【测试版】
1、增加自动加载xbear-{command}插件,开发者可以在安装xbear的环境中,直接安装xbear-{command}插件,使用xbear {command} {action} … 自动运行。
2、去掉xbear-snippets依赖。需要xbear-snippets按需安装。


[xbear-1.2.5](2016-09-29)【测试版】
1、修复编译<layout 和 <widget 便签问题
2、marked支持直接编译成html

[xbear-1.2.1](2016-08-11)【稳定版】
1、增加markdown支持
2、ES6稳定版编译
3、支持react预编译

[xbear-1.0.30](2016-03-02)【测试版】
1、新增ES6编译支持,开发者可以直接使用ES6规范进行项目开发,class、super、extend等黑科技终于在js中大放光彩

[xbear-1.0.28](2016-02-19)【测试版】
1、增加widget自动新建命令。
  xbear widget add widget-demo
  widget目录下将新建widget-demo目录和相关html、js、css等静态文件。提升开发者效率。

2、增加page自动新建命令。
  xbear page add page-demo
  widget目录下将新建page-demo目录和相关html、js、css等静态文件。提升开发者效率。


[xbear-1.0.26](2016-01-25)【测试版】
1、添加fis-postpackager-simple和fis-postpackager-autoload依赖,解决pack报错问题

[xbear-1.0.25](2016-01-22)【测试版】
1、修复<widget 和<layout 缺少inline标签问题。增加fis-parser-less到1.0.3

[xbear-1.0.23](2016-01-20)【测试版】
1、增加namespace和product全局变量,增加<widget 和<layout 标签

[xbear-1.0.21](2015-12-07)【测试版】
1、优化common模块编译和发布规则。

[xbear-1.0.20](2015-12-04)【测试版】
1、修复layout标签闭合bug。
2、common模块编译取消mod加载。

[xbear-1.0.19](2015-12-03) 【测试版】
1、新增widget、layout import引入标签;开发者直接使用widget,layout标签,eg:<widget rel="import" href="home:widget/home/home.html";
2、新增跨模块引用方法,eg:在home模块中引入common模块widget,<widget rel="import" href="common:widget/home/home.html" >。

[xbear-1.0.17](2015-09-03)【稳定版】
1、优化编译目录规则,适应移动端开发,模板文件发布到view目录,静态文件发布到res目录;
2、支持xStack框架和xCord框架;
3、全面支持web全栈开发和移动端hybrid开发:http://develop.xpluse.com/xcord。