Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
quickgame-cli
Advanced tools
快游戏开发者工具
升级npm到5.2.0+以上,nodejs安装 8.1.4+
npm install quickgame -D
注意:微信小游戏编译成快游戏,请先执行 npx create-quickgame初始化项目后再安装此工具
1)编译debug版本
npm run build
2)编译release版本(release包需要release签名: 生成release签名)
npm run release
3)自动监听文件,编译debug版本
npm run watch
--ignore [folders]
: 忽略不需要打包的文件(目前只支持排除文件夹)
// 忽略 test 文件夹
npm run build -- --ignore test
// 忽略 test src 等多个文件夹(用逗号隔开)
npm run build -- --ignore test,src
--disable-subpackages
: 关闭分包行为(在前提下默认开启)
前提:在manifest.json文件中配置过分包功能且minPlatformVersion>=1040
情况下,默认开启分包功能
--disable-stream-pack
: 关闭流式打包(默认开启)
--cocos-wx-game
: 编译时声明来自cocos IDE产出的微信小游戏
注:完成 npx create-quickgame
初始化构建操作后,cocos游戏编译成快游戏,需要在命令行后添加参数--cocos-wx-game
,如:npm run build -- --cocos-wx-game
或者 npx quickgame build --cocos-wx-game
1)启动本地服务
npm run server
注:当端口号被占时,使用指定端口:npm run server -- --port 4000
npm run debug
会在chrome浏览器中自动启动调试界面
npm run debug -- --print-only
将命令行中的Debugger URL
地址粘贴到chrome浏览器中打开[注]:严格按照先运行游戏再启动调试功能的先后顺序
npm install
安装失败npm cache clean --force
清除npm缓存造成的影响FAQs
quickgame cli
The npm package quickgame-cli receives a total of 23 weekly downloads. As such, quickgame-cli popularity was classified as not popular.
We found that quickgame-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.