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

cocos-builder

v0.1.7

Published

cocos2d-js download builder package tools

Downloads

40

Readme

Cocos2d-html5 download builder tools

cocos2d-js引擎按模块打包工具。

将引擎内部部分文件合并,按各个功能模块输出打包后的文件。方便大家选择所需的模块。

cocos2d-js download builder

###1. 安装

使用npm全局安装,如果需要更新,为保险起见,请先删除原来的版本(install改成uninstall就行了).必须全局安装

npm install -g cocos-builder

###2. 使用方法

在命令行进入cocos2d-html5引擎文件夹内。运行cocosbuilder命令。

cocosbuilder

将会在当前目录下生成一个Builder文件夹。里面则是download builder所有需要的包文件。

###3. 参数

  • -h --help*

    说明 & 帮助,一些命令的简单说明

  • -m --mode [value]

    以什么模式运行:

      1. pack, 默认以pack方法打开,执行打包命令,该命令不会检查文件正确性等。
        
      2. check,检查模式,以该命令打开的话,不会打包文件,仅仅正向反向检查module定义和目录内的文件情况。
  • -d --debug [false | true]

    输出打包过程中所有的log信息。方便调试。默认关闭。

  • -n --name [value]

    更改输出文件夹的名字

    cocosbuilder -n v3.9
  • -v --version [value]

    指定使用哪个版本的module定义来打包

    cocosbuilder -v v3.9
    • 支持的version列表(默认打包最新版本)

      v3.9 v3.8 v3.7 v3.6 v3.5 v3.3 v3.2 v3.1 v3.1beta v3.0 v3.0RC3