Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

egpack

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egpack

A egret resource pack cli tool

  • 0.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

egret-pack

egpack use to combine all Egret release web js files as a single js file, it will add a file content hash code in the filename, and change the manifest.json automatic.

egpack 用于将白鹭(Egret)项目生成的 Web 页面所使用的所有 js 文件,打包为一个单一的文件,并在文件名中加入一个 hash 码,相应的 manifest.json 也会自动修改。

Setup

please install egpack as global module:

需要使用全局的方式来安装 egpack

npm i -g egpack

Usage

Go to your egret release web folder:

有两种方式运行,一种是进入到 Egret 的打包目录中运行 egpack 命令:

cd /Volumes/Macmite/stiekel/labs/projects/testGame/bin-release/web/alpha-0.0.1

and run:

egpack

or you can pass the release web folder as the param like this:

另外还可以直接运行 egpack 命令,并将 Egret 的打包目录作为参数传入:

egpack /Volumes/Macmite/stiekel/labs/projects/testGame/bin-release/web/alpha-0.0.1

then it will create a combined js and new manifest.json.

Keywords

FAQs

Package last updated on 27 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc