├── .gitattributes ├── .gitignore ├── README.md ├── assets ├── resources.meta ├── resources │ ├── prefab.meta │ ├── prefab │ │ ├── notice.meta │ │ ├── notice │ │ │ ├── notice.prefab │ │ │ └── notice.prefab.meta │ │ ├── tips.meta │ │ └── tips │ │ │ ├── confirmDialog.prefab │ │ │ ├── confirmDialog.prefab.meta │ │ │ ├── tips.prefab │ │ │ ├── tips.prefab.meta │ │ │ ├── tipsItem.prefab │ │ │ └── tipsItem.prefab.meta │ ├── proto.meta │ └── proto │ │ ├── base.proto │ │ ├── base.proto.meta │ │ ├── login.proto │ │ └── login.proto.meta ├── scene.meta ├── scene │ ├── loading.fire │ ├── loading.fire.meta │ ├── main.fire │ └── main.fire.meta ├── script.meta ├── script │ ├── GameController.ts │ ├── GameController.ts.meta │ ├── ProtoMessage.ts │ ├── ProtoMessage.ts.meta │ ├── data.meta │ ├── data │ │ ├── GameDataCenter.ts │ │ ├── GameDataCenter.ts.meta │ │ ├── autoui.meta │ │ ├── autoui │ │ │ ├── notice.meta │ │ │ ├── notice │ │ │ │ ├── auto_notice.ts │ │ │ │ └── auto_notice.ts.meta │ │ │ ├── scene.meta │ │ │ ├── scene │ │ │ │ ├── auto_loading.ts │ │ │ │ ├── auto_loading.ts.meta │ │ │ │ ├── auto_main.ts │ │ │ │ └── auto_main.ts.meta │ │ │ ├── tips.meta │ │ │ └── tips │ │ │ │ ├── auto_confirmDialog.ts │ │ │ │ ├── auto_confirmDialog.ts.meta │ │ │ │ ├── auto_tips.ts │ │ │ │ ├── auto_tips.ts.meta │ │ │ │ ├── auto_tipsItem.ts │ │ │ │ └── auto_tipsItem.ts.meta │ │ ├── config.meta │ │ ├── config │ │ │ ├── CfgFruit.js │ │ │ ├── CfgFruit.js.meta │ │ │ ├── CfgMan.js │ │ │ └── CfgMan.js.meta │ │ ├── const.meta │ │ ├── const │ │ │ ├── EventConst.ts │ │ │ ├── EventConst.ts.meta │ │ │ ├── ViewZOrder.ts │ │ │ └── ViewZOrder.ts.meta │ │ ├── model.meta │ │ └── model │ │ │ ├── Account.meta │ │ │ ├── Account │ │ │ ├── AccountModel.ts │ │ │ └── AccountModel.ts.meta │ │ │ ├── IDataModel.ts │ │ │ ├── IDataModel.ts.meta │ │ │ ├── System.meta │ │ │ └── System │ │ │ ├── SystemModel.ts │ │ │ └── SystemModel.ts.meta │ ├── global.d.ts │ ├── global.d.ts.meta │ ├── logic.meta │ ├── logic │ │ ├── ui.meta │ │ └── ui │ │ │ ├── UIBase.ts │ │ │ ├── UIBase.ts.meta │ │ │ ├── UIHelp.ts │ │ │ ├── UIHelp.ts.meta │ │ │ ├── notice.meta │ │ │ ├── notice │ │ │ ├── UINotice.ts │ │ │ └── UINotice.ts.meta │ │ │ ├── scene.meta │ │ │ ├── scene │ │ │ ├── UILoading.ts │ │ │ ├── UILoading.ts.meta │ │ │ ├── UIMain.ts │ │ │ └── UIMain.ts.meta │ │ │ ├── tips.meta │ │ │ └── tips │ │ │ ├── TipsItem.ts │ │ │ ├── TipsItem.ts.meta │ │ │ ├── UIConfirmDialog.ts │ │ │ ├── UIConfirmDialog.ts.meta │ │ │ ├── UITips.ts │ │ │ └── UITips.ts.meta │ ├── manager.meta │ ├── manager │ │ ├── EventMng.ts │ │ ├── EventMng.ts.meta │ │ ├── UIMng.ts │ │ └── UIMng.ts.meta │ ├── network.meta │ ├── network │ │ ├── Message.ts │ │ ├── Message.ts.meta │ │ ├── Network.ts │ │ ├── Network.ts.meta │ │ ├── ProtoBuf.ts │ │ ├── ProtoBuf.ts.meta │ │ ├── ProtoLoader.ts │ │ ├── ProtoLoader.ts.meta │ │ ├── Socket.ts │ │ ├── Socket.ts.meta │ │ ├── SocketDelegate.ts │ │ └── SocketDelegate.ts.meta │ ├── utils.meta │ └── utils │ │ ├── Log.ts │ │ ├── Log.ts.meta │ │ ├── SingletonFactory.ts │ │ └── SingletonFactory.ts.meta ├── texture.meta └── texture │ ├── HelloWorld.png │ ├── HelloWorld.png.meta │ ├── btn1.png │ ├── btn1.png.meta │ ├── gray_bg.png │ ├── gray_bg.png.meta │ ├── singleColor.png │ └── singleColor.png.meta ├── creator.d.ts ├── doc ├── UI模块.md ├── image │ ├── login │ │ ├── image_1.png │ │ ├── image_2.png │ │ ├── image_3.png │ │ ├── image_4.png │ │ ├── image_5.png │ │ └── image_6.png │ ├── project_dir.png │ └── resources_desc.png ├── 数据模块.md ├── 日志模块.md ├── 网络模块.md └── 配置表插件.md ├── hello-ws ├── app.js ├── login.proto ├── node_modules │ ├── .bin │ │ ├── pbjs │ │ ├── pbjs.cmd │ │ ├── pbts │ │ └── pbts.cmd │ ├── @protobufjs │ │ ├── aspromise │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── tests │ │ │ │ └── index.js │ │ ├── base64 │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── tests │ │ │ │ └── index.js │ │ ├── codegen │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── tests │ │ │ │ └── index.js │ │ ├── eventemitter │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── tests │ │ │ │ └── index.js │ │ ├── fetch │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── tests │ │ │ │ └── index.js │ │ ├── float │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bench │ │ │ │ ├── index.js │ │ │ │ └── suite.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── tests │ │ │ │ └── index.js │ │ ├── inquire │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── tests │ │ │ │ ├── data │ │ │ │ ├── array.js │ │ │ │ ├── emptyArray.js │ │ │ │ ├── emptyObject.js │ │ │ │ └── object.js │ │ │ │ └── index.js │ │ ├── path │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── tests │ │ │ │ └── index.js │ │ ├── pool │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── tests │ │ │ │ └── index.js │ │ └── utf8 │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── tests │ │ │ ├── data │ │ │ └── utf8.txt │ │ │ └── index.js │ ├── @types │ │ ├── long │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ └── package.json │ │ └── node │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── assert.d.ts │ │ │ ├── async_hooks.d.ts │ │ │ ├── base.d.ts │ │ │ ├── buffer.d.ts │ │ │ ├── child_process.d.ts │ │ │ ├── cluster.d.ts │ │ │ ├── console.d.ts │ │ │ ├── constants.d.ts │ │ │ ├── crypto.d.ts │ │ │ ├── dgram.d.ts │ │ │ ├── dns.d.ts │ │ │ ├── domain.d.ts │ │ │ ├── events.d.ts │ │ │ ├── fs.d.ts │ │ │ ├── globals.d.ts │ │ │ ├── http.d.ts │ │ │ ├── http2.d.ts │ │ │ ├── https.d.ts │ │ │ ├── index.d.ts │ │ │ ├── inspector.d.ts │ │ │ ├── module.d.ts │ │ │ ├── net.d.ts │ │ │ ├── os.d.ts │ │ │ ├── package.json │ │ │ ├── path.d.ts │ │ │ ├── perf_hooks.d.ts │ │ │ ├── process.d.ts │ │ │ ├── punycode.d.ts │ │ │ ├── querystring.d.ts │ │ │ ├── readline.d.ts │ │ │ ├── repl.d.ts │ │ │ ├── stream.d.ts │ │ │ ├── string_decoder.d.ts │ │ │ ├── timers.d.ts │ │ │ ├── tls.d.ts │ │ │ ├── trace_events.d.ts │ │ │ ├── ts3.2 │ │ │ ├── globals.d.ts │ │ │ ├── index.d.ts │ │ │ └── util.d.ts │ │ │ ├── tty.d.ts │ │ │ ├── url.d.ts │ │ │ ├── util.d.ts │ │ │ ├── v8.d.ts │ │ │ ├── vm.d.ts │ │ │ ├── worker_threads.d.ts │ │ │ └── zlib.d.ts │ ├── long │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist │ │ │ ├── long.js │ │ │ └── long.js.map │ │ ├── index.js │ │ ├── package.json │ │ └── src │ │ │ └── long.js │ ├── options │ │ ├── .npmignore │ │ ├── Makefile │ │ ├── README.md │ │ ├── lib │ │ │ └── options.js │ │ └── package.json │ ├── protobufjs │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin │ │ │ ├── pbjs │ │ │ └── pbts │ │ ├── cli │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ ├── pbjs │ │ │ │ └── pbts │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── tsd-jsdoc.json │ │ │ │ └── tsd-jsdoc │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── plugin.js │ │ │ │ │ └── publish.js │ │ │ ├── node_modules │ │ │ │ ├── os-tmpdir │ │ │ │ │ ├── index.js │ │ │ │ │ ├── license │ │ │ │ │ └── readme.md │ │ │ │ └── tmp │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ └── lib │ │ │ │ │ └── tmp.js │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── package.standalone.json │ │ │ ├── pbjs.d.ts │ │ │ ├── pbjs.js │ │ │ ├── pbts.d.ts │ │ │ ├── pbts.js │ │ │ ├── targets │ │ │ │ ├── json-module.js │ │ │ │ ├── json.js │ │ │ │ ├── proto.js │ │ │ │ ├── proto2.js │ │ │ │ ├── proto3.js │ │ │ │ ├── static-module.js │ │ │ │ └── static.js │ │ │ ├── util.js │ │ │ └── wrappers │ │ │ │ ├── amd.js │ │ │ │ ├── closure.js │ │ │ │ ├── commonjs.js │ │ │ │ ├── default.js │ │ │ │ └── es6.js │ │ ├── dist │ │ │ ├── README.md │ │ │ ├── light │ │ │ │ ├── README.md │ │ │ │ ├── protobuf.js │ │ │ │ ├── protobuf.js.map │ │ │ │ ├── protobuf.min.js │ │ │ │ └── protobuf.min.js.map │ │ │ ├── minimal │ │ │ │ ├── README.md │ │ │ │ ├── protobuf.js │ │ │ │ ├── protobuf.js.map │ │ │ │ ├── protobuf.min.js │ │ │ │ └── protobuf.min.js.map │ │ │ ├── protobuf.js │ │ │ ├── protobuf.js.map │ │ │ ├── protobuf.min.js │ │ │ └── protobuf.min.js.map │ │ ├── ext │ │ │ ├── debug │ │ │ │ ├── README.md │ │ │ │ └── index.js │ │ │ └── descriptor │ │ │ │ ├── README.md │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── test.js │ │ ├── google │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── api │ │ │ │ ├── annotations.json │ │ │ │ ├── annotations.proto │ │ │ │ ├── http.json │ │ │ │ └── http.proto │ │ │ └── protobuf │ │ │ │ ├── api.json │ │ │ │ ├── api.proto │ │ │ │ ├── descriptor.json │ │ │ │ ├── descriptor.proto │ │ │ │ ├── source_context.json │ │ │ │ ├── source_context.proto │ │ │ │ ├── type.json │ │ │ │ └── type.proto │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── light.d.ts │ │ ├── light.js │ │ ├── minimal.d.ts │ │ ├── minimal.js │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── scripts │ │ │ ├── changelog.js │ │ │ └── postinstall.js │ │ ├── src │ │ │ ├── common.js │ │ │ ├── converter.js │ │ │ ├── decoder.js │ │ │ ├── encoder.js │ │ │ ├── enum.js │ │ │ ├── field.js │ │ │ ├── index-light.js │ │ │ ├── index-minimal.js │ │ │ ├── index.js │ │ │ ├── mapfield.js │ │ │ ├── message.js │ │ │ ├── method.js │ │ │ ├── namespace.js │ │ │ ├── object.js │ │ │ ├── oneof.js │ │ │ ├── parse.js │ │ │ ├── reader.js │ │ │ ├── reader_buffer.js │ │ │ ├── root.js │ │ │ ├── roots.js │ │ │ ├── rpc.js │ │ │ ├── rpc │ │ │ │ └── service.js │ │ │ ├── service.js │ │ │ ├── tokenize.js │ │ │ ├── type.js │ │ │ ├── types.js │ │ │ ├── typescript.jsdoc │ │ │ ├── util.js │ │ │ ├── util │ │ │ │ ├── longbits.js │ │ │ │ └── minimal.js │ │ │ ├── verifier.js │ │ │ ├── wrappers.js │ │ │ ├── writer.js │ │ │ └── writer_buffer.js │ │ └── tsconfig.json │ ├── ultron │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── package.json │ │ └── test.js │ └── ws │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── Makefile │ │ ├── README.md │ │ ├── SECURITY.md │ │ ├── index.js │ │ ├── lib │ │ ├── BufferPool.js │ │ ├── BufferUtil.fallback.js │ │ ├── BufferUtil.js │ │ ├── ErrorCodes.js │ │ ├── Extensions.js │ │ ├── PerMessageDeflate.js │ │ ├── Receiver.hixie.js │ │ ├── Receiver.js │ │ ├── Sender.hixie.js │ │ ├── Sender.js │ │ ├── Validation.fallback.js │ │ ├── Validation.js │ │ ├── WebSocket.js │ │ └── WebSocketServer.js │ │ └── package.json ├── package-lock.json └── package.json ├── jsconfig.json ├── node_modules ├── .bin │ ├── pbjs │ ├── pbjs.cmd │ ├── window-size │ └── window-size.cmd ├── @types │ └── node │ │ ├── LICENSE │ │ ├── README.md │ │ ├── assert.d.ts │ │ ├── async_hooks.d.ts │ │ ├── base.d.ts │ │ ├── buffer.d.ts │ │ ├── child_process.d.ts │ │ ├── cluster.d.ts │ │ ├── console.d.ts │ │ ├── constants.d.ts │ │ ├── crypto.d.ts │ │ ├── dgram.d.ts │ │ ├── dns.d.ts │ │ ├── domain.d.ts │ │ ├── events.d.ts │ │ ├── fs.d.ts │ │ ├── globals.d.ts │ │ ├── http.d.ts │ │ ├── http2.d.ts │ │ ├── https.d.ts │ │ ├── index.d.ts │ │ ├── inspector.d.ts │ │ ├── module.d.ts │ │ ├── net.d.ts │ │ ├── os.d.ts │ │ ├── package.json │ │ ├── path.d.ts │ │ ├── perf_hooks.d.ts │ │ ├── process.d.ts │ │ ├── punycode.d.ts │ │ ├── querystring.d.ts │ │ ├── readline.d.ts │ │ ├── repl.d.ts │ │ ├── stream.d.ts │ │ ├── string_decoder.d.ts │ │ ├── timers.d.ts │ │ ├── tls.d.ts │ │ ├── trace_events.d.ts │ │ ├── ts3.2 │ │ ├── globals.d.ts │ │ ├── index.d.ts │ │ └── util.d.ts │ │ ├── tty.d.ts │ │ ├── url.d.ts │ │ ├── util.d.ts │ │ ├── v8.d.ts │ │ ├── vm.d.ts │ │ ├── worker_threads.d.ts │ │ └── zlib.d.ts ├── ansi-regex │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── ascli │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── alphabet │ │ └── straight.json │ ├── ascli.js │ ├── package.json │ └── tests │ │ └── test.js ├── balanced-match │ ├── .npmignore │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ └── package.json ├── brace-expansion │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── bytebuffer │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── bytebuffer.png │ ├── dist │ │ ├── README.md │ │ ├── bytebuffer-dataview.js │ │ ├── bytebuffer-dataview.min.js │ │ ├── bytebuffer-dataview.min.js.gz │ │ ├── bytebuffer-dataview.min.map │ │ ├── bytebuffer-node.js │ │ ├── bytebuffer.js │ │ ├── bytebuffer.min.js │ │ ├── bytebuffer.min.js.gz │ │ └── bytebuffer.min.map │ ├── donate.png │ ├── externs │ │ ├── bytebuffer.js │ │ └── minimal-env.js │ ├── index.js │ ├── jsdoc.json │ ├── package.json │ ├── scripts │ │ └── build.js │ ├── src │ │ ├── bower.json │ │ ├── bytebuffer.js │ │ ├── encodings │ │ │ ├── base64.js │ │ │ ├── binary.js │ │ │ ├── debug.js │ │ │ ├── hex.js │ │ │ ├── impl │ │ │ │ ├── base64.js │ │ │ │ ├── binary.js │ │ │ │ ├── debug.js │ │ │ │ ├── hex.js │ │ │ │ └── utf8.js │ │ │ └── utf8.js │ │ ├── helpers.js │ │ ├── macros.js │ │ ├── methods │ │ │ ├── append.js │ │ │ ├── assert.js │ │ │ ├── capacity.js │ │ │ ├── clear.js │ │ │ ├── clone.js │ │ │ ├── compact.js │ │ │ ├── copy.js │ │ │ ├── ensureCapacity.js │ │ │ ├── fill.js │ │ │ ├── flip.js │ │ │ ├── mark.js │ │ │ ├── order.js │ │ │ ├── prepend.js │ │ │ ├── printDebug.js │ │ │ ├── remaining.js │ │ │ ├── reset.js │ │ │ ├── resize.js │ │ │ ├── reverse.js │ │ │ ├── skip.js │ │ │ ├── slice.js │ │ │ ├── static │ │ │ │ ├── accessor.js │ │ │ │ ├── allocate.js │ │ │ │ ├── concat.js │ │ │ │ ├── isByteBuffer.js │ │ │ │ ├── type.js │ │ │ │ └── wrap.js │ │ │ ├── toBuffer.js │ │ │ └── toString.js │ │ ├── types │ │ │ ├── bytes │ │ │ │ ├── bitset.js │ │ │ │ └── bytes.js │ │ │ ├── floats │ │ │ │ ├── float32.js │ │ │ │ ├── float64.js │ │ │ │ └── ieee754.js │ │ │ ├── ints │ │ │ │ ├── int16.js │ │ │ │ ├── int32.js │ │ │ │ ├── int64.js │ │ │ │ └── int8.js │ │ │ ├── strings │ │ │ │ ├── cstring.js │ │ │ │ ├── istring.js │ │ │ │ ├── utf8string.js │ │ │ │ └── vstring.js │ │ │ └── varints │ │ │ │ ├── varint32.js │ │ │ │ └── varint64.js │ │ ├── wrap-node.js │ │ └── wrap.js │ └── tests │ │ ├── bench.js │ │ └── suite.js ├── camelcase │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── cliui │ ├── CHANGELOG.md │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ └── package.json ├── code-point-at │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── colour │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── colour.js │ ├── colour.min.js │ ├── colour.png │ ├── examples │ │ ├── example.css │ │ ├── example.html │ │ └── example.js │ ├── externs │ │ ├── colour.js │ │ └── minimal-env.js │ ├── package.json │ └── tests │ │ └── test.js ├── concat-map │ ├── .travis.yml │ ├── LICENSE │ ├── README.markdown │ ├── example │ │ └── map.js │ ├── index.js │ ├── package.json │ └── test │ │ └── map.js ├── decamelize │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── fs.realpath │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── old.js │ └── package.json ├── glob │ ├── LICENSE │ ├── README.md │ ├── changelog.md │ ├── common.js │ ├── glob.js │ ├── package.json │ └── sync.js ├── inflight │ ├── LICENSE │ ├── README.md │ ├── inflight.js │ └── package.json ├── inherits │ ├── LICENSE │ ├── README.md │ ├── inherits.js │ ├── inherits_browser.js │ └── package.json ├── invert-kv │ ├── index.js │ ├── package.json │ └── readme.md ├── is-fullwidth-code-point │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── lcid │ ├── index.js │ ├── lcid.json │ ├── license │ ├── package.json │ └── readme.md ├── long │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── dist │ │ ├── README.md │ │ ├── long.js │ │ ├── long.min.js │ │ ├── long.min.js.gz │ │ └── long.min.map │ ├── doco │ │ ├── INDEX.md │ │ └── Long.md │ ├── donate.png │ ├── externs │ │ └── long.js │ ├── index.js │ ├── jsdoc.json │ ├── long.png │ ├── package.json │ ├── scripts │ │ └── build.js │ ├── src │ │ ├── bower.json │ │ ├── long.js │ │ └── wrap.js │ └── tests │ │ ├── goog.math.long.js │ │ └── suite.js ├── minimatch │ ├── LICENSE │ ├── README.md │ ├── minimatch.js │ └── package.json ├── number-is-nan │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── once │ ├── LICENSE │ ├── README.md │ ├── once.js │ └── package.json ├── optjs │ ├── .npmignore │ ├── README.md │ ├── opt.js │ ├── package.json │ └── test.js ├── os-locale │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── path-is-absolute │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── protobufjs │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── pbjs │ ├── bower.json │ ├── cli │ │ ├── pbjs.js │ │ └── pbjs │ │ │ ├── sources │ │ │ ├── binary.js │ │ │ ├── json.js │ │ │ └── proto.js │ │ │ ├── targets │ │ │ ├── amd.js │ │ │ ├── commonjs.js │ │ │ ├── js.js │ │ │ ├── json.js │ │ │ └── proto.js │ │ │ └── util.js │ ├── dist │ │ ├── README.md │ │ ├── protobuf-light.js │ │ ├── protobuf-light.min.js │ │ ├── protobuf-light.min.js.gz │ │ ├── protobuf-light.min.map │ │ ├── protobuf.js │ │ ├── protobuf.min.js │ │ ├── protobuf.min.js.gz │ │ └── protobuf.min.map │ ├── docs │ │ ├── ProtoBuf.Builder.Message.html │ │ ├── ProtoBuf.Builder.Service.html │ │ ├── ProtoBuf.Builder.html │ │ ├── ProtoBuf.DotProto.Parser.html │ │ ├── ProtoBuf.DotProto.Tokenizer.html │ │ ├── ProtoBuf.DotProto.html │ │ ├── ProtoBuf.Element.html │ │ ├── ProtoBuf.Map.html │ │ ├── ProtoBuf.Reflect.Element.html │ │ ├── ProtoBuf.Reflect.Enum.Value.html │ │ ├── ProtoBuf.Reflect.Enum.html │ │ ├── ProtoBuf.Reflect.Extension.html │ │ ├── ProtoBuf.Reflect.Message.ExtensionField.html │ │ ├── ProtoBuf.Reflect.Message.Field.html │ │ ├── ProtoBuf.Reflect.Message.OneOf.html │ │ ├── ProtoBuf.Reflect.Message.html │ │ ├── ProtoBuf.Reflect.Namespace.html │ │ ├── ProtoBuf.Reflect.Service.Method.html │ │ ├── ProtoBuf.Reflect.Service.RPCMethod.html │ │ ├── ProtoBuf.Reflect.Service.html │ │ ├── ProtoBuf.Reflect.T.html │ │ ├── ProtoBuf.Reflect.html │ │ ├── ProtoBuf.Util.html │ │ ├── ProtoBuf.html │ │ ├── ProtoBuf.js.html │ │ ├── fonts │ │ │ ├── OpenSans-Bold-webfont.eot │ │ │ ├── OpenSans-Bold-webfont.svg │ │ │ ├── OpenSans-Bold-webfont.woff │ │ │ ├── OpenSans-BoldItalic-webfont.eot │ │ │ ├── OpenSans-BoldItalic-webfont.svg │ │ │ ├── OpenSans-BoldItalic-webfont.woff │ │ │ ├── OpenSans-Italic-webfont.eot │ │ │ ├── OpenSans-Italic-webfont.svg │ │ │ ├── OpenSans-Italic-webfont.woff │ │ │ ├── OpenSans-Light-webfont.eot │ │ │ ├── OpenSans-Light-webfont.svg │ │ │ ├── OpenSans-Light-webfont.woff │ │ │ ├── OpenSans-LightItalic-webfont.eot │ │ │ ├── OpenSans-LightItalic-webfont.svg │ │ │ ├── OpenSans-LightItalic-webfont.woff │ │ │ ├── OpenSans-Regular-webfont.eot │ │ │ ├── OpenSans-Regular-webfont.svg │ │ │ └── OpenSans-Regular-webfont.woff │ │ ├── index.html │ │ ├── scripts │ │ │ ├── linenumber.js │ │ │ └── prettify │ │ │ │ ├── Apache-License-2.0.txt │ │ │ │ ├── lang-css.js │ │ │ │ └── prettify.js │ │ └── styles │ │ │ ├── jsdoc-default.css │ │ │ ├── prettify-jsdoc.css │ │ │ └── prettify-tomorrow.css │ ├── donate.png │ ├── examples │ │ ├── protoify │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── json.js │ │ │ ├── json.json │ │ │ ├── json.proto │ │ │ ├── package.json │ │ │ └── test.js │ │ └── websocket │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ ├── server.js │ │ │ └── www │ │ │ ├── example.proto │ │ │ └── index.html │ ├── externs │ │ ├── fs.js │ │ └── protobuf.js │ ├── index.js │ ├── jsdoc.json │ ├── package.json │ ├── protobuf.png │ ├── scripts │ │ └── build.js │ ├── src │ │ ├── ProtoBuf │ │ │ ├── Builder.js │ │ │ ├── Builder │ │ │ │ ├── Enum.js │ │ │ │ ├── Message.js │ │ │ │ └── Service.js │ │ │ ├── DotProto.js │ │ │ ├── DotProto │ │ │ │ ├── Parser.js │ │ │ │ └── Tokenizer.js │ │ │ ├── Lang.js │ │ │ ├── Map.js │ │ │ ├── Reflect.js │ │ │ ├── Reflect │ │ │ │ ├── Element.js │ │ │ │ ├── Enum.js │ │ │ │ ├── Enum │ │ │ │ │ └── Value.js │ │ │ │ ├── Extension.js │ │ │ │ ├── Message.js │ │ │ │ ├── Message │ │ │ │ │ ├── ExtensionField.js │ │ │ │ │ ├── Field.js │ │ │ │ │ └── OneOf.js │ │ │ │ ├── Namespace.js │ │ │ │ ├── Service.js │ │ │ │ ├── Service │ │ │ │ │ ├── Method.js │ │ │ │ │ └── RPCMethod.js │ │ │ │ └── T.js │ │ │ └── Util.js │ │ ├── bower.json.in │ │ ├── es5.js │ │ ├── google │ │ │ └── protobuf │ │ │ │ ├── README.md │ │ │ │ ├── descriptor.json │ │ │ │ └── descriptor.proto │ │ ├── protobuf.js │ │ └── wrap.js │ └── tests │ │ ├── PingExample.proto │ │ ├── T139.proto │ │ ├── T263.proto │ │ ├── annotations.proto │ │ ├── bench.js │ │ ├── bench.txt │ │ ├── camelcase.proto │ │ ├── comments.proto │ │ ├── complex.json │ │ ├── complex.proto │ │ ├── custom-options.json │ │ ├── custom-options.proto │ │ ├── dupimport │ │ ├── common.proto │ │ ├── dep1.proto │ │ ├── dep2.proto │ │ └── main.proto │ │ ├── example1.proto │ │ ├── example1u.proto │ │ ├── example2.proto │ │ ├── example3.proto │ │ ├── example4.proto │ │ ├── example5.proto │ │ ├── extend.json │ │ ├── extend.proto │ │ ├── field_name_same_as_package │ │ ├── main.proto │ │ └── sub.proto │ │ ├── google │ │ └── protobuf │ │ │ └── descriptor.proto │ │ ├── groups.proto │ │ ├── importRoot │ │ ├── file1.proto │ │ ├── file2.proto │ │ └── file3.proto │ │ ├── import_a.proto │ │ ├── import_a_single_quote.proto │ │ ├── import_b.proto │ │ ├── import_common.proto │ │ ├── imports-toplevel.proto │ │ ├── imports-weak.proto │ │ ├── imports.json │ │ ├── imports.proto │ │ ├── inner.proto │ │ ├── negid.proto │ │ ├── nodeunit-browser │ │ ├── LICENSE │ │ ├── nodeunit.css │ │ └── nodeunit.js │ │ ├── numberformats.proto │ │ ├── oneof.proto │ │ ├── optional.proto │ │ ├── options.json │ │ ├── options.proto │ │ ├── packed.proto │ │ ├── proto2js │ │ ├── Bar.json │ │ ├── Bar.proto │ │ └── Foo.proto │ │ ├── proto3.proto │ │ ├── protobufnet.proto │ │ ├── repeated.proto │ │ ├── services.js │ │ ├── setarray.proto │ │ ├── string_single_quote.proto │ │ ├── suite.html │ │ ├── suite.js │ │ ├── toplevel.proto │ │ └── x64.proto ├── string-width │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── strip-ansi │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── window-size │ ├── LICENSE │ ├── README.md │ ├── cli.js │ ├── index.js │ └── package.json ├── wrap-ansi │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── wrappy │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── wrappy.js ├── y18n │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json └── yargs │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── completion.sh.hbs │ ├── index.js │ ├── lib │ ├── completion.js │ ├── parser.js │ ├── tokenize-arg-string.js │ ├── usage.js │ └── validation.js │ ├── locales │ ├── de.json │ ├── en.json │ ├── es.json │ ├── fr.json │ ├── id.json │ ├── ja.json │ ├── ko.json │ ├── nb.json │ ├── pirate.json │ ├── pl.json │ ├── pt.json │ ├── pt_BR.json │ ├── tr.json │ └── zh.json │ └── package.json ├── package-lock.json ├── package.json ├── packages ├── excel-killer │ ├── README.md │ ├── core │ │ ├── CfgUtil.js │ │ └── excel.js │ ├── main.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── adler32 │ │ │ ├── adler32.cmd │ │ │ ├── atob │ │ │ ├── atob.cmd │ │ │ ├── cfb │ │ │ ├── cfb.cmd │ │ │ ├── codepage │ │ │ ├── codepage.cmd │ │ │ ├── crc32 │ │ │ ├── crc32.cmd │ │ │ ├── printj │ │ │ ├── printj.cmd │ │ │ ├── ssf │ │ │ ├── ssf.cmd │ │ │ ├── uglifyjs │ │ │ ├── uglifyjs.cmd │ │ │ ├── xlsx │ │ │ └── xlsx.cmd │ │ ├── adler-32 │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── adler32.js │ │ │ ├── bin │ │ │ │ └── adler32.njs │ │ │ ├── package.json │ │ │ └── types │ │ │ │ ├── index.d.ts │ │ │ │ ├── tsconfig.json │ │ │ │ └── tslint.json │ │ ├── anymatch │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── arr-diff │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── arr-flatten │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── arr-union │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── array-unique │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── assign-symbols │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── async-each │ │ │ ├── .npmignore │ │ │ ├── CHANGELOG.md │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── atob │ │ │ ├── LICENSE │ │ │ ├── LICENSE.DOCS │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── atob.js │ │ │ ├── bower.json │ │ │ ├── browser-atob.js │ │ │ ├── node-atob.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── balanced-match │ │ │ ├── .npmignore │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── base │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── define-property │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── binary-extensions │ │ │ ├── binary-extensions.json │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── brace-expansion │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── braces │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── braces.js │ │ │ │ ├── compilers.js │ │ │ │ ├── parsers-new.js │ │ │ │ ├── parsers-orig.js │ │ │ │ ├── parsers-parens.js │ │ │ │ ├── parsers.js │ │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ │ ├── define-property │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── extend-shallow │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── cache-base │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── cfb │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── cfb.njs │ │ │ ├── cfb.js │ │ │ ├── dist │ │ │ │ ├── LICENSE │ │ │ │ ├── cfb.js │ │ │ │ ├── cfb.min.js │ │ │ │ ├── cfb.min.map │ │ │ │ └── xlscfb.js │ │ │ ├── node_modules │ │ │ │ └── commander │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── typings │ │ │ │ │ └── index.d.ts │ │ │ ├── package.json │ │ │ ├── types │ │ │ │ ├── index.d.ts │ │ │ │ └── tsconfig.json │ │ │ └── xlscfb.flow.js │ │ ├── chokidar │ │ │ ├── CHANGELOG.md │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── fsevents-handler.js │ │ │ │ └── nodefs-handler.js │ │ │ └── package.json │ │ ├── class-utils │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ ├── define-property │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── is-accessor-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── kind-of │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── is-data-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── kind-of │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── is-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── kind-of │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── codepage │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── codepage.njs │ │ │ ├── cptable.js │ │ │ ├── cputils.js │ │ │ ├── dist │ │ │ │ ├── LICENSE │ │ │ │ ├── cpexcel.full.js │ │ │ │ └── sbcs.full.js │ │ │ ├── node_modules │ │ │ │ └── commander │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── typings │ │ │ │ │ └── index.d.ts │ │ │ ├── package.json │ │ │ └── types │ │ │ │ ├── index.d.ts │ │ │ │ ├── tsconfig.json │ │ │ │ └── tslint.json │ │ ├── collection-visit │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── commander │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── typings │ │ │ │ └── index.d.ts │ │ ├── component-emitter │ │ │ ├── History.md │ │ │ ├── LICENSE │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── concat-map │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.markdown │ │ │ ├── example │ │ │ │ └── map.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── map.js │ │ ├── copy-descriptor │ │ │ ├── LICENSE │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── core-util-is │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── float.patch │ │ │ ├── lib │ │ │ │ └── util.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── crc-32 │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── crc32.njs │ │ │ ├── crc32.js │ │ │ ├── package.json │ │ │ └── types │ │ │ │ ├── index.d.ts │ │ │ │ ├── tsconfig.json │ │ │ │ └── tslint.json │ │ ├── debug │ │ │ ├── .coveralls.yml │ │ │ ├── .eslintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── karma.conf.js │ │ │ ├── node.js │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── browser.js │ │ │ │ ├── debug.js │ │ │ │ ├── index.js │ │ │ │ ├── inspector-log.js │ │ │ │ └── node.js │ │ ├── decode-uri-component │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── define-property │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── exit-on-epipe │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── exit-on-epipe.js │ │ │ └── package.json │ │ ├── expand-brackets │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── changelog.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── compilers.js │ │ │ │ ├── parsers.js │ │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ │ ├── define-property │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── extend-shallow │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── is-accessor-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── kind-of │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── is-data-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── kind-of │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── is-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── kind-of │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── extend-shallow │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── is-extendable │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── extglob │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── changelog.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── compilers.js │ │ │ │ ├── extglob.js │ │ │ │ ├── parsers.js │ │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ │ ├── define-property │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── extend-shallow │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── fill-range │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── extend-shallow │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── for-in │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── frac │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist │ │ │ │ ├── LICENSE │ │ │ │ ├── frac.js │ │ │ │ ├── frac.min.js │ │ │ │ └── frac.min.map │ │ │ ├── frac.js │ │ │ ├── package.json │ │ │ └── types │ │ │ │ ├── index.d.ts │ │ │ │ ├── tsconfig.json │ │ │ │ └── tslint.json │ │ ├── fragment-cache │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── fs-extra │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── docs │ │ │ │ ├── copy-sync.md │ │ │ │ ├── copy.md │ │ │ │ ├── emptyDir-sync.md │ │ │ │ ├── emptyDir.md │ │ │ │ ├── ensureDir-sync.md │ │ │ │ ├── ensureDir.md │ │ │ │ ├── ensureFile-sync.md │ │ │ │ ├── ensureFile.md │ │ │ │ ├── ensureLink-sync.md │ │ │ │ ├── ensureLink.md │ │ │ │ ├── ensureSymlink-sync.md │ │ │ │ ├── ensureSymlink.md │ │ │ │ ├── fs-read-write.md │ │ │ │ ├── move-sync.md │ │ │ │ ├── move.md │ │ │ │ ├── outputFile-sync.md │ │ │ │ ├── outputFile.md │ │ │ │ ├── outputJson-sync.md │ │ │ │ ├── outputJson.md │ │ │ │ ├── pathExists-sync.md │ │ │ │ ├── pathExists.md │ │ │ │ ├── readJson-sync.md │ │ │ │ ├── readJson.md │ │ │ │ ├── remove-sync.md │ │ │ │ ├── remove.md │ │ │ │ ├── writeJson-sync.md │ │ │ │ └── writeJson.md │ │ │ ├── lib │ │ │ │ ├── copy-sync │ │ │ │ │ ├── copy-sync.js │ │ │ │ │ └── index.js │ │ │ │ ├── copy │ │ │ │ │ ├── copy.js │ │ │ │ │ └── index.js │ │ │ │ ├── empty │ │ │ │ │ └── index.js │ │ │ │ ├── ensure │ │ │ │ │ ├── file.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── link.js │ │ │ │ │ ├── symlink-paths.js │ │ │ │ │ ├── symlink-type.js │ │ │ │ │ └── symlink.js │ │ │ │ ├── fs │ │ │ │ │ └── index.js │ │ │ │ ├── index.js │ │ │ │ ├── json │ │ │ │ │ ├── index.js │ │ │ │ │ ├── jsonfile.js │ │ │ │ │ ├── output-json-sync.js │ │ │ │ │ └── output-json.js │ │ │ │ ├── mkdirs │ │ │ │ │ ├── index.js │ │ │ │ │ ├── mkdirs-sync.js │ │ │ │ │ ├── mkdirs.js │ │ │ │ │ └── win32.js │ │ │ │ ├── move-sync │ │ │ │ │ └── index.js │ │ │ │ ├── move │ │ │ │ │ └── index.js │ │ │ │ ├── output │ │ │ │ │ └── index.js │ │ │ │ ├── path-exists │ │ │ │ │ └── index.js │ │ │ │ ├── remove │ │ │ │ │ ├── index.js │ │ │ │ │ └── rimraf.js │ │ │ │ └── util │ │ │ │ │ ├── assign.js │ │ │ │ │ ├── buffer.js │ │ │ │ │ └── utimes.js │ │ │ └── package.json │ │ ├── get-value │ │ │ ├── LICENSE │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── glob-parent │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── is-glob │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── graceful-fs │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── fs.js │ │ │ ├── graceful-fs.js │ │ │ ├── legacy-streams.js │ │ │ ├── package.json │ │ │ └── polyfills.js │ │ ├── has-value │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── has-values │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── kind-of │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── inherits │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── inherits.js │ │ │ ├── inherits_browser.js │ │ │ └── package.json │ │ ├── is-accessor-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-binary-path │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── is-buffer │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── basic.js │ │ ├── is-data-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-extendable │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-extglob │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-glob │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-number │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── kind-of │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── is-odd │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── is-number │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── is-plain-object │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-windows │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── isarray │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── isobject │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── json-beautifully │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ └── index.js │ │ │ └── package.json │ │ ├── jsonfile │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── kind-of │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── map-cache │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── map-visit │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── micromatch │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── cache.js │ │ │ │ ├── compilers.js │ │ │ │ ├── parsers.js │ │ │ │ └── utils.js │ │ │ └── package.json │ │ ├── minimatch │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── minimatch.js │ │ │ └── package.json │ │ ├── mixin-deep │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── is-extendable │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── ms │ │ │ ├── index.js │ │ │ ├── license.md │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── nanomatch │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── cache.js │ │ │ │ ├── compiler2.js │ │ │ │ ├── compilers.js │ │ │ │ ├── parsers.js │ │ │ │ └── utils.js │ │ │ └── package.json │ │ ├── node-xlsx │ │ │ ├── .babelrc │ │ │ ├── .eslintrc │ │ │ ├── .travis.yml │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── helpers.js │ │ │ │ ├── helpers.js.map │ │ │ │ ├── index.js │ │ │ │ ├── index.js.map │ │ │ │ ├── workbook.js │ │ │ │ └── workbook.js.map │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── helpers.js │ │ │ │ ├── index.js │ │ │ │ └── workbook.js │ │ │ └── test │ │ │ │ ├── .eslintrc │ │ │ │ ├── fixtures │ │ │ │ ├── dateField.json │ │ │ │ ├── dateField.xlsx │ │ │ │ ├── test.json │ │ │ │ └── test.xlsx │ │ │ │ └── specs │ │ │ │ ├── build.spec.js │ │ │ │ ├── helper.spec.js │ │ │ │ ├── import.spec.js │ │ │ │ └── parse.spec.js │ │ ├── normalize-path │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── object-copy │ │ │ ├── LICENSE │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ ├── define-property │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── is-accessor-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── is-data-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── is-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── kind-of │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ └── kind-of │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── object-visit │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── object.pick │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── pascalcase │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── path-dirname │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── path-is-absolute │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── posix-character-classes │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── printj │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── printj.njs │ │ │ ├── dist │ │ │ │ ├── LICENSE │ │ │ │ ├── printj.js │ │ │ │ ├── printj.min.js │ │ │ │ └── printj.min.map │ │ │ ├── package.json │ │ │ ├── printj.js │ │ │ └── types │ │ │ │ ├── index.d.ts │ │ │ │ ├── tsconfig.json │ │ │ │ └── tslint.json │ │ ├── process-nextick-args │ │ │ ├── index.js │ │ │ ├── license.md │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── readable-stream │ │ │ ├── .travis.yml │ │ │ ├── CONTRIBUTING.md │ │ │ ├── GOVERNANCE.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── doc │ │ │ │ └── wg-meetings │ │ │ │ │ └── 2015-01-30.md │ │ │ ├── duplex-browser.js │ │ │ ├── duplex.js │ │ │ ├── lib │ │ │ │ ├── _stream_duplex.js │ │ │ │ ├── _stream_passthrough.js │ │ │ │ ├── _stream_readable.js │ │ │ │ ├── _stream_transform.js │ │ │ │ ├── _stream_writable.js │ │ │ │ └── internal │ │ │ │ │ └── streams │ │ │ │ │ ├── BufferList.js │ │ │ │ │ ├── destroy.js │ │ │ │ │ ├── stream-browser.js │ │ │ │ │ └── stream.js │ │ │ ├── package.json │ │ │ ├── passthrough.js │ │ │ ├── readable-browser.js │ │ │ ├── readable.js │ │ │ ├── transform.js │ │ │ ├── writable-browser.js │ │ │ └── writable.js │ │ ├── readdirp │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── examples │ │ │ │ ├── Readme.md │ │ │ │ ├── callback-api.js │ │ │ │ ├── grep.js │ │ │ │ ├── package.json │ │ │ │ ├── stream-api-pipe.js │ │ │ │ └── stream-api.js │ │ │ ├── package.json │ │ │ ├── readdirp.js │ │ │ ├── stream-api.js │ │ │ └── test │ │ │ │ ├── bed │ │ │ │ ├── root_dir1 │ │ │ │ │ ├── root_dir1_file1.ext1 │ │ │ │ │ ├── root_dir1_file2.ext2 │ │ │ │ │ ├── root_dir1_file3.ext3 │ │ │ │ │ └── root_dir1_subdir1 │ │ │ │ │ │ └── root1_dir1_subdir1_file1.ext1 │ │ │ │ ├── root_dir2 │ │ │ │ │ ├── root_dir2_file1.ext1 │ │ │ │ │ └── root_dir2_file2.ext2 │ │ │ │ ├── root_file1.ext1 │ │ │ │ ├── root_file2.ext2 │ │ │ │ └── root_file3.ext3 │ │ │ │ ├── readdirp-stream.js │ │ │ │ └── readdirp.js │ │ ├── regex-not │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── remove-trailing-separator │ │ │ ├── history.md │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── repeat-element │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── repeat-string │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── resolve-url │ │ │ ├── .jshintrc │ │ │ ├── LICENSE │ │ │ ├── bower.json │ │ │ ├── changelog.md │ │ │ ├── component.json │ │ │ ├── package.json │ │ │ ├── readme.md │ │ │ ├── resolve-url.js │ │ │ └── test │ │ │ │ └── resolve-url.js │ │ ├── ret │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── index.js │ │ │ │ ├── positions.js │ │ │ │ ├── sets.js │ │ │ │ ├── types.js │ │ │ │ └── util.js │ │ │ └── package.json │ │ ├── safe-buffer │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── safe-regex │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── example │ │ │ │ └── safe.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ │ └── regex.js │ │ ├── set-immediate-shim │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── set-value │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── extend-shallow │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── snapdragon-node │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── define-property │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── snapdragon-util │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── kind-of │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── snapdragon │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── compiler.js │ │ │ │ ├── parser.js │ │ │ │ ├── position.js │ │ │ │ ├── source-maps.js │ │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ │ ├── define-property │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── extend-shallow │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── is-accessor-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── kind-of │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── is-data-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── kind-of │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── is-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── kind-of │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── source-map │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── dist │ │ │ │ │ ├── source-map.debug.js │ │ │ │ │ ├── source-map.js │ │ │ │ │ ├── source-map.min.js │ │ │ │ │ └── source-map.min.js.map │ │ │ │ │ ├── lib │ │ │ │ │ ├── array-set.js │ │ │ │ │ ├── base64-vlq.js │ │ │ │ │ ├── base64.js │ │ │ │ │ ├── binary-search.js │ │ │ │ │ ├── mapping-list.js │ │ │ │ │ ├── quick-sort.js │ │ │ │ │ ├── source-map-consumer.js │ │ │ │ │ ├── source-map-generator.js │ │ │ │ │ ├── source-node.js │ │ │ │ │ └── util.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── source-map.js │ │ │ └── package.json │ │ ├── source-map-resolve │ │ │ ├── .jshintrc │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── bower.json │ │ │ ├── changelog.md │ │ │ ├── component.json │ │ │ ├── generate-source-map-resolve.js │ │ │ ├── lib │ │ │ │ ├── decode-uri-component.js │ │ │ │ ├── resolve-url.js │ │ │ │ └── source-map-resolve-node.js │ │ │ ├── package.json │ │ │ ├── readme.md │ │ │ ├── source-map-resolve.js │ │ │ ├── source-map-resolve.js.template │ │ │ └── x-package.json5 │ │ ├── source-map-url │ │ │ ├── .jshintrc │ │ │ ├── LICENSE │ │ │ ├── bower.json │ │ │ ├── changelog.md │ │ │ ├── component.json │ │ │ ├── package.json │ │ │ ├── readme.md │ │ │ ├── source-map-url.js │ │ │ ├── test │ │ │ │ └── source-map-url.js │ │ │ └── x-package.json5 │ │ ├── source-map │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist │ │ │ │ ├── source-map.debug.js │ │ │ │ ├── source-map.js │ │ │ │ ├── source-map.min.js │ │ │ │ └── source-map.min.js.map │ │ │ ├── lib │ │ │ │ ├── array-set.js │ │ │ │ ├── base64-vlq.js │ │ │ │ ├── base64.js │ │ │ │ ├── binary-search.js │ │ │ │ ├── mapping-list.js │ │ │ │ ├── quick-sort.js │ │ │ │ ├── source-map-consumer.js │ │ │ │ ├── source-map-generator.js │ │ │ │ ├── source-node.js │ │ │ │ └── util.js │ │ │ ├── package.json │ │ │ ├── source-map.d.ts │ │ │ └── source-map.js │ │ ├── split-string │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── ssf │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── ssf.njs │ │ │ ├── package.json │ │ │ ├── shim.js │ │ │ ├── ssf.flow.js │ │ │ ├── ssf.js │ │ │ └── types │ │ │ │ ├── index.d.ts │ │ │ │ └── tsconfig.json │ │ ├── static-extend │ │ │ ├── LICENSE │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ ├── define-property │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── is-accessor-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── kind-of │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── is-data-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── kind-of │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── is-descriptor │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── kind-of │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── string_decoder │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ └── string_decoder.js │ │ │ └── package.json │ │ ├── to-object-path │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── kind-of │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── to-regex-range │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── to-regex │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── uglify-js │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── uglifyjs │ │ │ ├── lib │ │ │ │ ├── ast.js │ │ │ │ ├── compress.js │ │ │ │ ├── minify.js │ │ │ │ ├── mozilla-ast.js │ │ │ │ ├── output.js │ │ │ │ ├── parse.js │ │ │ │ ├── propmangle.js │ │ │ │ ├── scope.js │ │ │ │ ├── sourcemap.js │ │ │ │ ├── transform.js │ │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ │ └── commander │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── typings │ │ │ │ │ └── index.d.ts │ │ │ ├── package.json │ │ │ └── tools │ │ │ │ ├── domprops.json │ │ │ │ ├── exit.js │ │ │ │ ├── exports.js │ │ │ │ ├── node.js │ │ │ │ └── props.html │ │ ├── union-value │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ ├── extend-shallow │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── set-value │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── universalify │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── unset-value │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ ├── has-value │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── isobject │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ └── has-values │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── upath │ │ │ ├── LICENSE │ │ │ ├── package.json │ │ │ ├── readme.md │ │ │ └── upath.d.ts │ │ ├── urix │ │ │ ├── .jshintrc │ │ │ ├── LICENSE │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.md │ │ │ └── test │ │ │ │ └── index.js │ │ ├── use │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── util-deprecate │ │ │ ├── History.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── browser.js │ │ │ ├── node.js │ │ │ └── package.json │ │ └── xlsx │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ └── xlsx.njs │ │ │ ├── bower.json │ │ │ ├── dist │ │ │ ├── LICENSE │ │ │ ├── cpexcel.js │ │ │ ├── jszip.js │ │ │ ├── shim.min.js │ │ │ ├── xlsx.core.min.js │ │ │ ├── xlsx.core.min.map │ │ │ ├── xlsx.full.min.js │ │ │ ├── xlsx.full.min.map │ │ │ ├── xlsx.js │ │ │ ├── xlsx.min.js │ │ │ └── xlsx.min.map │ │ │ ├── formats.dot │ │ │ ├── formats.png │ │ │ ├── jszip.js │ │ │ ├── legend.png │ │ │ ├── package.json │ │ │ ├── types │ │ │ ├── index.d.ts │ │ │ └── tsconfig.json │ │ │ ├── xlsx.js │ │ │ └── xlsxworker.js │ ├── package-lock.json │ ├── package.json │ └── panel │ │ ├── index.css │ │ ├── index.html │ │ ├── index.js │ │ └── item │ │ ├── excelItem.html │ │ └── excelItem.js ├── proto-killer │ ├── core │ │ ├── config-util.js │ │ └── proto-processor.js │ ├── main.js │ ├── package.json │ └── panel │ │ ├── index.css │ │ ├── index.html │ │ ├── index.js │ │ └── item │ │ ├── protoItem.html │ │ └── protoItem.js └── ui-creator │ ├── core │ ├── config-util.js │ ├── node-tree.js │ ├── ui-template.js │ └── ui-template.txt │ ├── main.js │ ├── package.json │ └── panel │ ├── index.css │ ├── index.html │ └── index.js ├── plugins-excel ├── excel-output │ └── js │ │ └── client │ │ ├── CfgFruit.js │ │ └── CfgMan.js └── excel │ ├── CfgFruit.xlsx │ └── CfgMan.xlsx ├── project.json ├── require.d.ts ├── settings ├── builder.json ├── builder.panel.json ├── excel-killer-configuration.json ├── project.json └── services.json ├── template-banner.png ├── template.json ├── tsconfig.json └── wx.d.ts /.gitattributes: -------------------------------------------------------------------------------- 1 | *.ts linguist-language=TypeScript 2 | *.js linguist-language=TypeScript -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CocosCreator客户端游戏框架 2 | 3 | 一个基于CocosCreator编辑器的客户端游戏框架 4 | 5 | 具体教程移步博客: 6 | 7 | [CocosCreator游戏开发框架(一):是什么 && 为什么](https://blog.csdn.net/wxc237786026/article/details/93741178) 8 | 9 | [CocosCreator游戏开发框架(二):怎么用](https://blog.csdn.net/wxc237786026/article/details/93872342) 10 | 11 | --- 12 | 13 | 14 | ## 配置表插件(excel-killer) 15 | 16 | [配置表插件](./doc/配置表插件.md) 17 | 18 | ## 网络模块(WebSocket + Protobufjs) 19 | 20 | [网络模块](./doc/网络模块.md) 21 | 22 | ## UI模块 23 | 24 | [UI模块](./doc/UI模块.md) 25 | 26 | ## 数据模块 27 | 28 | [数据模块](./doc/数据模块.md) 29 | 30 | ## 事件分发 31 | 32 | 这里直接new cc.EventTarget。 33 | 34 | ## 日志模块 35 | 36 | [日志模块](./doc/日志模块.md) 37 | -------------------------------------------------------------------------------- /assets/resources.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "a48f6828-e7fb-4f75-a145-ff6c300fc9e3", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/resources/prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "574ea0d2-c2fa-47e7-b1b4-5260aa32adf4", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/resources/prefab/notice.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "b0399f2a-5006-4450-9cfd-d0a0d991f063", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/resources/prefab/notice/notice.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "uuid": "7916935d-0e73-445f-9b86-2476d51a07c2", 4 | "optimizationPolicy": "AUTO", 5 | "asyncLoadAssets": false, 6 | "readonly": false, 7 | "subMetas": {} 8 | } -------------------------------------------------------------------------------- /assets/resources/prefab/tips.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "2ff85595-0c01-414f-b48e-db501742e8c0", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/resources/prefab/tips/confirmDialog.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "uuid": "cef6bd31-33d9-4cca-b1f6-85427d41c2ef", 4 | "optimizationPolicy": "AUTO", 5 | "asyncLoadAssets": false, 6 | "readonly": false, 7 | "subMetas": {} 8 | } -------------------------------------------------------------------------------- /assets/resources/prefab/tips/tips.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "uuid": "0d6d8c1f-e573-4a93-a894-3258752914ac", 4 | "optimizationPolicy": "AUTO", 5 | "asyncLoadAssets": false, 6 | "readonly": false, 7 | "subMetas": {} 8 | } -------------------------------------------------------------------------------- /assets/resources/prefab/tips/tipsItem.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "uuid": "db5a85bd-8d34-41af-9ec8-52d06cf413c1", 4 | "optimizationPolicy": "AUTO", 5 | "asyncLoadAssets": false, 6 | "readonly": false, 7 | "subMetas": {} 8 | } -------------------------------------------------------------------------------- /assets/resources/proto.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "b136f676-7ccb-4d74-833d-0c0eb069d066", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/resources/proto/base.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | //@msgtype("一维整数数组","NUMBER_ARRAYS") 4 | message NUMBER_ARRAYS{ 5 | repeated int32 numbers = 1; 6 | } 7 | -------------------------------------------------------------------------------- /assets/resources/proto/base.proto.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "2.0.0", 3 | "uuid": "0ee2e132-b918-496a-bf74-dd01c89e1ca5", 4 | "subMetas": {} 5 | } -------------------------------------------------------------------------------- /assets/resources/proto/login.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | import "base.proto"; 4 | 5 | //@comment("登录",10000,"C2G_Login") 6 | message C2G_Login { 7 | string cmd = 1; 8 | //登录名 9 | string name = 2; 10 | // 密码 11 | string pw = 3; 12 | } 13 | 14 | //@comment("登录返回",10001,"G2C_Login") 15 | message G2C_Login { 16 | string msg = 1; 17 | } 18 | -------------------------------------------------------------------------------- /assets/resources/proto/login.proto.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "2.0.0", 3 | "uuid": "3876fed2-5973-4f64-97f3-d8a5291934a0", 4 | "subMetas": {} 5 | } -------------------------------------------------------------------------------- /assets/scene.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "85448296-30bc-41fe-b1f1-075bc1e21fa5", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/scene/loading.fire.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "uuid": "26a9d6f3-4536-49c5-b158-81ae1da24824", 4 | "asyncLoadAssets": false, 5 | "autoReleaseAssets": false, 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/scene/main.fire.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "uuid": "2e0c54bc-1fdf-4ff3-b70e-0d5f2885b87f", 4 | "asyncLoadAssets": false, 5 | "autoReleaseAssets": false, 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "89b808ae-3c62-4b3b-b0c4-7b537a0ca442", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/GameController.ts: -------------------------------------------------------------------------------- 1 | import { Network } from "./network/Network"; 2 | import { SingletonFactory } from "./utils/SingletonFactory"; 3 | import GameDataCenter from "./data/GameDataCenter"; 4 | import ProtoLoader from "./network/ProtoLoader"; 5 | 6 | class GameController { 7 | network: Network = null; 8 | 9 | constructor() { 10 | } 11 | 12 | init() { 13 | // 新建一个网络单例 14 | this.network = SingletonFactory.getInstance(Network); 15 | // 初始化数据模块 16 | GameDataCenter.initModule(); 17 | // proto文件加载 18 | ProtoLoader.load(); 19 | } 20 | } 21 | 22 | export default new GameController(); -------------------------------------------------------------------------------- /assets/script/GameController.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "9948e2bb-6ee5-4332-a76f-a6ce69533082", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/ProtoMessage.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "8f94d0d1-3761-40b0-9679-6742e5488b14", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "1e24933f-2fcc-475d-8254-e5b4191a2d05", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/data/GameDataCenter.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "e9a5cf73-2d3f-471c-90a6-5a1b245989bb", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/autoui.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "3295afe1-e642-4c8e-b021-cc38df5238ae", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/data/autoui/notice.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "d19591f6-c968-4a41-bd8b-bb62d10d080d", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/data/autoui/notice/auto_notice.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "ef4163fe-01a8-45a5-8547-fa1ec86cd4d5", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/autoui/scene.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "84a9b89b-7338-4fee-8c62-b0c74f56a072", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/data/autoui/scene/auto_loading.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "74c6e0ec-1a45-49d1-9a8e-c916b2f284cc", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/autoui/scene/auto_main.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "f04bde9c-ae00-4022-a929-bc1c46dc2f4a", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/autoui/tips.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "598faf1d-a8f1-465c-97d6-91fb54f8b801", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/data/autoui/tips/auto_confirmDialog.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "ceaf891f-9b9f-4a23-bde3-0106f35dffd9", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/autoui/tips/auto_tips.ts: -------------------------------------------------------------------------------- 1 | const { ccclass } = cc._decorator; 2 | 3 | @ccclass 4 | export default class auto_tips extends cc.Component { 5 | tips: cc.Node; 6 | 7 | public static URL:string = "db://assets/resources/prefab/tips/tips.prefab" 8 | 9 | onLoad () { 10 | this.tips = this.node 11 | 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /assets/script/data/autoui/tips/auto_tips.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "52aa4fa3-a440-4d8f-b2d2-d1e8d6ce547d", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/autoui/tips/auto_tipsItem.ts: -------------------------------------------------------------------------------- 1 | const { ccclass } = cc._decorator; 2 | 3 | @ccclass 4 | export default class auto_tipsItem extends cc.Component { 5 | tipsItem: cc.Node; 6 | TipsBg: cc.Node; 7 | Label: cc.Node; 8 | 9 | public static URL:string = "db://assets/resources/prefab/tips/tipsItem.prefab" 10 | 11 | onLoad () { 12 | this.tipsItem = this.node 13 | this.TipsBg = this.tipsItem.getChildByName("TipsBg"); 14 | this.Label = this.TipsBg.getChildByName("Label"); 15 | 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /assets/script/data/autoui/tips/auto_tipsItem.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "ac6855e1-f855-4cc1-94dc-065992e5dea2", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/config.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "bfcf19c4-9135-4eab-a907-9709279f0bec", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/data/config/CfgFruit.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 1: { 3 | fruit: "香蕉", 4 | cost: 1, 5 | num: 5 6 | }, 7 | 2: { 8 | fruit: "苹果", 9 | cost: 1, 10 | num: 6 11 | }, 12 | 3: { 13 | fruit: "草莓", 14 | cost: 1, 15 | num: 7 16 | } 17 | }; -------------------------------------------------------------------------------- /assets/script/data/config/CfgFruit.js.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "22172d9e-9a3b-4548-af46-5bd091baade7", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/config/CfgMan.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 1: { 3 | name: "小明", 4 | age: 10, 5 | is_man: !0, 6 | relationship: { 7 | "爸爸": "小明爸", 8 | "妈妈": "小明妈" 9 | }, 10 | array_test: [ "a", 1, [ 2, "c" ] ] 11 | }, 12 | 2: { 13 | name: "小红", 14 | age: 20, 15 | is_man: !1, 16 | relationship: { 17 | "爸爸": "小红爸", 18 | "妈妈": "小红妈" 19 | }, 20 | array_test: [ "a", 1, [ 2, "c" ] ] 21 | } 22 | }; -------------------------------------------------------------------------------- /assets/script/data/config/CfgMan.js.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "a87852ff-aeea-48e2-8cf4-8c493e8ba787", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/const.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "41578f7e-41be-4431-aa3e-8daf97463556", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/data/const/EventConst.ts: -------------------------------------------------------------------------------- 1 | export class SocketEvent { 2 | public static readonly SOCKET_OPEN = 'SOCKET_OPEN'; 3 | public static readonly SOCKET_CLOSE = 'SOCKET_CLOSE'; 4 | } 5 | 6 | export class GameEvent { 7 | public static readonly LOGIN_SUCCESS = 'LOGIN_SUCCESS'; 8 | } -------------------------------------------------------------------------------- /assets/script/data/const/EventConst.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "d2261d00-5d67-4e0f-b870-d2a216e47130", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/const/ViewZOrder.ts: -------------------------------------------------------------------------------- 1 | export class ViewZorder { 2 | /**场景层 */ 3 | public static readonly Scene = 20; 4 | /**顶部和底部菜单栏层级 */ 5 | public static readonly MenuPanel = 80; 6 | /**UI层 */ 7 | public static readonly UI = 100; 8 | /**对话框层 */ 9 | public static readonly Dialog = 200; 10 | /**提示层 */ 11 | public static readonly Tips = 300; 12 | /**引导层 */ 13 | public static readonly Guide = 400; 14 | /**通知层 */ 15 | public static readonly Notice = 500; 16 | /**loading层 */ 17 | public static readonly Loading = 600; 18 | } 19 | -------------------------------------------------------------------------------- /assets/script/data/const/ViewZOrder.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "026f0f44-1719-4973-ba98-e235e14b92f5", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/model.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "c2912930-404d-4789-8cc8-b91fdbcb834a", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/data/model/Account.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "e53ab4bd-63c5-4a9f-800e-716df1119b3c", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/data/model/Account/AccountModel.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "548cce6e-cc37-4c46-88ec-ca1b194f8e17", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/model/IDataModel.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "2995b35c-ff81-47ba-9229-3e8453ad907d", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/data/model/System.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "4d8a3087-c68a-4de5-8e59-6866a70540e8", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/data/model/System/SystemModel.ts: -------------------------------------------------------------------------------- 1 | import IDataModel from "../IDataModel"; 2 | 3 | export default class SystemModel extends IDataModel { 4 | is_open_music: boolean = false; 5 | is_open_sound: boolean = false; 6 | 7 | constructor() { 8 | super('system'); 9 | 10 | // this.Set('music_state', 1); 11 | // this.Set('sound_state', 1); 12 | // this.Save(); 13 | } 14 | 15 | getMessageListeners() { 16 | return { 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /assets/script/data/model/System/SystemModel.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "0ec238de-42c2-4a07-926c-547acfa30841", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/global.d.ts: -------------------------------------------------------------------------------- 1 | interface String { 2 | format(...param); 3 | } 4 | 5 | String.prototype.format = function (...param) { 6 | //将arguments转化为数组(ES5中并非严格的数组) 7 | var args = Array.prototype.slice.call(arguments); 8 | var count = 0; 9 | //通过正则替换%s 10 | return this.replace(/%s/g, function (s, i) { 11 | return args[count++]; 12 | }); 13 | } -------------------------------------------------------------------------------- /assets/script/global.d.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "2.0.0", 3 | "uuid": "2fc515b5-1613-40da-b63f-c554a9521c35", 4 | "subMetas": {} 5 | } -------------------------------------------------------------------------------- /assets/script/logic.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "954bd24e-d617-4193-895b-d1e54904428d", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/logic/ui.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "87bcdd0d-f691-4178-81e7-0cfef71ba7e0", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/logic/ui/UIBase.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "76454ffe-7713-40df-a5da-a0482574ed91", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/logic/ui/UIHelp.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "89585247-0b56-4cbb-8aeb-076910c8bad5", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/logic/ui/notice.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "1fc6f5d0-9370-4e16-bb83-cac57e37f79e", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/logic/ui/notice/UINotice.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "8d3ab6f4-9236-4e0f-a293-27269ff88eb0", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/logic/ui/scene.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "516ba844-3b8a-4db5-a904-d2f388eae4b8", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/logic/ui/scene/UILoading.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "0857c46d-9103-42f8-9281-f71ae353e235", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/logic/ui/scene/UIMain.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "d4d74f65-6b7b-4d88-84c5-60597c32e840", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/logic/ui/tips.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "e4144c93-dd77-4d93-90e3-3eaab265b252", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/logic/ui/tips/TipsItem.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "3d560cdb-1880-4540-b088-32981c146dcb", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/logic/ui/tips/UIConfirmDialog.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "022d1e34-4478-4288-809b-1641239063c7", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/logic/ui/tips/UITips.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "fef064c6-ab30-4ff1-a41e-4f7ddd537de2", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/manager.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "54b8b8b2-20d1-41cd-9751-18317589c8ce", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/manager/EventMng.ts: -------------------------------------------------------------------------------- 1 | // 偷懒,直接用EventTarget 2 | export default new cc.EventTarget(); -------------------------------------------------------------------------------- /assets/script/manager/EventMng.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "8eb9b1df-ab17-4468-96a9-d26e97208776", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/manager/UIMng.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "095ac8f1-4787-4cac-ba75-dfefd344e303", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/network.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "cf61b0ee-1116-4877-b8f2-2e19998d81ae", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/network/Message.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "b46c30d8-c2e1-46eb-9129-c566b10803c8", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/network/Network.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "27b989dc-19a1-4437-8913-ee430c1bbc49", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/network/ProtoBuf.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "7cb7bca1-bed7-4503-b48d-9b890c897658", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/network/ProtoLoader.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "2a998af8-1d69-47ae-96e7-b42bb3888bfd", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/network/Socket.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "c20a10a2-d780-4d42-a881-9543a00b44a5", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/network/SocketDelegate.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "800ac5e5-b95f-4b1d-bd9c-2eca773dd73e", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/utils.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "69130727-e897-4c67-b3f7-5ddfe1afc984", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/script/utils/Log.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "67d10658-91c7-417c-80dd-cef595ee8d30", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/script/utils/SingletonFactory.ts: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * 单例工厂 4 | */ 5 | export class SingletonFactory { 6 | 7 | private static instances: Map<{ new() }, Object> = new Map<{ new() }, Object>(); 8 | 9 | public static getInstance(c: { new(): T }): T { 10 | if (!SingletonFactory.instances.has(c)) { 11 | let obj = new c(); 12 | SingletonFactory.instances.set(c, obj); 13 | return obj; 14 | } 15 | return SingletonFactory.instances.get(c); 16 | } 17 | } -------------------------------------------------------------------------------- /assets/script/utils/SingletonFactory.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "9397c5ff-bc0f-4563-8d08-fe6b97623498", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/texture.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "12dd4414-5d2a-4929-b4da-9d3437b103b6", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/texture/HelloWorld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/assets/texture/HelloWorld.png -------------------------------------------------------------------------------- /assets/texture/btn1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/assets/texture/btn1.png -------------------------------------------------------------------------------- /assets/texture/gray_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/assets/texture/gray_bg.png -------------------------------------------------------------------------------- /assets/texture/singleColor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/assets/texture/singleColor.png -------------------------------------------------------------------------------- /doc/image/login/image_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/doc/image/login/image_1.png -------------------------------------------------------------------------------- /doc/image/login/image_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/doc/image/login/image_2.png -------------------------------------------------------------------------------- /doc/image/login/image_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/doc/image/login/image_3.png -------------------------------------------------------------------------------- /doc/image/login/image_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/doc/image/login/image_4.png -------------------------------------------------------------------------------- /doc/image/login/image_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/doc/image/login/image_5.png -------------------------------------------------------------------------------- /doc/image/login/image_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/doc/image/login/image_6.png -------------------------------------------------------------------------------- /doc/image/project_dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/doc/image/project_dir.png -------------------------------------------------------------------------------- /doc/image/resources_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/doc/image/resources_desc.png -------------------------------------------------------------------------------- /doc/日志模块.md: -------------------------------------------------------------------------------- 1 | # 日志模块 2 | 3 | 增加开关配置,每个大功能可以有一个开关,每个开发人员可以有一个开关,按需定义 4 | 5 | ```typescript 6 | export const LOG_TAG = { 7 | SOCKET: { desc: 'LOG_SOCKET', isOpen: true }, 8 | TEST: { desc: 'LOG_TEST', isOpen: false }, 9 | } 10 | ``` 11 | 12 | 使用 13 | 14 | ```typescript 15 | Log.log(LOG_TAG.SOCKET, 'socketprint'); 16 | Log.warn('warn'); 17 | Log.error('error'); 18 | ``` 19 | 20 | LOG_TAG开关只对log方法有效。 -------------------------------------------------------------------------------- /hello-ws/login.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | import "base.proto"; 4 | 5 | //@comment("登录",10000,"C2G_Login") 6 | message C2G_Login { 7 | string cmd = 1; 8 | //登录名 9 | string name = 2; 10 | // 密码 11 | string pw = 3; 12 | } 13 | 14 | //@comment("登录返回",10001,"G2C_Login") 15 | message G2C_Login { 16 | string msg = 1; 17 | } 18 | -------------------------------------------------------------------------------- /hello-ws/node_modules/.bin/pbjs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../protobufjs/bin/pbjs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../protobufjs/bin/pbjs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /hello-ws/node_modules/.bin/pbjs.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\protobufjs\bin\pbjs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\protobufjs\bin\pbjs" %* 7 | ) -------------------------------------------------------------------------------- /hello-ws/node_modules/.bin/pbts: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../protobufjs/bin/pbts" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../protobufjs/bin/pbts" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /hello-ws/node_modules/.bin/pbts.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\protobufjs\bin\pbts" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\protobufjs\bin\pbts" %* 7 | ) -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/aspromise/README.md: -------------------------------------------------------------------------------- 1 | @protobufjs/aspromise 2 | ===================== 3 | [](https://www.npmjs.com/package/@protobufjs/aspromise) 4 | 5 | Returns a promise from a node-style callback function. 6 | 7 | API 8 | --- 9 | 10 | * **asPromise(fn: `function`, ctx: `Object`, ...params: `*`): `Promise<*>`** 11 | Returns a promise from a node-style callback function. 12 | 13 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause) 14 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/aspromise/index.d.ts: -------------------------------------------------------------------------------- 1 | export = asPromise; 2 | 3 | type asPromiseCallback = (error: Error | null, ...params: any[]) => {}; 4 | 5 | /** 6 | * Returns a promise from a node-style callback function. 7 | * @memberof util 8 | * @param {asPromiseCallback} fn Function to call 9 | * @param {*} ctx Function context 10 | * @param {...*} params Function arguments 11 | * @returns {Promise<*>} Promisified function 12 | */ 13 | declare function asPromise(fn: asPromiseCallback, ctx: any, ...params: any[]): Promise; 14 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/codegen/tests/index.js: -------------------------------------------------------------------------------- 1 | var codegen = require(".."); 2 | 3 | // new require("benchmark").Suite().add("add", function() { 4 | 5 | var add = codegen(["a", "b"], "add") 6 | ("// awesome comment") 7 | ("return a + b - c + %d", 1) 8 | ({ c: 1 }); 9 | 10 | if (add(1, 2) !== 3) 11 | throw Error("failed"); 12 | 13 | // }).on("cycle", function(event) { process.stdout.write(String(event.target) + "\n"); }).run(); 14 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/fetch/README.md: -------------------------------------------------------------------------------- 1 | @protobufjs/fetch 2 | ================= 3 | [](https://www.npmjs.com/package/@protobufjs/fetch) 4 | 5 | Fetches the contents of a file accross node and browsers. 6 | 7 | API 8 | --- 9 | 10 | * **fetch(path: `string`, [options: { binary: boolean } ], [callback: `function(error: ?Error, [contents: string])`]): `Promise|undefined`** 11 | Fetches the contents of a file. 12 | 13 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause) 14 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/fetch/tests/index.js: -------------------------------------------------------------------------------- 1 | var tape = require("tape"); 2 | 3 | var fetch = require(".."); 4 | 5 | tape.test("fetch", function(test) { 6 | 7 | if (typeof Promise !== "undefined") { 8 | var promise = fetch("NOTFOUND"); 9 | promise.catch(function() {}); 10 | test.ok(promise instanceof Promise, "should return a promise if callback has been omitted"); 11 | } 12 | 13 | // TODO - some way to test this properly? 14 | 15 | test.end(); 16 | }); 17 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/inquire/.npmignore: -------------------------------------------------------------------------------- 1 | npm-debug.* 2 | node_modules/ 3 | coverage/ 4 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/inquire/README.md: -------------------------------------------------------------------------------- 1 | @protobufjs/inquire 2 | =================== 3 | [](https://www.npmjs.com/package/@protobufjs/inquire) 4 | 5 | Requires a module only if available and hides the require call from bundlers. 6 | 7 | API 8 | --- 9 | 10 | * **inquire(moduleName: `string`): `?Object`** 11 | Requires a module only if available. 12 | 13 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause) 14 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/inquire/index.d.ts: -------------------------------------------------------------------------------- 1 | export = inquire; 2 | 3 | /** 4 | * Requires a module only if available. 5 | * @memberof util 6 | * @param {string} moduleName Module to require 7 | * @returns {?Object} Required module if available and not empty, otherwise `null` 8 | */ 9 | declare function inquire(moduleName: string): Object; 10 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/inquire/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | module.exports = inquire; 3 | 4 | /** 5 | * Requires a module only if available. 6 | * @memberof util 7 | * @param {string} moduleName Module to require 8 | * @returns {?Object} Required module if available and not empty, otherwise `null` 9 | */ 10 | function inquire(moduleName) { 11 | try { 12 | var mod = eval("quire".replace(/^/,"re"))(moduleName); // eslint-disable-line no-eval 13 | if (mod && (mod.length || Object.keys(mod).length)) 14 | return mod; 15 | } catch (e) {} // eslint-disable-line no-empty 16 | return null; 17 | } 18 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/inquire/tests/data/array.js: -------------------------------------------------------------------------------- 1 | module.exports = [1]; 2 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/inquire/tests/data/emptyArray.js: -------------------------------------------------------------------------------- 1 | module.exports = []; 2 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/inquire/tests/data/emptyObject.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/inquire/tests/data/object.js: -------------------------------------------------------------------------------- 1 | module.exports = { a: 1 }; 2 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/pool/.npmignore: -------------------------------------------------------------------------------- 1 | npm-debug.* 2 | node_modules/ 3 | coverage/ 4 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/pool/README.md: -------------------------------------------------------------------------------- 1 | @protobufjs/pool 2 | ================ 3 | [](https://www.npmjs.com/package/@protobufjs/pool) 4 | 5 | A general purpose buffer pool. 6 | 7 | API 8 | --- 9 | 10 | * **pool(alloc: `function(size: number): Uint8Array`, slice: `function(this: Uint8Array, start: number, end: number): Uint8Array`, [size=8192: `number`]): `function(size: number): Uint8Array`** 11 | Creates a pooled allocator. 12 | 13 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause) 14 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@protobufjs/utf8/.npmignore: -------------------------------------------------------------------------------- 1 | npm-debug.* 2 | node_modules/ 3 | coverage/ 4 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@types/long/README.md: -------------------------------------------------------------------------------- 1 | # Installation 2 | > `npm install --save @types/long` 3 | 4 | # Summary 5 | This package contains type definitions for long.js (https://github.com/dcodeIO/long.js). 6 | 7 | # Details 8 | Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/long 9 | 10 | Additional Details 11 | * Last updated: Wed, 25 Apr 2018 00:38:11 GMT 12 | * Dependencies: none 13 | * Global values: Long 14 | 15 | # Credits 16 | These definitions were written by Peter Kooijmans . 17 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@types/node/buffer.d.ts: -------------------------------------------------------------------------------- 1 | declare module "buffer" { 2 | export const INSPECT_MAX_BYTES: number; 3 | const BuffType: typeof Buffer; 4 | 5 | export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary"; 6 | 7 | export function transcode(source: Buffer | Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; 8 | 9 | export const SlowBuffer: { 10 | /** @deprecated since v6.0.0, use Buffer.allocUnsafeSlow() */ 11 | new(size: number): Buffer; 12 | prototype: Buffer; 13 | }; 14 | 15 | export { BuffType as Buffer }; 16 | } 17 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@types/node/console.d.ts: -------------------------------------------------------------------------------- 1 | declare module "console" { 2 | export = console; 3 | } 4 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@types/node/domain.d.ts: -------------------------------------------------------------------------------- 1 | declare module "domain" { 2 | import * as events from "events"; 3 | 4 | class Domain extends events.EventEmitter implements NodeJS.Domain { 5 | run(fn: Function): void; 6 | add(emitter: events.EventEmitter): void; 7 | remove(emitter: events.EventEmitter): void; 8 | bind(cb: (err: Error, data: any) => any): any; 9 | intercept(cb: (data: any) => any): any; 10 | members: any[]; 11 | enter(): void; 12 | exit(): void; 13 | } 14 | 15 | function create(): Domain; 16 | } 17 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@types/node/module.d.ts: -------------------------------------------------------------------------------- 1 | declare module "module" { 2 | export = NodeJS.Module; 3 | } 4 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@types/node/process.d.ts: -------------------------------------------------------------------------------- 1 | declare module "process" { 2 | export = process; 3 | } 4 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@types/node/punycode.d.ts: -------------------------------------------------------------------------------- 1 | declare module "punycode" { 2 | function decode(string: string): string; 3 | function encode(string: string): string; 4 | function toUnicode(domain: string): string; 5 | function toASCII(domain: string): string; 6 | const ucs2: ucs2; 7 | interface ucs2 { 8 | decode(string: string): number[]; 9 | encode(codePoints: number[]): string; 10 | } 11 | const version: any; 12 | } 13 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@types/node/string_decoder.d.ts: -------------------------------------------------------------------------------- 1 | declare module "string_decoder" { 2 | interface NodeStringDecoder { 3 | write(buffer: Buffer): string; 4 | end(buffer?: Buffer): string; 5 | } 6 | const StringDecoder: { 7 | new(encoding?: string): NodeStringDecoder; 8 | }; 9 | } 10 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@types/node/ts3.2/globals.d.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line:no-bad-reference 2 | /// 3 | 4 | declare namespace NodeJS { 5 | interface HRTime { 6 | bigint(): bigint; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@types/node/ts3.2/util.d.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line:no-bad-reference 2 | /// 3 | 4 | declare module "util" { 5 | namespace inspect { 6 | const custom: unique symbol; 7 | } 8 | namespace promisify { 9 | const custom: unique symbol; 10 | } 11 | namespace types { 12 | function isBigInt64Array(value: any): value is BigInt64Array; 13 | function isBigUint64Array(value: any): value is BigUint64Array; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /hello-ws/node_modules/@types/node/tty.d.ts: -------------------------------------------------------------------------------- 1 | declare module "tty" { 2 | import * as net from "net"; 3 | 4 | function isatty(fd: number): boolean; 5 | class ReadStream extends net.Socket { 6 | isRaw: boolean; 7 | setRawMode(mode: boolean): void; 8 | isTTY: boolean; 9 | } 10 | class WriteStream extends net.Socket { 11 | columns: number; 12 | rows: number; 13 | isTTY: boolean; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /hello-ws/node_modules/long/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./src/long"); 2 | -------------------------------------------------------------------------------- /hello-ws/node_modules/options/.npmignore: -------------------------------------------------------------------------------- 1 | npm-debug.log 2 | node_modules 3 | .*.swp 4 | .lock-* 5 | build/ 6 | 7 | test 8 | -------------------------------------------------------------------------------- /hello-ws/node_modules/options/Makefile: -------------------------------------------------------------------------------- 1 | ALL_TESTS = $(shell find test/ -name '*.test.js') 2 | 3 | run-tests: 4 | @./node_modules/.bin/mocha \ 5 | -t 2000 \ 6 | $(TESTFLAGS) \ 7 | $(TESTS) 8 | 9 | test: 10 | @$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests 11 | 12 | .PHONY: test 13 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/bin/pbjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var path = require("path"), 3 | cli = require(path.join(__dirname, "..", "cli", "pbjs.js")); 4 | var ret = cli.main(process.argv.slice(2)); 5 | if (typeof ret === 'number') 6 | process.exit(ret); 7 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/bin/pbts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var path = require("path"), 3 | cli = require(path.join(__dirname, "..", "cli", "pbts.js")); 4 | var ret = cli.main(process.argv.slice(2)); 5 | if (typeof ret === 'number') 6 | process.exit(ret); 7 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/bin/pbjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var path = require("path"), 3 | cli = require(path.join(__dirname, "..", "pbjs.js")); 4 | var ret = cli.main(process.argv.slice(2)); 5 | if (typeof ret === 'number') 6 | process.exit(ret); 7 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/bin/pbts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var path = require("path"), 3 | cli = require(path.join(__dirname, "..", "pbts.js")); 4 | var ret = cli.main(process.argv.slice(2)); 5 | if (typeof ret === 'number') 6 | process.exit(ret); 7 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/index.d.ts: -------------------------------------------------------------------------------- 1 | import * as pbjs from "./pbjs.js"; 2 | import * as pbts from "./pbts.js"; 3 | export { pbjs, pbts }; 4 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | exports.pbjs = require("./pbjs"); 3 | exports.pbts = require("./pbts"); 4 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/lib/tsd-jsdoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "tags": { 3 | "allowUnknownTags": false 4 | }, 5 | "plugins": [ 6 | "./tsd-jsdoc/plugin" 7 | ], 8 | "opts": { 9 | "encoding" : "utf8", 10 | "recurse" : true, 11 | "lenient" : true, 12 | "template" : "./tsd-jsdoc", 13 | 14 | "private" : false, 15 | "comments" : true, 16 | "destination" : false 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/package.json: -------------------------------------------------------------------------------- 1 | {"version": "6.7.0"} -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/pbjs.d.ts: -------------------------------------------------------------------------------- 1 | type pbjsCallback = (err: Error|null, output?: string) => void; 2 | 3 | /** 4 | * Runs pbjs programmatically. 5 | * @param {string[]} args Command line arguments 6 | * @param {function(?Error, string=)} [callback] Optional completion callback 7 | * @returns {number|undefined} Exit code, if known 8 | */ 9 | export function main(args: string[], callback?: pbjsCallback): number|undefined; 10 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/pbts.d.ts: -------------------------------------------------------------------------------- 1 | type pbtsCallback = (err: Error|null, output?: string) => void; 2 | 3 | /** 4 | * Runs pbts programmatically. 5 | * @param {string[]} args Command line arguments 6 | * @param {function(?Error, string=)} [callback] Optional completion callback 7 | * @returns {number|undefined} Exit code, if known 8 | */ 9 | export function main(args: string[], callback?: pbtsCallback): number|undefined; 10 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/targets/json.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | module.exports = json_target; 3 | 4 | json_target.description = "JSON representation"; 5 | 6 | function json_target(root, options, callback) { 7 | callback(null, JSON.stringify(root, null, 2)); 8 | } 9 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/targets/proto2.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | module.exports = proto2_target; 3 | 4 | var protobuf = require("../.."); 5 | 6 | proto2_target.description = "Protocol Buffers, Version 2"; 7 | 8 | function proto2_target(root, options, callback) { 9 | require("./proto")(root, protobuf.util.merge(options, { syntax: "proto2" }), callback); 10 | } 11 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/targets/proto3.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | module.exports = proto3_target; 3 | 4 | var protobuf = require("../.."); 5 | 6 | proto3_target.description = "Protocol Buffers, Version 3"; 7 | 8 | function proto3_target(root, options, callback) { 9 | require("./proto")(root, protobuf.util.merge(options, { syntax: "proto3" }), callback); 10 | } 11 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/wrappers/amd.js: -------------------------------------------------------------------------------- 1 | define([$DEPENDENCY], function($protobuf) { 2 | "use strict"; 3 | 4 | $OUTPUT; 5 | 6 | return $root; 7 | }); 8 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/wrappers/closure.js: -------------------------------------------------------------------------------- 1 | (function($protobuf) { 2 | "use strict"; 3 | 4 | $OUTPUT; 5 | 6 | return $root; 7 | })(protobuf); 8 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/wrappers/commonjs.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var $protobuf = require($DEPENDENCY); 4 | 5 | $OUTPUT; 6 | 7 | module.exports = $root; 8 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/wrappers/default.js: -------------------------------------------------------------------------------- 1 | (function(global, factory) { /* global define, require, module */ 2 | 3 | /* AMD */ if (typeof define === 'function' && define.amd) 4 | define([$DEPENDENCY], factory); 5 | 6 | /* CommonJS */ else if (typeof require === 'function' && typeof module === 'object' && module && module.exports) 7 | module.exports = factory(require($DEPENDENCY)); 8 | 9 | })(this, function($protobuf) { 10 | "use strict"; 11 | 12 | $OUTPUT; 13 | 14 | return $root; 15 | }); 16 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/cli/wrappers/es6.js: -------------------------------------------------------------------------------- 1 | import * as $protobuf from $DEPENDENCY; 2 | 3 | $OUTPUT; 4 | 5 | export { $root as default }; 6 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/ext/debug/README.md: -------------------------------------------------------------------------------- 1 | protobufjs/ext/debug 2 | ========================= 3 | 4 | Experimental debugging extension. 5 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/google/README.md: -------------------------------------------------------------------------------- 1 | This folder contains stripped and pre-parsed definitions of common Google types. These files are not used by protobuf.js directly but are here so you can use or include them where required. 2 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/google/api/annotations.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package google.api; 4 | 5 | import "google/api/http.proto"; 6 | import "google/protobuf/descriptor.proto"; 7 | 8 | extend google.protobuf.MethodOptions { 9 | 10 | HttpRule http = 72295728; 11 | } -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/google/api/http.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package google.api; 4 | 5 | message Http { 6 | 7 | repeated HttpRule rules = 1; 8 | } 9 | 10 | message HttpRule { 11 | 12 | oneof pattern { 13 | 14 | string get = 2; 15 | string put = 3; 16 | string post = 4; 17 | string delete = 5; 18 | string patch = 6; 19 | CustomHttpPattern custom = 8; 20 | } 21 | 22 | string selector = 1; 23 | string body = 7; 24 | repeated HttpRule additional_bindings = 11; 25 | } 26 | 27 | message CustomHttpPattern { 28 | 29 | string kind = 1; 30 | string path = 2; 31 | } -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/google/protobuf/source_context.json: -------------------------------------------------------------------------------- 1 | { 2 | "nested": { 3 | "google": { 4 | "nested": { 5 | "protobuf": { 6 | "nested": { 7 | "SourceContext": { 8 | "fields": { 9 | "fileName": { 10 | "type": "string", 11 | "id": 1 12 | } 13 | } 14 | } 15 | } 16 | } 17 | } 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/google/protobuf/source_context.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package google.protobuf; 4 | 5 | message SourceContext { 6 | string file_name = 1; 7 | } 8 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/index.js: -------------------------------------------------------------------------------- 1 | // full library entry point. 2 | 3 | "use strict"; 4 | module.exports = require("./src/index"); 5 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/light.d.ts: -------------------------------------------------------------------------------- 1 | export as namespace protobuf; 2 | export * from "./index"; 3 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/light.js: -------------------------------------------------------------------------------- 1 | // light library entry point. 2 | 3 | "use strict"; 4 | module.exports = require("./src/index-light"); -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/minimal.d.ts: -------------------------------------------------------------------------------- 1 | export as namespace protobuf; 2 | export * from "./index"; 3 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/minimal.js: -------------------------------------------------------------------------------- 1 | // minimal library entry point. 2 | 3 | "use strict"; 4 | module.exports = require("./src/index-minimal"); 5 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/src/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var protobuf = module.exports = require("./index-light"); 3 | 4 | protobuf.build = "full"; 5 | 6 | // Parser 7 | protobuf.tokenize = require("./tokenize"); 8 | protobuf.parse = require("./parse"); 9 | protobuf.common = require("./common"); 10 | 11 | // Configure parser 12 | protobuf.Root._configure(protobuf.Type, protobuf.parse, protobuf.common); 13 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/src/roots.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | module.exports = {}; 3 | 4 | /** 5 | * Named roots. 6 | * This is where pbjs stores generated structures (the option `-r, --root` specifies a name). 7 | * Can also be used manually to make roots available accross modules. 8 | * @name roots 9 | * @type {Object.} 10 | * @example 11 | * // pbjs -r myroot -o compiled.js ... 12 | * 13 | * // in another module: 14 | * require("./compiled.js"); 15 | * 16 | * // in any subsequent module: 17 | * var root = protobuf.roots["myroot"]; 18 | */ 19 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/src/typescript.jsdoc: -------------------------------------------------------------------------------- 1 | /** 2 | * Constructor type. 3 | * @interface Constructor 4 | * @extends Function 5 | * @template T 6 | * @tstype new(...params: any[]): T; prototype: T; 7 | */ 8 | 9 | /** 10 | * Properties type. 11 | * @typedef Properties 12 | * @template T 13 | * @type {Object.} 14 | * @tstype { [P in keyof T]?: T[P] } 15 | */ 16 | -------------------------------------------------------------------------------- /hello-ws/node_modules/protobufjs/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES5", 4 | "experimentalDecorators": true, 5 | "emitDecoratorMetadata": true 6 | } 7 | } -------------------------------------------------------------------------------- /hello-ws/node_modules/ultron/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | .tern-port 4 | -------------------------------------------------------------------------------- /hello-ws/node_modules/ultron/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - "0.12" 5 | - "0.10" 6 | - "0.8" 7 | - "iojs" 8 | before_install: 9 | - 'if [ "${TRAVIS_NODE_VERSION}" == "0.8" ]; then npm install -g npm@2.11.1; fi' 10 | script: 11 | - "npm run test-travis" 12 | after_script: 13 | - "npm install coveralls@2.11.x && cat coverage/lcov.info | coveralls" 14 | matrix: 15 | fast_finish: true 16 | notifications: 17 | irc: 18 | channels: 19 | - "irc.freenode.org#unshift" 20 | on_success: change 21 | on_failure: change 22 | -------------------------------------------------------------------------------- /hello-ws/node_modules/ws/.npmignore: -------------------------------------------------------------------------------- 1 | npm-debug.log 2 | node_modules 3 | .*.swp 4 | .lock-* 5 | build 6 | 7 | bench 8 | doc 9 | examples 10 | test 11 | 12 | -------------------------------------------------------------------------------- /hello-ws/node_modules/ws/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | sudo: false 3 | node_js: 4 | - "5" 5 | - "4" 6 | - "0.12" 7 | addons: 8 | apt: 9 | sources: 10 | - ubuntu-toolchain-r-test 11 | packages: 12 | - gcc-4.9 13 | - g++-4.9 14 | before_install: 15 | - export CC="gcc-4.9" CXX="g++-4.9" 16 | -------------------------------------------------------------------------------- /hello-ws/node_modules/ws/lib/BufferUtil.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * ws: a node.js websocket client 5 | * Copyright(c) 2011 Einar Otto Stangvik 6 | * MIT Licensed 7 | */ 8 | 9 | try { 10 | module.exports = require('bufferutil'); 11 | } catch (e) { 12 | module.exports = require('./BufferUtil.fallback'); 13 | } 14 | -------------------------------------------------------------------------------- /hello-ws/node_modules/ws/lib/Validation.fallback.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * ws: a node.js websocket client 3 | * Copyright(c) 2011 Einar Otto Stangvik 4 | * MIT Licensed 5 | */ 6 | 7 | exports.Validation = { 8 | isValidUTF8: function(buffer) { 9 | return true; 10 | } 11 | }; 12 | -------------------------------------------------------------------------------- /hello-ws/node_modules/ws/lib/Validation.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * ws: a node.js websocket client 5 | * Copyright(c) 2011 Einar Otto Stangvik 6 | * MIT Licensed 7 | */ 8 | 9 | try { 10 | module.exports = require('utf-8-validate'); 11 | } catch (e) { 12 | module.exports = require('./Validation.fallback'); 13 | } 14 | -------------------------------------------------------------------------------- /hello-ws/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello-ws", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [], 10 | "author": "", 11 | "license": "ISC", 12 | "dependencies": { 13 | "protobufjs": "^6.8.8", 14 | "ws": "^3.3.1" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es6", 4 | "module": "commonjs", 5 | "experimentalDecorators": true 6 | }, 7 | "exclude": [ 8 | "node_modules", 9 | ".vscode", 10 | "library", 11 | "local", 12 | "settings", 13 | "temp" 14 | ] 15 | } -------------------------------------------------------------------------------- /node_modules/.bin/pbjs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../protobufjs/bin/pbjs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../protobufjs/bin/pbjs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/pbjs.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\protobufjs\bin\pbjs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\protobufjs\bin\pbjs" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/window-size: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../window-size/cli.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../window-size/cli.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/window-size.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\window-size\cli.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\window-size\cli.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/@types/node/buffer.d.ts: -------------------------------------------------------------------------------- 1 | declare module "buffer" { 2 | export const INSPECT_MAX_BYTES: number; 3 | const BuffType: typeof Buffer; 4 | 5 | export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary"; 6 | 7 | export function transcode(source: Buffer | Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; 8 | 9 | export const SlowBuffer: { 10 | /** @deprecated since v6.0.0, use Buffer.allocUnsafeSlow() */ 11 | new(size: number): Buffer; 12 | prototype: Buffer; 13 | }; 14 | 15 | export { BuffType as Buffer }; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/@types/node/console.d.ts: -------------------------------------------------------------------------------- 1 | declare module "console" { 2 | export = console; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@types/node/domain.d.ts: -------------------------------------------------------------------------------- 1 | declare module "domain" { 2 | import * as events from "events"; 3 | 4 | class Domain extends events.EventEmitter implements NodeJS.Domain { 5 | run(fn: (...args: any[]) => T, ...args: any[]): T; 6 | add(emitter: events.EventEmitter | NodeJS.Timer): void; 7 | remove(emitter: events.EventEmitter | NodeJS.Timer): void; 8 | bind(cb: T): T; 9 | intercept(cb: T): T; 10 | members: Array; 11 | enter(): void; 12 | exit(): void; 13 | } 14 | 15 | function create(): Domain; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/@types/node/module.d.ts: -------------------------------------------------------------------------------- 1 | declare module "module" { 2 | export = NodeJS.Module; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@types/node/process.d.ts: -------------------------------------------------------------------------------- 1 | declare module "process" { 2 | export = process; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@types/node/punycode.d.ts: -------------------------------------------------------------------------------- 1 | declare module "punycode" { 2 | function decode(string: string): string; 3 | function encode(string: string): string; 4 | function toUnicode(domain: string): string; 5 | function toASCII(domain: string): string; 6 | const ucs2: ucs2; 7 | interface ucs2 { 8 | decode(string: string): number[]; 9 | encode(codePoints: number[]): string; 10 | } 11 | const version: string; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/@types/node/string_decoder.d.ts: -------------------------------------------------------------------------------- 1 | declare module "string_decoder" { 2 | interface NodeStringDecoder { 3 | write(buffer: Buffer): string; 4 | end(buffer?: Buffer): string; 5 | } 6 | const StringDecoder: { 7 | new(encoding?: string): NodeStringDecoder; 8 | }; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/@types/node/ts3.2/util.d.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line:no-bad-reference 2 | /// 3 | 4 | declare module "util" { 5 | namespace inspect { 6 | const custom: unique symbol; 7 | } 8 | namespace promisify { 9 | const custom: unique symbol; 10 | } 11 | namespace types { 12 | function isBigInt64Array(value: any): value is BigInt64Array; 13 | function isBigUint64Array(value: any): value is BigUint64Array; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/ansi-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function () { 3 | return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g; 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/ascli/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | ascli.png 4 | example.png 5 | .idea/ 6 | -------------------------------------------------------------------------------- /node_modules/ascli/tests/test.js: -------------------------------------------------------------------------------- 1 | var cli = require("../ascli.js")("myapp"); 2 | 3 | cli.banner("staying straight".green.bold, "v1.0.0 through ascli"); 4 | cli.log("Hello world!".white.bold); 5 | cli.log("...of ascli\n"); 6 | cli.log("Command line arguments".white.bold); 7 | cli.log(cli.opt, cli.argv); 8 | cli.banner("abcdefghijklmnopqrstuvwxyz 0123456789"); 9 | cli.ok("yep, that worked."); 10 | cli.fail("nope, that didn't."); 11 | -------------------------------------------------------------------------------- /node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | Makefile 5 | example.js 6 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | .idea/ 4 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.12 4 | - 4.2 5 | sudo: false 6 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bytebuffer", 3 | "version": "5.0.1", 4 | "author": "Daniel Wirtz ", 5 | "description": "A full-featured ByteBuffer implementation using typed arrays.", 6 | "main": "dist/bytebuffer.js", 7 | "keywords": ["net", "array", "buffer", "arraybuffer", "typed array", "bytebuffer", "json", "websocket", "webrtc"], 8 | "dependencies": { 9 | "long": "latest" 10 | }, 11 | "license": "Apache-2.0" 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/bytebuffer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/bytebuffer/bytebuffer.png -------------------------------------------------------------------------------- /node_modules/bytebuffer/dist/bytebuffer-dataview.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/bytebuffer/dist/bytebuffer-dataview.min.js.gz -------------------------------------------------------------------------------- /node_modules/bytebuffer/dist/bytebuffer.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/bytebuffer/dist/bytebuffer.min.js.gz -------------------------------------------------------------------------------- /node_modules/bytebuffer/donate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/bytebuffer/donate.png -------------------------------------------------------------------------------- /node_modules/bytebuffer/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./dist/bytebuffer-node.js"); 2 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/jsdoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "tags": { 3 | "allowUnknownTags": true 4 | }, 5 | "source": { 6 | "include": ["dist/ByteBufferAB.js"] 7 | }, 8 | "opts": { 9 | "template": "templates/esoccer", 10 | "destination": "docs" 11 | }, 12 | "plugins": ["plugins/markdown"] 13 | } -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bytebuffer", 3 | "version": "/*?= VERSION */", 4 | "author": "Daniel Wirtz ", 5 | "description": "A full-featured ByteBuffer implementation using typed arrays.", 6 | "main": "dist/bytebuffer.js", 7 | "keywords": ["net", "array", "buffer", "arraybuffer", "typed array", "bytebuffer", "json", "websocket", "webrtc"], 8 | "dependencies": { 9 | "long": "latest" 10 | }, 11 | "license": "Apache-2.0" 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/encodings/impl/base64.js: -------------------------------------------------------------------------------- 1 | // encodings/impl/base64 2 | 3 | // TODO 4 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/encodings/impl/debug.js: -------------------------------------------------------------------------------- 1 | // encodings/impl/debug 2 | 3 | // TODO 4 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/methods/assert.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Enables or disables assertions of argument types and offsets. Assertions are enabled by default but you can opt to 3 | * disable them if your code already makes sure that everything is valid. 4 | * @param {boolean} assert `true` to enable assertions, otherwise `false` 5 | * @returns {!ByteBuffer} this 6 | * @expose 7 | */ 8 | ByteBufferPrototype.assert = function(assert) { 9 | this.noAssert = !assert; 10 | return this; 11 | }; 12 | 13 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/methods/capacity.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the capacity of this ByteBuffer's backing buffer. 3 | * @returns {number} Capacity of the backing buffer 4 | * @expose 5 | */ 6 | ByteBufferPrototype.capacity = function() { 7 | return /*?= CAPACITY */; 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/methods/clear.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Clears this ByteBuffer's offsets by setting {@link ByteBuffer#offset} to `0` and {@link ByteBuffer#limit} to the 3 | * backing buffer's capacity. Discards {@link ByteBuffer#markedOffset}. 4 | * @returns {!ByteBuffer} this 5 | * @expose 6 | */ 7 | ByteBufferPrototype.clear = function() { 8 | this.offset = 0; 9 | this.limit = /*?= CAPACITY */; 10 | this.markedOffset = -1; 11 | return this; 12 | }; 13 | 14 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/methods/flip.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Makes this ByteBuffer ready for a new sequence of write or relative read operations. Sets `limit = offset` and 3 | * `offset = 0`. Make sure always to flip a ByteBuffer when all relative read or write operations are complete. 4 | * @returns {!ByteBuffer} this 5 | * @expose 6 | */ 7 | ByteBufferPrototype.flip = function() { 8 | this.limit = this.offset; 9 | this.offset = 0; 10 | return this; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/methods/mark.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Marks an offset on this ByteBuffer to be used later. 3 | * @param {number=} offset Offset to mark. Defaults to {@link ByteBuffer#offset}. 4 | * @returns {!ByteBuffer} this 5 | * @throws {TypeError} If `offset` is not a valid number 6 | * @throws {RangeError} If `offset` is out of bounds 7 | * @see ByteBuffer#reset 8 | * @expose 9 | */ 10 | ByteBufferPrototype.mark = function(offset) { 11 | offset = typeof offset === 'undefined' ? this.offset : offset; 12 | if (!this.noAssert) { 13 | //? ASSERT_OFFSET(); 14 | } 15 | this.markedOffset = offset; 16 | return this; 17 | }; 18 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/methods/printDebug.js: -------------------------------------------------------------------------------- 1 | //? if (DEBUG) { 2 | /** 3 | * Prints debug information about this ByteBuffer's contents. 4 | * @param {function(string)=} out Output function to call, defaults to console.log 5 | * @expose 6 | */ 7 | ByteBufferPrototype.printDebug = function(out) { 8 | if (typeof out !== 'function') out = console.log.bind(console); 9 | out( 10 | this.toString()+"\n"+ 11 | "-------------------------------------------------------------------\n"+ 12 | this.toDebug(/* columns */ true) 13 | ); 14 | }; 15 | 16 | //? } 17 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/methods/remaining.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the number of remaining readable bytes. Contents are the bytes between {@link ByteBuffer#offset} and 3 | * {@link ByteBuffer#limit}, so this returns `limit - offset`. 4 | * @returns {number} Remaining readable bytes. May be negative if `offset > limit`. 5 | * @expose 6 | */ 7 | ByteBufferPrototype.remaining = function() { 8 | return this.limit - this.offset; 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/methods/reset.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Resets this ByteBuffer's {@link ByteBuffer#offset}. If an offset has been marked through {@link ByteBuffer#mark} 3 | * before, `offset` will be set to {@link ByteBuffer#markedOffset}, which will then be discarded. If no offset has been 4 | * marked, sets `offset = 0`. 5 | * @returns {!ByteBuffer} this 6 | * @see ByteBuffer#mark 7 | * @expose 8 | */ 9 | ByteBufferPrototype.reset = function() { 10 | if (this.markedOffset >= 0) { 11 | this.offset = this.markedOffset; 12 | this.markedOffset = -1; 13 | } else { 14 | this.offset = 0; 15 | } 16 | return this; 17 | }; 18 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/methods/static/accessor.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the accessor type. 3 | * @returns {Function} `Buffer` under node.js, `Uint8Array` respectively `DataView` in the browser (classes) 4 | * @expose 5 | */ 6 | ByteBuffer.accessor = function() { 7 | //? if (NODE) 8 | return Buffer; 9 | //? else if (DATAVIEW) 10 | return DataView; 11 | //? else 12 | return Uint8Array; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/methods/static/isByteBuffer.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Tests if the specified type is a ByteBuffer. 3 | * @param {*} bb ByteBuffer to test 4 | * @returns {boolean} `true` if it is a ByteBuffer, otherwise `false` 5 | * @expose 6 | */ 7 | ByteBuffer.isByteBuffer = function(bb) { 8 | return (bb && bb["__isByteBuffer__"]) === true; 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/bytebuffer/src/methods/static/type.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the backing buffer type. 3 | * @returns {Function} `Buffer` under node.js, `ArrayBuffer` in the browser (classes) 4 | * @expose 5 | */ 6 | ByteBuffer.type = function() { 7 | //? if (NODE) 8 | return Buffer; 9 | //? else 10 | return ArrayBuffer; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/cliui/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. 4 | 5 | 6 | # [3.2.0](https://github.com/yargs/cliui/compare/v3.1.2...v3.2.0) (2016-04-11) 7 | 8 | 9 | ### Bug Fixes 10 | 11 | * reduces tarball size ([acc6c33](https://github.com/yargs/cliui/commit/acc6c33)) 12 | 13 | ### Features 14 | 15 | * adds standard-version for release management ([ff84e32](https://github.com/yargs/cliui/commit/ff84e32)) 16 | -------------------------------------------------------------------------------- /node_modules/colour/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | .idea/ 4 | -------------------------------------------------------------------------------- /node_modules/colour/colour.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/colour/colour.png -------------------------------------------------------------------------------- /node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /node_modules/concat-map/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (xs, fn) { 2 | var res = []; 3 | for (var i = 0; i < xs.length; i++) { 4 | var x = fn(xs[i], i); 5 | if (isArray(x)) res.push.apply(res, x); 6 | else res.push(x); 7 | } 8 | return res; 9 | }; 10 | 11 | var isArray = Array.isArray || function (xs) { 12 | return Object.prototype.toString.call(xs) === '[object Array]'; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/decamelize/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (str, sep) { 3 | if (typeof str !== 'string') { 4 | throw new TypeError('Expected a string'); 5 | } 6 | 7 | sep = typeof sep === 'undefined' ? '_' : sep; 8 | 9 | return str 10 | .replace(/([a-z\d])([A-Z])/g, '$1' + sep + '$2') 11 | .replace(/([A-Z]+)([A-Z][a-z\d]+)/g, '$1' + sep + '$2') 12 | .toLowerCase(); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | /* istanbul ignore next */ 4 | if (typeof util.inherits !== 'function') throw ''; 5 | module.exports = util.inherits; 6 | } catch (e) { 7 | /* istanbul ignore next */ 8 | module.exports = require('./inherits_browser.js'); 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/invert-kv/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (obj) { 3 | if (typeof obj !== 'object') { 4 | throw new TypeError('Expected an object'); 5 | } 6 | 7 | var ret = {}; 8 | 9 | for (var key in obj) { 10 | var val = obj[key]; 11 | ret[val] = key; 12 | } 13 | 14 | return ret; 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/invert-kv/readme.md: -------------------------------------------------------------------------------- 1 | # invert-kv [](https://travis-ci.org/sindresorhus/invert-kv) 2 | 3 | > Invert the key/value of an object. Example: `{foo: 'bar'}` → `{bar: 'foo'}` 4 | 5 | 6 | ## Install 7 | 8 | ```sh 9 | $ npm install --save invert-kv 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var invertKv = require('invert-kv'); 17 | 18 | invertKv({foo: 'bar', unicorn: 'rainbow'}); 19 | //=> {bar: 'foo', rainbow: 'unicorn'} 20 | ``` 21 | 22 | 23 | ## License 24 | 25 | MIT © [Sindre Sorhus](http://sindresorhus.com) 26 | -------------------------------------------------------------------------------- /node_modules/lcid/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var invertKv = require('invert-kv'); 3 | var all = require('./lcid.json'); 4 | var inverted = invertKv(all); 5 | 6 | exports.from = function (lcidCode) { 7 | if (typeof lcidCode !== 'number') { 8 | throw new TypeError('Expected a number'); 9 | } 10 | 11 | return inverted[lcidCode]; 12 | }; 13 | 14 | exports.to = function (localeId) { 15 | if (typeof localeId !== 'string') { 16 | throw new TypeError('Expected a string'); 17 | } 18 | 19 | return all[localeId]; 20 | }; 21 | 22 | exports.all = all; 23 | -------------------------------------------------------------------------------- /node_modules/long/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | .idea/ 4 | -------------------------------------------------------------------------------- /node_modules/long/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.12 4 | - 4.2 5 | sudo: false 6 | -------------------------------------------------------------------------------- /node_modules/long/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "long", 3 | "version": "3.2.0", 4 | "author": "Daniel Wirtz ", 5 | "description": "A Long class for representing a 64 bit two's-complement integer value.", 6 | "main": "dist/long.js", 7 | "keywords": ["math"], 8 | "license": "Apache-2.0" 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/long/dist/long.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/long/dist/long.min.js.gz -------------------------------------------------------------------------------- /node_modules/long/doco/INDEX.md: -------------------------------------------------------------------------------- 1 | ### Class [Long](Long.md) 2 | 3 | A Long class for representing a 64 bit two's-complement integer value. 4 | 5 | --- 6 | *Generated with [doco](https://github.com/dcodeIO/doco) v0.3.0* 7 | -------------------------------------------------------------------------------- /node_modules/long/donate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/long/donate.png -------------------------------------------------------------------------------- /node_modules/long/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./dist/long.js"); 2 | -------------------------------------------------------------------------------- /node_modules/long/jsdoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "tags": { 3 | "allowUnknownTags": true 4 | }, 5 | "source": { 6 | "include": ["dist/long.js"] 7 | }, 8 | "opts": { 9 | "template": "templates/esoccer", 10 | "destination": "docs" 11 | }, 12 | "plugins": [] 13 | } -------------------------------------------------------------------------------- /node_modules/long/long.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/long/long.png -------------------------------------------------------------------------------- /node_modules/long/src/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "long", 3 | "version": "/*?= VERSION */", 4 | "author": "Daniel Wirtz ", 5 | "description": "A Long class for representing a 64 bit two's-complement integer value.", 6 | "main": "dist/long.js", 7 | "keywords": ["math"], 8 | "license": "Apache-2.0" 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/number-is-nan/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = Number.isNaN || function (x) { 3 | return x !== x; 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/optjs/.npmignore: -------------------------------------------------------------------------------- 1 | opt.png 2 | -------------------------------------------------------------------------------- /node_modules/optjs/opt.js: -------------------------------------------------------------------------------- 1 | module.exports = (function() { 2 | function opt(argv) { 3 | var opt={},arg,p;argv=Array.prototype.slice.call(argv||process.argv);for(var i=2;i0?opt[arg.substring(0,p)]=arg.substring(p+1):opt[arg]=true); 5 | return {'node':argv[0],'script':argv[1],'argv':argv.slice(2),'opt':opt}; 6 | } 7 | return opt.opt = opt; 8 | })(); 9 | -------------------------------------------------------------------------------- /node_modules/optjs/test.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log(require("./opt.js")()); 3 | -------------------------------------------------------------------------------- /node_modules/protobufjs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.12 4 | - 4 5 | - 6 6 | sudo: false 7 | -------------------------------------------------------------------------------- /node_modules/protobufjs/bin/pbjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | process.exit(require(__dirname+"/../cli/pbjs.js").main(process.argv)); 3 | -------------------------------------------------------------------------------- /node_modules/protobufjs/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "protobuf", 3 | "description": "Protocol Buffers for JavaScript. Finally.", 4 | "version": "5.0.3", 5 | "main": "dist/protobuf.js", 6 | "license": "Apache-2.0", 7 | "homepage": "http://dcode.io/", 8 | "dependencies": { 9 | "bytebuffer": "~5" 10 | }, 11 | "keywords": ["net", "buffer", "protobuf", "serialization", "bytebuffer", "websocket", "webrtc"], 12 | "ignore": [ 13 | "**/.*", 14 | "node_modules", 15 | "bower_components", 16 | "test", 17 | "tests" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/protobufjs/dist/protobuf-light.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/dist/protobuf-light.min.js.gz -------------------------------------------------------------------------------- /node_modules/protobufjs/dist/protobuf.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/dist/protobuf.min.js.gz -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-Bold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-Bold-webfont.eot -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-Bold-webfont.woff -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-BoldItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-BoldItalic-webfont.eot -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-BoldItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-BoldItalic-webfont.woff -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-Italic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-Italic-webfont.eot -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-Italic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-Italic-webfont.woff -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-Light-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-Light-webfont.eot -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-Light-webfont.woff -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-LightItalic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-LightItalic-webfont.eot -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-LightItalic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-LightItalic-webfont.woff -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-Regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-Regular-webfont.eot -------------------------------------------------------------------------------- /node_modules/protobufjs/docs/fonts/OpenSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/docs/fonts/OpenSans-Regular-webfont.woff -------------------------------------------------------------------------------- /node_modules/protobufjs/donate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/donate.png -------------------------------------------------------------------------------- /node_modules/protobufjs/examples/protoify/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "protobufjs-protoify-example", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "dependencies": { 6 | "protobufjs": "~3.7" 7 | }, 8 | "engines": { 9 | "node": ">=0.8" 10 | }, 11 | "scripts": { 12 | "test": "node test.js" 13 | }, 14 | "private": true 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/protobufjs/examples/websocket/README.md: -------------------------------------------------------------------------------- 1 | ProtoBuf.js WebSocket example 2 | ============================= 3 | This example shows how to use binary websockets to transfer protocol buffers. 4 | 5 | Instructions 6 | ------------ 7 | 1. Set up dependencies: `npm install` 8 | 2. Run: `node server.js` 9 | 3. Open [http://localhost:8080/](http://localhost:8080/) in a recent browser 10 | -------------------------------------------------------------------------------- /node_modules/protobufjs/examples/websocket/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "protobufjs-websocket-example", 3 | "version": "1.1.0", 4 | "dependencies": { 5 | "protobufjs": "~3", 6 | "ws": "~0.4", 7 | "open": "0.0.3" 8 | }, 9 | "engines": { 10 | "node": ">=0.8" 11 | }, 12 | "scripts": { 13 | "run": "node server.js" 14 | }, 15 | "private": true 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/protobufjs/examples/websocket/www/example.proto: -------------------------------------------------------------------------------- 1 | message Message { 2 | required string text = 1; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/protobufjs/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./dist/protobuf.js"); 2 | -------------------------------------------------------------------------------- /node_modules/protobufjs/jsdoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "tags": { 3 | "allowUnknownTags": true 4 | }, 5 | "source": { 6 | "include": ["dist/protobuf.js"] 7 | }, 8 | "opts": { 9 | "destination": "docs" 10 | }, 11 | "plugins": ["plugins/markdown"] 12 | } -------------------------------------------------------------------------------- /node_modules/protobufjs/protobuf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/node_modules/protobufjs/protobuf.png -------------------------------------------------------------------------------- /node_modules/protobufjs/src/ProtoBuf/Builder/Enum.js: -------------------------------------------------------------------------------- 1 | // This file is not included currently and exists for documentation purposes only. 2 | 3 | /*? 4 | // --- Scope ------------------ 5 | // T : Reflect.Enum instance 6 | */ 7 | 8 | /** 9 | * Constructs a new runtime Enum. 10 | * @name ProtoBuf.Builder.Enum 11 | * @class Barebone of all runtime enums. 12 | * @constructor 13 | */ 14 | var Enum = function() { 15 | ProtoBuf.Builder.Enum.call(this); 16 | }; 17 | 18 | /** 19 | * @alias ProtoBuf.Builder.Enum.prototype 20 | * @inner 21 | */ 22 | var EnumPrototype = Enum.prototype = Object.create(ProtoBuf.Builder.Enum.prototype); 23 | -------------------------------------------------------------------------------- /node_modules/protobufjs/src/ProtoBuf/Reflect/Message/OneOf.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Constructs a new Message OneOf. 3 | * @exports ProtoBuf.Reflect.Message.OneOf 4 | * @param {!ProtoBuf.Builder} builder Builder reference 5 | * @param {!ProtoBuf.Reflect.Message} message Message reference 6 | * @param {string} name OneOf name 7 | * @constructor 8 | * @extends ProtoBuf.Reflect.T 9 | */ 10 | var OneOf = function(builder, message, name) { 11 | T.call(this, builder, message, name); 12 | 13 | /** 14 | * Enclosed fields. 15 | * @type {!Array.} 16 | * @expose 17 | */ 18 | this.fields = []; 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/protobufjs/src/bower.json.in: -------------------------------------------------------------------------------- 1 | { 2 | "name": "protobuf", 3 | "description": "Protocol Buffers for JavaScript. Finally.", 4 | "version": /*?== VERSION */, 5 | "main": "dist/protobuf.js", 6 | "license": "Apache-2.0", 7 | "homepage": "http://dcode.io/", 8 | "dependencies": { 9 | "bytebuffer": "~5" 10 | }, 11 | "keywords": ["net", "buffer", "protobuf", "serialization", "bytebuffer", "websocket", "webrtc"], 12 | "ignore": [ 13 | "**/.*", 14 | "node_modules", 15 | "bower_components", 16 | "test", 17 | "tests" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/PingExample.proto: -------------------------------------------------------------------------------- 1 | message Message { 2 | optional Ping ping = 1; 3 | optional Pong pong = 2; 4 | 5 | message Ping { 6 | required uint32 time = 1; 7 | } 8 | 9 | message Pong { 10 | required uint32 time = 1; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/T139.proto: -------------------------------------------------------------------------------- 1 | message T139 { 2 | required int32 a = 1; 3 | required uint32 b = 2; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/T263.proto: -------------------------------------------------------------------------------- 1 | package services; 2 | 3 | message resume { 4 | message Resume { 5 | repeated string experience = 1; 6 | } 7 | } 8 | 9 | message profile { 10 | message Profile { 11 | optional services.resume.Resume resume = 1; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/camelcase.proto: -------------------------------------------------------------------------------- 1 | message Test { 2 | 3 | // Case 1: Revert 1st 4 | required int32 some_field = 1; // -> someField, reverted 5 | required int32 someField = 2; // kept 6 | 7 | // Case 2: Revert 2nd 8 | required int32 aField = 3; // kept 9 | required int32 a_field = 4; // -> aField, reverted 10 | 11 | // No revert 12 | required int32 its_a_field = 5; // -> itsAField 13 | 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/comments.proto: -------------------------------------------------------------------------------- 1 | // single line comment 2 | 3 | /** 4 | * Naranjas. 5 | */ 6 | message TestC { // one more 7 | required /***** uncommon block ****/int32 a = 1; // another more 8 | } 9 | 10 | // the end. -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/dupimport/common.proto: -------------------------------------------------------------------------------- 1 | package main; 2 | 3 | message Common { 4 | optional string commonField = 1; 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/dupimport/dep1.proto: -------------------------------------------------------------------------------- 1 | package main; 2 | 3 | import "common.proto"; 4 | 5 | message Dep1 { 6 | optional main.Common test1 = 1; 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/dupimport/dep2.proto: -------------------------------------------------------------------------------- 1 | package main; 2 | 3 | import "dep1.proto"; 4 | 5 | message Dep2 { 6 | optional main.Dep1 test1 = 1; 7 | optional main.Common test2 = 2; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/dupimport/main.proto: -------------------------------------------------------------------------------- 1 | package main; 2 | 3 | import "dep1.proto"; 4 | import "dep2.proto"; 5 | import "common.proto"; 6 | 7 | message MainMessage { 8 | optional main.Dep1 test1 = 1; 9 | optional main.Dep2 test2 = 2; 10 | optional main.Common test3 = 3; 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/example1.proto: -------------------------------------------------------------------------------- 1 | message Test1 { 2 | required int32 a = 1; 3 | } 4 | 5 | // Test1 should encode to "08 96 01" with Test1#a=150 6 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/example1u.proto: -------------------------------------------------------------------------------- 1 | message Test1u { 2 | required uint32 a = 1; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/example2.proto: -------------------------------------------------------------------------------- 1 | message Test2 { 2 | required string b = 2; 3 | } 4 | 5 | // Test2 should encode to "12 07 74 65 73 74 69 6e 67" with Test2#b="testing" 6 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/example3.proto: -------------------------------------------------------------------------------- 1 | message Test1 { 2 | required int32 a = 1; 3 | } 4 | 5 | message Test3 { 6 | required Test1 c = 3; 7 | } 8 | 9 | // Test3 should encode to "1a 03 08 96 01" with Test1#a=150 10 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/example4.proto: -------------------------------------------------------------------------------- 1 | message Test4 { 2 | repeated int32 d = 4 [packed=true]; 3 | } 4 | 5 | // Test4 should encode to "<22 06 03 8E 02 9E A7 05>" with d=[3, 270, 86942] 6 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/example5.proto: -------------------------------------------------------------------------------- 1 | package Datastore; 2 | 3 | message LookupRequest { 4 | repeated string key = 1; 5 | } 6 | 7 | message LookupResponse { 8 | repeated string results = 1; 9 | } 10 | 11 | message RunQueryRequest { 12 | required string query = 1; 13 | } 14 | 15 | message RunQueryResponse { 16 | repeated string results = 1; 17 | } 18 | 19 | service LookupService { 20 | // Look up some entities by key. 21 | rpc Lookup(LookupRequest) returns (LookupResponse) { 22 | } 23 | } 24 | 25 | service RunQueryService { 26 | // Query for entities. 27 | rpc RunQuery(RunQueryRequest) returns (RunQueryResponse) { 28 | }; 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/extend.proto: -------------------------------------------------------------------------------- 1 | import "google/protobuf/descriptor.proto"; // Ignored 2 | // import "./google/protobuf/descriptor.proto"; // Not ignored 3 | 4 | extend google.protobuf.MessageOptions { 5 | optional int32 foo = 1001; 6 | } 7 | 8 | message Foo { 9 | extensions 2 to max; 10 | } 11 | 12 | extend Foo { 13 | optional string bar = 2; 14 | } 15 | 16 | message Bar { 17 | message Foo { 18 | } 19 | 20 | extend .Foo { 21 | optional Foo foo = 3; // references Bar.Foo 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/field_name_same_as_package/main.proto: -------------------------------------------------------------------------------- 1 | package main; 2 | 3 | import "sub.proto"; 4 | 5 | message MainMessage { 6 | optional main.sub.Sub sub = 1; 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/field_name_same_as_package/sub.proto: -------------------------------------------------------------------------------- 1 | package main.sub; 2 | 3 | message Sub { 4 | optional string test1 = 1; 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/groups.proto: -------------------------------------------------------------------------------- 1 | message Outer { 2 | required string before = 1; 3 | repeated group MyInner = 2 [deprecated=true] { 4 | required string a = 3; 5 | } 6 | required string after = 4; 7 | optional MyInner myInner2 = 5; 8 | } 9 | 10 | message OuterSparse { 11 | required string before = 1; 12 | required string after = 4; 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/importRoot/file1.proto: -------------------------------------------------------------------------------- 1 | import "importRoot/file2.proto"; 2 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/importRoot/file2.proto: -------------------------------------------------------------------------------- 1 | import "importRoot/file3.proto"; 2 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/importRoot/file3.proto: -------------------------------------------------------------------------------- 1 | message Test {} 2 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/import_a.proto: -------------------------------------------------------------------------------- 1 | import "import_common.proto"; 2 | 3 | message A { 4 | optional Common common = 1; 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/import_a_single_quote.proto: -------------------------------------------------------------------------------- 1 | import 'import_common.proto'; 2 | 3 | message A { 4 | optional Common common = 1; 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/import_b.proto: -------------------------------------------------------------------------------- 1 | import "import_common.proto"; 2 | 3 | message B { 4 | optional Common common = 1; 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/import_common.proto: -------------------------------------------------------------------------------- 1 | message Common { 2 | } 3 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/imports-toplevel.proto: -------------------------------------------------------------------------------- 1 | import "toplevel.proto"; 2 | 3 | package My; 4 | 5 | enum MyEnum1 { 6 | ONE = 1; 7 | TWO = 2; 8 | } 9 | 10 | message Test1 { 11 | required MyEnum num = 1 [default=ONE]; 12 | required MyEnum1 num1 = 2 [default=ONE]; 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/imports-weak.proto: -------------------------------------------------------------------------------- 1 | package My; 2 | 3 | import weak "example1.proto"; 4 | 5 | message Test2 { 6 | required Test1 test1 = 1; 7 | } -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/imports.proto: -------------------------------------------------------------------------------- 1 | package My; 2 | 3 | import public "example1.proto"; 4 | import "example2.proto"; 5 | 6 | message Test3 { 7 | required Test1 test1 = 1; 8 | required .Test2 test2 = 2; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/inner.proto: -------------------------------------------------------------------------------- 1 | message Foo { 2 | required Bar bar = 1; 3 | required Baz baz = 2; 4 | } 5 | message Bar { 6 | required string blah = 1; 7 | } 8 | message Baz { 9 | required string blah = 1; 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/negid.proto: -------------------------------------------------------------------------------- 1 | message Test { 2 | required LobbyType type = 1 [default=INVALID]; 3 | 4 | enum LobbyType { 5 | INVALID = -1; 6 | MATCH = 0; 7 | PRACTICE = 1; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/numberformats.proto: -------------------------------------------------------------------------------- 1 | enum Formats { 2 | DEC = 1; 3 | HEX = 0x1F; 4 | OCT = 017; 5 | } 6 | 7 | message Msg { 8 | required int32 dec = 1 [default=-1]; 9 | required int32 hex = 2 [default=-0x1F]; 10 | required int32 oct = 3 [default=-017]; 11 | required double exp = 4 [default=0.1e5]; 12 | required double nod = 5 [default=1.]; 13 | required double exn = 6 [default=1e8]; 14 | required double sp1 = 7 [default=inf]; 15 | required double sp2 = 8 [default=-inf]; 16 | required double sp3 = 9 [default=nan]; 17 | required int32 hexUC = 10 [default=0X209]; 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/oneof.proto: -------------------------------------------------------------------------------- 1 | message MyOneOf { 2 | oneof my_oneof { 3 | uint32 id = 1; 4 | string name = 2; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/optional.proto: -------------------------------------------------------------------------------- 1 | message Test1 { 2 | optional int32 a = 1; 3 | optional Test2 b = 2; 4 | } 5 | 6 | message Test2 { 7 | optional int32 c = 1; 8 | optional Test3 d = 2; 9 | } 10 | 11 | message Test3 { 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/options.proto: -------------------------------------------------------------------------------- 1 | option (toplevel_1) = 10; 2 | package My; 3 | option (toplevel_2) = "Hello world!"; 4 | 5 | message Test { 6 | optional string name = 1 [default="Max"]; 7 | optional string desc1 = 2 [default="Shouldn't mix quotes"]; 8 | optional string desc2 = 3 [default='Shouldn"t mix quotes']; 9 | optional string desc3 = 4 [(foo_options) = { opt1: 123 opt2: "baz" }]; 10 | optional string desc4 = 5 [(foo_options) = {options { opt1: 1234 opt2: "baz" } options { opt1: 4321 opt2: "foo" }} ]; 11 | option (inmessage) = My.Test; 12 | option (foo.my_option).bar = false; 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/packed.proto: -------------------------------------------------------------------------------- 1 | message Message { 2 | repeated int32 a = 1 [packed = true]; 3 | repeated int32 b = 2; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/proto2js/Bar.proto: -------------------------------------------------------------------------------- 1 | // Bar.proto 2 | import "Foo.proto"; 3 | 4 | // really extend Bar but that produces an empty constructor. 5 | extend Foo { 6 | required string buzz = 2; 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/proto2js/Foo.proto: -------------------------------------------------------------------------------- 1 | // Foo.proto 2 | message Foo { 3 | required string fizz = 1; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/proto3.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package test; 4 | 5 | message Foo { 6 | int32 optional_int32 = 1; 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/protobufnet.proto: -------------------------------------------------------------------------------- 1 | message IMeshImp { 2 | } 3 | message Mesh { 4 | optional IMeshImp _meshImp = 1; 5 | repeated float3 _vertices = 2; 6 | repeated uint32 _colors = 3; 7 | repeated float3 _normals = 4; 8 | repeated float2 _uvs = 5; 9 | repeated int32 _triangles = 6; 10 | } 11 | message float2 { 12 | optional float x = 1 [default = 0]; 13 | optional float y = 2 [default = 0]; 14 | } 15 | message float3 { 16 | optional float x = 1 [default = 0]; 17 | optional float y = 2 [default = 0]; 18 | optional float z = 3 [default = 0]; 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/repeated.proto: -------------------------------------------------------------------------------- 1 | message Outer { 2 | // As of: https://developers.google.com/protocol-buffers/docs/encoding#optional 3 | 4 | repeated Inner inner = 1; 5 | // "If your message definition has repeated elements (without the [packed=true] option), the encoded message has 6 | // zero or more key-value pairs with the same tag number." 7 | 8 | } 9 | 10 | message Inner { 11 | optional uint32 inner_value = 1; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/setarray.proto: -------------------------------------------------------------------------------- 1 | message Outer { 2 | repeated Inner inners = 4; 3 | } 4 | 5 | message Inner { 6 | required string str = 1; 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/string_single_quote.proto: -------------------------------------------------------------------------------- 1 | message TestSingleQuoteString { 2 | required string a = 1 [ default = 'hello world' ]; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/toplevel.proto: -------------------------------------------------------------------------------- 1 | package My; 2 | 3 | enum MyEnum { 4 | ONE = 1; 5 | TWO = 2; 6 | } 7 | 8 | message Test { 9 | required MyEnum num = 1 [default=ONE]; 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/protobufjs/tests/x64.proto: -------------------------------------------------------------------------------- 1 | message Test { 2 | required sfixed64 val = 1 [default=-1]; 3 | required fixed64 uval = 2 [default=1]; 4 | } 5 | 6 | message Test2 { 7 | required int64 val = 1 [default=-1]; 8 | required uint64 uval = 2 [default=1]; 9 | required sint64 sval = 3 [default=-2]; 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/strip-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var ansiRegex = require('ansi-regex')(); 3 | 4 | module.exports = function (str) { 5 | return typeof str === 'string' ? str.replace(ansiRegex, '') : str; 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/window-size/cli.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | var helpText = ['Usage', 4 | ' $ window-size', 5 | '', 6 | 'Example', 7 | ' $ window-size', 8 | ' height: 40 ', 9 | ' width : 145', 10 | ''].join('\n'); 11 | 12 | function showSize () { 13 | var size = require('./'); 14 | console.log('height: ' + size.height); 15 | console.log('width : ' + size.width); 16 | } 17 | 18 | if (process.argv.length > 2) { 19 | switch (process.argv[2]) { 20 | case 'help': 21 | case '--help': 22 | case '-h': 23 | console.log(helpText); 24 | break; 25 | default: 26 | showSize(); 27 | } 28 | } else { 29 | showSize(); 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/yargs/locales/pirate.json: -------------------------------------------------------------------------------- 1 | { 2 | "Commands:": "Choose yer command:", 3 | "Options:": "Options for me hearties!", 4 | "Examples:": "Ex. marks the spot:", 5 | "required": "requi-yar-ed", 6 | "Missing required argument: %s": { 7 | "one": "Ye be havin' to set the followin' argument land lubber: %s", 8 | "other": "Ye be havin' to set the followin' arguments land lubber: %s" 9 | }, 10 | "Show help": "Parlay this here code of conduct", 11 | "Show version number": "'Tis the version ye be askin' fer" 12 | } 13 | -------------------------------------------------------------------------------- /packages/excel-killer/core/excel.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/adler32: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../adler-32/bin/adler32.njs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../adler-32/bin/adler32.njs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/adler32.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\adler-32\bin\adler32.njs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\adler-32\bin\adler32.njs" %* 7 | ) -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/atob: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../atob/bin/atob.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../atob/bin/atob.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/atob.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\atob\bin\atob.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\atob\bin\atob.js" %* 7 | ) -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/cfb: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../cfb/bin/cfb.njs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../cfb/bin/cfb.njs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/cfb.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\cfb\bin\cfb.njs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\cfb\bin\cfb.njs" %* 7 | ) -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/codepage: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../codepage/bin/codepage.njs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../codepage/bin/codepage.njs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/codepage.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\codepage\bin\codepage.njs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\codepage\bin\codepage.njs" %* 7 | ) -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/crc32: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../crc-32/bin/crc32.njs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../crc-32/bin/crc32.njs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/crc32.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\crc-32\bin\crc32.njs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\crc-32\bin\crc32.njs" %* 7 | ) -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/printj: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../printj/bin/printj.njs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../printj/bin/printj.njs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/printj.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\printj\bin\printj.njs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\printj\bin\printj.njs" %* 7 | ) -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/ssf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../ssf/bin/ssf.njs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../ssf/bin/ssf.njs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/ssf.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\ssf\bin\ssf.njs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\ssf\bin\ssf.njs" %* 7 | ) -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/uglifyjs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../uglify-js/bin/uglifyjs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../uglify-js/bin/uglifyjs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/uglifyjs.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\uglify-js\bin\uglifyjs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\uglify-js\bin\uglifyjs" %* 7 | ) -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/xlsx: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../xlsx/bin/xlsx.njs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../xlsx/bin/xlsx.njs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/.bin/xlsx.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\xlsx\bin\xlsx.njs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\xlsx\bin\xlsx.njs" %* 7 | ) -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/adler-32/types/index.d.ts: -------------------------------------------------------------------------------- 1 | /* adler32.js (C) 2014-present SheetJS -- http://sheetjs.com */ 2 | // TypeScript Version: 2.2 3 | 4 | /** Version string */ 5 | export const version: string; 6 | 7 | /** Process a node buffer or byte array */ 8 | export function buf(data: number[] | Uint8Array, seed?: number): number; 9 | 10 | /** Process a binary string */ 11 | export function bstr(data: string, seed?: number): number; 12 | 13 | /** Process a JS string based on the UTF8 encoding */ 14 | export function str(data: string, seed?: number): number; 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/adler-32/types/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "lib": [ "es5" ], 5 | "noImplicitAny": true, 6 | "noImplicitThis": true, 7 | "strictNullChecks": false, 8 | "baseUrl": ".", 9 | "paths": { "adler-32": ["."] }, 10 | "types": [], 11 | "noEmit": true, 12 | "forceConsistentCasingInFileNames": true 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/adler-32/types/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "dtslint/dtslint.json", 3 | "rules": { 4 | "whitespace": false, 5 | "no-sparse-arrays": false, 6 | "only-arrow-functions": false, 7 | "no-consecutive-blank-lines": false, 8 | "prefer-conditional-expression": false, 9 | "one-variable-per-declaration": false 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/arr-flatten/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * arr-flatten 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function (arr) { 11 | return flat(arr, []); 12 | }; 13 | 14 | function flat(arr, res) { 15 | var i = 0, cur; 16 | var len = arr.length; 17 | for (; i < len; i++) { 18 | cur = arr[i]; 19 | Array.isArray(cur) ? flat(cur, res) : res.push(cur); 20 | } 21 | return res; 22 | } 23 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/async-each/.npmignore: -------------------------------------------------------------------------------- 1 | bower.json 2 | component.json 3 | CHANGELOG.md 4 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/atob/bin/atob.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var atob = require('../node-atob'); 5 | var str = process.argv[2]; 6 | console.log(atob(str)); 7 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/atob/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "atob", 3 | "description": "atob for isomorphic environments", 4 | "main": "browser-atob.js", 5 | "authors": [ 6 | "AJ ONeal (https://coolaj86.com)" 7 | ], 8 | "license": "(MIT OR Apache-2.0)", 9 | "keywords": [ 10 | "atob", 11 | "browser" 12 | ], 13 | "homepage": "https://github.com/node-browser-compat/atob", 14 | "moduleType": [ 15 | "globals" 16 | ], 17 | "ignore": [ 18 | "**/.*", 19 | "node_modules", 20 | "bower_components", 21 | "test", 22 | "tests" 23 | ], 24 | "version": "2.0.3" 25 | } 26 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/atob/node-atob.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | function atob(str) { 4 | return new Buffer(str, 'base64').toString('binary'); 5 | } 6 | 7 | module.exports = atob.atob = atob; 8 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/atob/test.js: -------------------------------------------------------------------------------- 1 | /*jshint strict:true node:true es5:true onevar:true laxcomma:true laxbreak:true eqeqeq:true immed:true latedef:true*/ 2 | (function () { 3 | "use strict"; 4 | 5 | var atob = require('.') 6 | , encoded = "SGVsbG8gV29ybGQ=" 7 | , unencoded = "Hello World" 8 | /* 9 | , encoded = "SGVsbG8sIBZM" 10 | , unencoded = "Hello, 世界" 11 | */ 12 | ; 13 | 14 | if (unencoded !== atob(encoded)) { 15 | console.log('[FAIL]', unencoded, atob(encoded)); 16 | return; 17 | } 18 | 19 | console.log('[PASS] all tests pass'); 20 | }()); 21 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | Makefile 5 | example.js 6 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/cfb/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # CHANGELOG 2 | 3 | This log is intended to keep track of backwards-incompatible changes, including 4 | but not limited to API changes and file location changes. Minor behavioral 5 | changes may not be included if they are not expected to break existing code. 6 | 7 | ## 1.0.0 (2017-11-05) 8 | 9 | * Actually walk mini-fat 10 | 11 | ## 0.14.0 (2017-11-04) 12 | 13 | * Completely removed `FullPathDir` 14 | 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/cfb/types/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "lib": [ "es5" ], 5 | "noImplicitAny": true, 6 | "noImplicitThis": true, 7 | "strictNullChecks": false, 8 | "baseUrl": ".", 9 | "paths": { "cfb": ["."] }, 10 | "types": [], 11 | "noEmit": true, 12 | "forceConsistentCasingInFileNames": true 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/class-utils/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/codepage/types/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "lib": [ "es5" ], 5 | "noImplicitAny": true, 6 | "noImplicitThis": true, 7 | "strictNullChecks": false, 8 | "baseUrl": ".", 9 | "paths": { "codepage": ["."] }, 10 | "types": [], 11 | "noEmit": true, 12 | "forceConsistentCasingInFileNames": true 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/codepage/types/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "dtslint/dtslint.json", 3 | "rules": { 4 | "whitespace": false, 5 | "no-sparse-arrays": false, 6 | "only-arrow-functions": false, 7 | "no-consecutive-blank-lines": false, 8 | "prefer-conditional-expression": false, 9 | "one-variable-per-declaration": false 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/concat-map/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (xs, fn) { 2 | var res = []; 3 | for (var i = 0; i < xs.length; i++) { 4 | var x = fn(xs[i], i); 5 | if (isArray(x)) res.push.apply(res, x); 6 | else res.push(x); 7 | } 8 | return res; 9 | }; 10 | 11 | var isArray = Array.isArray || function (xs) { 12 | return Object.prototype.toString.call(xs) === '[object Array]'; 13 | }; 14 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/crc-32/types/index.d.ts: -------------------------------------------------------------------------------- 1 | /* crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */ 2 | // TypeScript Version: 2.2 3 | 4 | /** Version string */ 5 | export const version: string; 6 | 7 | /** Process a node buffer or byte array */ 8 | export function buf(data: number[] | Uint8Array, seed?: number): number; 9 | 10 | /** Process a binary string */ 11 | export function bstr(data: string, seed?: number): number; 12 | 13 | /** Process a JS string based on the UTF8 encoding */ 14 | export function str(data: string, seed?: number): number; 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/crc-32/types/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "lib": [ "es5" ], 5 | "noImplicitAny": true, 6 | "noImplicitThis": true, 7 | "strictNullChecks": false, 8 | "baseUrl": ".", 9 | "paths": { "crc-32": ["."] }, 10 | "types": [], 11 | "noEmit": true, 12 | "forceConsistentCasingInFileNames": true 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/crc-32/types/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "dtslint/dtslint.json", 3 | "rules": { 4 | "whitespace": false, 5 | "no-sparse-arrays": false, 6 | "only-arrow-functions": false, 7 | "no-consecutive-blank-lines": false, 8 | "prefer-conditional-expression": false, 9 | "one-variable-per-declaration": false 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.6.9", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "src/browser.js", 12 | "scripts": [ 13 | "src/browser.js", 14 | "src/debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/debug/src/inspector-log.js: -------------------------------------------------------------------------------- 1 | module.exports = inspectorLog; 2 | 3 | // black hole 4 | const nullStream = new (require('stream').Writable)(); 5 | nullStream._write = () => {}; 6 | 7 | /** 8 | * Outputs a `console.log()` to the Node.js Inspector console *only*. 9 | */ 10 | function inspectorLog() { 11 | const stdout = console._stdout; 12 | console._stdout = nullStream; 13 | console.log.apply(console, arguments); 14 | console._stdout = stdout; 15 | } 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/expand-brackets/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/extend-shallow/node_modules/is-extendable/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isExtendable; 2 | 3 | declare function isExtendable(val: any): boolean; 4 | 5 | declare namespace isExtendable {} 6 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/extend-shallow/node_modules/is-extendable/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extendable 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isPlainObject = require('is-plain-object'); 11 | 12 | module.exports = function isExtendable(val) { 13 | return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); 14 | }; 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/for-in/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * for-in 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function forIn(obj, fn, thisArg) { 11 | for (var key in obj) { 12 | if (fn.call(thisArg, obj[key], key, obj) === false) { 13 | break; 14 | } 15 | } 16 | }; 17 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/frac/types/index.d.ts: -------------------------------------------------------------------------------- 1 | /* frac.js (C) 2012-present SheetJS -- http://sheetjs.com */ 2 | // TypeScript Version: 2.2 3 | 4 | export interface Frac$Module { 5 | (x: number, D: number, mixed?: boolean): [number, number, number]; 6 | cont(x: number, D: number, mixed?: boolean): [number, number, number]; 7 | } 8 | export const frac: Frac$Module; 9 | export default frac; 10 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/frac/types/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "lib": [ "es5" ], 5 | "noImplicitAny": true, 6 | "noImplicitThis": true, 7 | "strictNullChecks": false, 8 | "baseUrl": ".", 9 | "paths": { "frac": ["."] }, 10 | "types": [], 11 | "noEmit": true, 12 | "forceConsistentCasingInFileNames": true 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/frac/types/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "dtslint/dtslint.json", 3 | "rules": { 4 | "whitespace": false, 5 | "no-sparse-arrays": false, 6 | "only-arrow-functions": false, 7 | "no-consecutive-blank-lines": false, 8 | "prefer-conditional-expression": false, 9 | "one-variable-per-declaration": false 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/docs/emptyDir-sync.md: -------------------------------------------------------------------------------- 1 | # emptyDirSync(dir) 2 | 3 | Ensures that a directory is empty. Deletes directory contents if the directory is not empty. If the directory does not exist, it is created. The directory itself is not deleted. 4 | 5 | **Alias:** `emptydirSync()` 6 | 7 | - `dir` `` 8 | 9 | ## Example: 10 | 11 | ```js 12 | const fs = require('fs-extra') 13 | 14 | // assume this directory has a lot of files and folders 15 | fs.emptyDirSync('/tmp/some/dir') 16 | ``` 17 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/docs/ensureDir-sync.md: -------------------------------------------------------------------------------- 1 | # ensureDirSync(dir) 2 | 3 | Ensures that the directory exists. If the directory structure does not exist, it is created. Like `mkdir -p`. 4 | 5 | **Aliases:** `mkdirsSync()`, `mkdirpSync()` 6 | 7 | - `dir` `` 8 | 9 | ## Example: 10 | 11 | ```js 12 | const fs = require('fs-extra') 13 | 14 | const dir = '/tmp/this/path/does/not/exist' 15 | fs.ensureDirSync(dir) 16 | // dir has now been created, including the directory it is to be placed in 17 | ``` 18 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/docs/ensureFile-sync.md: -------------------------------------------------------------------------------- 1 | # ensureFileSync(file) 2 | 3 | Ensures that the file exists. If the file that is requested to be created is in directories that do not exist, these directories are created. If the file already exists, it is **NOT MODIFIED**. 4 | 5 | **Alias:** `createFileSync()` 6 | 7 | - `file` `` 8 | 9 | ## Example: 10 | 11 | ```js 12 | const fs = require('fs-extra') 13 | 14 | const file = '/tmp/this/path/does/not/exist/file.txt' 15 | fs.ensureFileSync(file) 16 | // file has now been created, including the directory it is to be placed in 17 | ``` 18 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/docs/ensureLink-sync.md: -------------------------------------------------------------------------------- 1 | # ensureLinkSync(srcpath, dstpath) 2 | 3 | Ensures that the link exists. If the directory structure does not exist, it is created. 4 | 5 | - `srcpath` `` 6 | - `dstpath` `` 7 | 8 | ## Example: 9 | 10 | ```js 11 | const fs = require('fs-extra') 12 | 13 | const srcpath = '/tmp/file.txt' 14 | const dstpath = '/tmp/this/path/does/not/exist/file.txt' 15 | fs.ensureLinkSync(srcpath, dstpath) 16 | // link has now been created, including the directory it is to be placed in 17 | ``` 18 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/docs/ensureSymlink-sync.md: -------------------------------------------------------------------------------- 1 | # ensureSymlinkSync(srcpath, dstpath, [type]) 2 | 3 | Ensures that the symlink exists. If the directory structure does not exist, it is created. 4 | 5 | - `srcpath` `` 6 | - `dstpath` `` 7 | - `type` `` 8 | 9 | ## Example: 10 | 11 | ```js 12 | const fs = require('fs-extra') 13 | 14 | const srcpath = '/tmp/file.txt' 15 | const dstpath = '/tmp/this/path/does/not/exist/file.txt' 16 | fs.ensureSymlinkSync(srcpath, dstpath) 17 | // symlink has now been created, including the directory it is to be placed in 18 | ``` 19 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/docs/move-sync.md: -------------------------------------------------------------------------------- 1 | # moveSync(src, dest, [options]) 2 | 3 | Moves a file or directory, even across devices. 4 | 5 | - `src` `` 6 | - `dest` `` 7 | - `options` `` 8 | - `overwrite` ``: overwrite existing file or directory, default is `false`. 9 | 10 | ## Example: 11 | 12 | ```js 13 | const fs = require('fs-extra') 14 | 15 | fs.moveSync('/tmp/somefile', '/tmp/does/not/exist/yet/somefile') 16 | ``` 17 | 18 | **Using `overwrite` option** 19 | 20 | ```js 21 | const fs = require('fs-extra') 22 | 23 | fs.moveSync('/tmp/somedir', '/tmp/may/already/existed/somedir', { overwrite: true }) 24 | ``` 25 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/docs/pathExists-sync.md: -------------------------------------------------------------------------------- 1 | # pathExistsSync(file) 2 | 3 | An alias for [`fs.existsSync()`](https://nodejs.org/api/fs.html#fs_fs_existssync_path), created for consistency with [`pathExists()`](pathExists.md). 4 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/docs/remove-sync.md: -------------------------------------------------------------------------------- 1 | # removeSync(path) 2 | 3 | Removes a file or directory. The directory can have contents. Like `rm -rf`. 4 | 5 | - `path` `` 6 | 7 | ## Example: 8 | 9 | ```js 10 | const fs = require('fs-extra') 11 | 12 | // remove file 13 | fs.removeSync('/tmp/myfile') 14 | 15 | fs.removeSync('/home/jprichardson') // I just deleted my entire HOME directory. 16 | ``` 17 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/lib/copy-sync/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | copySync: require('./copy-sync') 3 | } 4 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/lib/copy/index.js: -------------------------------------------------------------------------------- 1 | const u = require('universalify').fromCallback 2 | module.exports = { 3 | copy: u(require('./copy')) 4 | } 5 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const assign = require('./util/assign') 4 | 5 | const fs = {} 6 | 7 | // Export graceful-fs: 8 | assign(fs, require('./fs')) 9 | // Export extra methods: 10 | assign(fs, require('./copy')) 11 | assign(fs, require('./copy-sync')) 12 | assign(fs, require('./mkdirs')) 13 | assign(fs, require('./remove')) 14 | assign(fs, require('./json')) 15 | assign(fs, require('./move')) 16 | assign(fs, require('./move-sync')) 17 | assign(fs, require('./empty')) 18 | assign(fs, require('./ensure')) 19 | assign(fs, require('./output')) 20 | assign(fs, require('./path-exists')) 21 | 22 | module.exports = fs 23 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/lib/json/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const u = require('universalify').fromCallback 4 | const jsonFile = require('./jsonfile') 5 | 6 | jsonFile.outputJson = u(require('./output-json')) 7 | jsonFile.outputJsonSync = require('./output-json-sync') 8 | // aliases 9 | jsonFile.outputJSON = jsonFile.outputJson 10 | jsonFile.outputJSONSync = jsonFile.outputJsonSync 11 | jsonFile.writeJSON = jsonFile.writeJson 12 | jsonFile.writeJSONSync = jsonFile.writeJsonSync 13 | jsonFile.readJSON = jsonFile.readJson 14 | jsonFile.readJSONSync = jsonFile.readJsonSync 15 | 16 | module.exports = jsonFile 17 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/lib/json/jsonfile.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const u = require('universalify').fromCallback 4 | const jsonFile = require('jsonfile') 5 | 6 | module.exports = { 7 | // jsonfile exports 8 | readJson: u(jsonFile.readFile), 9 | readJsonSync: jsonFile.readFileSync, 10 | writeJson: u(jsonFile.writeFile), 11 | writeJsonSync: jsonFile.writeFileSync 12 | } 13 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/lib/json/output-json-sync.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('graceful-fs') 4 | const path = require('path') 5 | const mkdir = require('../mkdirs') 6 | const jsonFile = require('./jsonfile') 7 | 8 | function outputJsonSync (file, data, options) { 9 | const dir = path.dirname(file) 10 | 11 | if (!fs.existsSync(dir)) { 12 | mkdir.mkdirsSync(dir) 13 | } 14 | 15 | jsonFile.writeJsonSync(file, data, options) 16 | } 17 | 18 | module.exports = outputJsonSync 19 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/lib/mkdirs/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const u = require('universalify').fromCallback 3 | const mkdirs = u(require('./mkdirs')) 4 | const mkdirsSync = require('./mkdirs-sync') 5 | 6 | module.exports = { 7 | mkdirs: mkdirs, 8 | mkdirsSync: mkdirsSync, 9 | // alias 10 | mkdirp: mkdirs, 11 | mkdirpSync: mkdirsSync, 12 | ensureDir: mkdirs, 13 | ensureDirSync: mkdirsSync 14 | } 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/lib/path-exists/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const u = require('universalify').fromPromise 3 | const fs = require('../fs') 4 | 5 | function pathExists (path) { 6 | return fs.access(path).then(() => true).catch(() => false) 7 | } 8 | 9 | module.exports = { 10 | pathExists: u(pathExists), 11 | pathExistsSync: fs.existsSync 12 | } 13 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/lib/remove/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const u = require('universalify').fromCallback 4 | const rimraf = require('./rimraf') 5 | 6 | module.exports = { 7 | remove: u(rimraf), 8 | removeSync: rimraf.sync 9 | } 10 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/lib/util/assign.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // simple mutable assign 4 | function assign () { 5 | const args = [].slice.call(arguments).filter(i => i) 6 | const dest = args.shift() 7 | args.forEach(src => { 8 | Object.keys(src).forEach(key => { 9 | dest[key] = src[key] 10 | }) 11 | }) 12 | 13 | return dest 14 | } 15 | 16 | module.exports = assign 17 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/fs-extra/lib/util/buffer.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable node/no-deprecated-api */ 2 | module.exports = function (size) { 3 | if (typeof Buffer.allocUnsafe === 'function') { 4 | try { 5 | return Buffer.allocUnsafe(size) 6 | } catch (e) { 7 | return new Buffer(size) 8 | } 9 | } 10 | return new Buffer(size) 11 | } 12 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/graceful-fs/fs.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var fs = require('fs') 4 | 5 | module.exports = clone(fs) 6 | 7 | function clone (obj) { 8 | if (obj === null || typeof obj !== 'object') 9 | return obj 10 | 11 | if (obj instanceof Object) 12 | var copy = { __proto__: obj.__proto__ } 13 | else 14 | var copy = Object.create(null) 15 | 16 | Object.getOwnPropertyNames(obj).forEach(function (key) { 17 | Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key)) 18 | }) 19 | 20 | return copy 21 | } 22 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/has-value/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * has-value 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isObject = require('isobject'); 11 | var hasValues = require('has-values'); 12 | var get = require('get-value'); 13 | 14 | module.exports = function(val, prop) { 15 | return hasValues(isObject(val) && prop ? get(val, prop) : val); 16 | }; 17 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/is-binary-path/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var path = require('path'); 3 | var binaryExtensions = require('binary-extensions'); 4 | var exts = Object.create(null); 5 | 6 | binaryExtensions.forEach(function (el) { 7 | exts[el] = true; 8 | }); 9 | 10 | module.exports = function (filepath) { 11 | return path.extname(filepath).slice(1).toLowerCase() in exts; 12 | }; 13 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/is-extendable/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extendable 3 | * 4 | * Copyright (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isExtendable(val) { 11 | return typeof val !== 'undefined' && val !== null 12 | && (typeof val === 'object' || typeof val === 'function'); 13 | }; 14 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/is-extglob/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extglob 3 | * 4 | * Copyright (c) 2014-2016, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | module.exports = function isExtglob(str) { 9 | if (typeof str !== 'string' || str === '') { 10 | return false; 11 | } 12 | 13 | var match; 14 | while ((match = /(\\).|([@?!+*]\(.*\))/g.exec(str))) { 15 | if (match[2]) return true; 16 | str = str.slice(match.index + match[0].length); 17 | } 18 | 19 | return false; 20 | }; 21 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | 12 | module.exports = function isNumber(num) { 13 | var type = typeOf(num); 14 | 15 | if (type === 'string') { 16 | if (!num.trim()) return false; 17 | } else if (type !== 'number') { 18 | return false; 19 | } 20 | 21 | return (num - num + 1) >= 0; 22 | }; 23 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/is-odd/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-odd 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isNumber = require('is-number'); 11 | 12 | module.exports = function isOdd(i) { 13 | if (!isNumber(i)) { 14 | throw new TypeError('is-odd expects a number.'); 15 | } 16 | if (Number(i) !== Math.floor(i)) { 17 | throw new RangeError('is-odd expects an integer.'); 18 | } 19 | return !!(~~i & 1); 20 | }; 21 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/is-odd/node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isNumber(num) { 11 | var type = typeof num; 12 | 13 | if (type === 'string' || num instanceof String) { 14 | // an empty string would be coerced to true with the below logic 15 | if (!num.trim()) return false; 16 | } else if (type !== 'number' && !(num instanceof Number)) { 17 | return false; 18 | } 19 | 20 | return (num - num + 1) >= 0; 21 | }; 22 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/is-plain-object/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isPlainObject; 2 | 3 | declare function isPlainObject(o: any): boolean; 4 | 5 | declare namespace isPlainObject {} 6 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/isarray/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/isarray/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/isarray/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | var toString = {}.toString; 2 | 3 | module.exports = Array.isArray || function (arr) { 4 | return toString.call(arr) == '[object Array]'; 5 | }; 6 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/isarray/test.js: -------------------------------------------------------------------------------- 1 | var isArray = require('./'); 2 | var test = require('tape'); 3 | 4 | test('is array', function(t){ 5 | t.ok(isArray([])); 6 | t.notOk(isArray({})); 7 | t.notOk(isArray(null)); 8 | t.notOk(isArray(false)); 9 | 10 | var obj = {}; 11 | obj[0] = true; 12 | t.notOk(isArray(obj)); 13 | 14 | var arr = []; 15 | arr.foo = 'bar'; 16 | t.ok(isArray(arr)); 17 | 18 | t.end(); 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/json-beautifully/README.md: -------------------------------------------------------------------------------- 1 | # formatJson 2 | 3 | 4 | ## How can use 5 | 6 | ```javascript 7 | import formatJson from 'json-beautifully'; 8 | 9 | let json = {a:1,b:2}; 10 | 11 | let text = formatJson(json); 12 | 13 | console.log(text) 14 | 15 | ``` -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/micromatch/lib/cache.js: -------------------------------------------------------------------------------- 1 | module.exports = new (require('fragment-cache'))(); 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/mixin-deep/node_modules/is-extendable/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isExtendable; 2 | 3 | declare function isExtendable(val: any): boolean; 4 | 5 | declare namespace isExtendable {} 6 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/mixin-deep/node_modules/is-extendable/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extendable 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isPlainObject = require('is-plain-object'); 11 | 12 | module.exports = function isExtendable(val) { 13 | return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); 14 | }; 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/nanomatch/lib/cache.js: -------------------------------------------------------------------------------- 1 | module.exports = new (require('fragment-cache'))(); 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"], 3 | "plugins": ["transform-class-properties", "transform-function-bind", "transform-object-rest-spread"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "airbnb-base", 3 | "parser": "babel-eslint", 4 | "rules": { 5 | "comma-dangle": [2, "never"], 6 | "import/extensions": 0, 7 | "import/no-extraneous-dependencies": 0, 8 | "import/no-unresolved": 0, 9 | "max-len": [1, {"code": 128, "ignoreComments": true}], 10 | "no-param-reassign": [2, {"props": false}], 11 | "no-underscore-dangle": [2, {"allow": ["_id"]}], 12 | "no-unused-vars": [2, {"args": "none"}], 13 | "no-use-before-define": [2, {"functions": false}], 14 | "object-curly-spacing": [2, "never"] 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | sudo: false 3 | node_js: 4 | - "6" 5 | - "stable" 6 | 7 | env: 8 | global: 9 | - CODACY_PROJECT_TOKEN=b6260eef3f26437e8192b3fac47a4edf 10 | 11 | before_script: 12 | - date --rfc-2822 13 | 14 | script: 15 | - npm test 16 | - npm run lint 17 | - npm run test:coverage 18 | 19 | after_script: 20 | - cat coverage/lcov.info | codacy-coverage 21 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/lib/workbook.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | 7 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 8 | 9 | var Workbook = function Workbook() { 10 | _classCallCheck(this, Workbook); 11 | 12 | this.SheetNames = []; 13 | this.Sheets = {}; 14 | }; 15 | 16 | exports.default = Workbook; 17 | //# sourceMappingURL=workbook.js.map -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/lib/workbook.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../src/workbook.js"],"names":["Workbook","SheetNames","Sheets"],"mappings":";;;;;;;;IACqBA,Q;;;OACnBC,U,GAAa,E;OACbC,M,GAAS,E;;;kBAFUF,Q","file":"workbook.js","sourcesContent":["\nexport default class Workbook {\n SheetNames = [];\n Sheets = {};\n}\n"]} -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/src/workbook.js: -------------------------------------------------------------------------------- 1 | 2 | export default class Workbook { 3 | SheetNames = []; 4 | Sheets = {}; 5 | } 6 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./../.eslintrc", 3 | "parser": "babel-eslint", 4 | "env": { 5 | "jest": true, 6 | "jasmine": true 7 | }, 8 | "rules": { 9 | "func-names": "off", 10 | "no-underscore-dangle": "off", 11 | "import/no-extraneous-dependencies": "off" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/test/fixtures/dateField.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "Sheet1", 4 | "data": [ 5 | [ 6 | "Serial 1", 7 | "Serial 2", 8 | "Serial 3", 9 | "UPC", 10 | "PO#", 11 | "Date Received" 12 | ], 13 | [ 14 | "SPKA19BD170C53", 15 | "SPKA19BD170420", 16 | "SPKA19BD1707F3", 17 | "861453000227", 18 | "10012", 19 | "5/25/17" 20 | ], 21 | [ 22 | "SPKA19BD16007A", 23 | "SPKA19BD170927", 24 | "SPKA19BD1702B9", 25 | "861453000227", 26 | "10012", 27 | "5/25/17" 28 | ] 29 | ] 30 | } 31 | ] -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/test/fixtures/dateField.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/node-xlsx/test/fixtures/dateField.xlsx -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/test/fixtures/test.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "name": "mySheetName", 3 | "data": [ 4 | [ 5 | 1, 6 | 2, 7 | 3 8 | ], 9 | [ 10 | true, 11 | false, 12 | null, 13 | "sheetjs" 14 | ], 15 | [ 16 | "foo", 17 | "bar", 18 | 41689.604166666664, 19 | "0.3" 20 | ], 21 | [ 22 | "baz", 23 | null, 24 | "qux" 25 | ] 26 | ] 27 | }] 28 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/test/fixtures/test.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/node-xlsx/test/fixtures/test.xlsx -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/node-xlsx/test/specs/import.spec.js: -------------------------------------------------------------------------------- 1 | import expect from 'expect'; 2 | import XSLX from './../../src'; 3 | 4 | describe('node-xlsx import', () => { 5 | it('should get current object', () => { 6 | expect(typeof XSLX).toBe('object'); 7 | }); 8 | it('should has current keys', () => { 9 | expect(Object.keys(XSLX)).toEqual(['parse', 'build']); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/normalize-path/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * normalize-path 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | var removeTrailingSeparator = require('remove-trailing-separator'); 9 | 10 | module.exports = function normalizePath(str, stripTrailing) { 11 | if (typeof str !== 'string') { 12 | throw new TypeError('expected a string'); 13 | } 14 | str = str.replace(/[\\\/]+/g, '/'); 15 | if (stripTrailing !== false) { 16 | str = removeTrailingSeparator(str); 17 | } 18 | return str; 19 | }; 20 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/object-copy/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/posix-character-classes/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * POSIX character classes 5 | */ 6 | 7 | module.exports = { 8 | alnum: 'a-zA-Z0-9', 9 | alpha: 'a-zA-Z', 10 | ascii: '\\x00-\\x7F', 11 | blank: ' \\t', 12 | cntrl: '\\x00-\\x1F\\x7F', 13 | digit: '0-9', 14 | graph: '\\x21-\\x7E', 15 | lower: 'a-z', 16 | print: '\\x20-\\x7E ', 17 | punct: '\\-!"#$%&\'()\\*+,./:;<=>?@[\\]^_`{|}~', 18 | space: ' \\t\\r\\n\\v\\f', 19 | upper: 'A-Z', 20 | word: 'A-Za-z0-9_', 21 | xdigit: 'A-Fa-f0-9' 22 | }; 23 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/printj/types/index.d.ts: -------------------------------------------------------------------------------- 1 | /* index.d.ts (C) 2015-present SheetJS */ 2 | // TypeScript Version: 2.2 3 | 4 | /** Version string */ 5 | export const version: string; 6 | 7 | /** Generate formatted string from format and subsequent arguments */ 8 | export function sprintf(fmt: string, ...args: any[]): string; 9 | 10 | /** Generate formatted string from format and array of variables */ 11 | export function vsprintf(fmt: string, args: any[]): string; 12 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/printj/types/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "lib": [ "es5", "dom" ], 5 | "noImplicitAny": true, 6 | "noImplicitThis": true, 7 | "strictNullChecks": false, 8 | "baseUrl": ".", 9 | "paths": { "printj": ["."] }, 10 | "types": [], 11 | "noEmit": true, 12 | "forceConsistentCasingInFileNames": true 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/printj/types/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "dtslint/dtslint.json", 3 | "rules": { 4 | "whitespace": false, 5 | "no-sparse-arrays": false, 6 | "only-arrow-functions": false, 7 | "no-consecutive-blank-lines": false, 8 | "prefer-conditional-expression": false, 9 | "one-variable-per-declaration": false 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/process-nextick-args/readme.md: -------------------------------------------------------------------------------- 1 | process-nextick-args 2 | ===== 3 | 4 | [](https://travis-ci.org/calvinmetcalf/process-nextick-args) 5 | 6 | ```bash 7 | npm install --save process-nextick-args 8 | ``` 9 | 10 | Always be able to pass arguments to process.nextTick, no matter the platform 11 | 12 | ```js 13 | var pna = require('process-nextick-args'); 14 | 15 | pna.nextTick(function (a, b, c) { 16 | console.log(a, b, c); 17 | }, 'step', 3, 'profit'); 18 | ``` 19 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readable-stream/duplex-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_duplex.js'); 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Duplex 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readable-stream/lib/internal/streams/stream-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('events').EventEmitter; 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readable-stream/lib/internal/streams/stream.js: -------------------------------------------------------------------------------- 1 | module.exports = require('stream'); 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').PassThrough 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readable-stream/readable-browser.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = require('./lib/_stream_readable.js'); 2 | exports.Stream = exports; 3 | exports.Readable = exports; 4 | exports.Writable = require('./lib/_stream_writable.js'); 5 | exports.Duplex = require('./lib/_stream_duplex.js'); 6 | exports.Transform = require('./lib/_stream_transform.js'); 7 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 8 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Transform 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readable-stream/writable-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_writable.js'); 2 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | var Stream = require("stream") 2 | var Writable = require("./lib/_stream_writable.js") 3 | 4 | if (process.env.READABLE_STREAM === 'disable') { 5 | module.exports = Stream && Stream.Writable || Writable 6 | } else { 7 | module.exports = Writable 8 | } 9 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | node_modules 15 | npm-debug.log -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "4.4" 6 | - "6.2" 7 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/examples/callback-api.js: -------------------------------------------------------------------------------- 1 | var readdirp = require('..'); 2 | 3 | readdirp({ root: '.', fileFilter: '*.js' }, function (errors, res) { 4 | if (errors) { 5 | errors.forEach(function (err) { 6 | console.error('Error: ', err); 7 | }); 8 | } 9 | console.log('all javascript files', res); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/examples/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "readdirp-examples", 3 | "version": "0.0.0", 4 | "description": "Examples for readdirp.", 5 | "dependencies": { 6 | "tap-stream": "~0.1.0", 7 | "event-stream": "~3.0.7" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/examples/stream-api.js: -------------------------------------------------------------------------------- 1 | var readdirp = require('..') 2 | , path = require('path'); 3 | 4 | readdirp({ root: path.join(__dirname), fileFilter: '*.js' }) 5 | .on('warn', function (err) { 6 | console.error('something went wrong when processing an entry', err); 7 | }) 8 | .on('error', function (err) { 9 | console.error('something went fatally wrong and the stream was aborted', err); 10 | }) 11 | .on('data', function (entry) { 12 | console.log('%s is ready for processing', entry.path); 13 | // process entry here 14 | }); 15 | 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/test/bed/root_dir1/root_dir1_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/readdirp/test/bed/root_dir1/root_dir1_file1.ext1 -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/test/bed/root_dir1/root_dir1_file2.ext2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/readdirp/test/bed/root_dir1/root_dir1_file2.ext2 -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/test/bed/root_dir1/root_dir1_file3.ext3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/readdirp/test/bed/root_dir1/root_dir1_file3.ext3 -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/test/bed/root_dir1/root_dir1_subdir1/root1_dir1_subdir1_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/readdirp/test/bed/root_dir1/root_dir1_subdir1/root1_dir1_subdir1_file1.ext1 -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/test/bed/root_dir2/root_dir2_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/readdirp/test/bed/root_dir2/root_dir2_file1.ext1 -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/test/bed/root_dir2/root_dir2_file2.ext2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/readdirp/test/bed/root_dir2/root_dir2_file2.ext2 -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/test/bed/root_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/readdirp/test/bed/root_file1.ext1 -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/test/bed/root_file2.ext2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/readdirp/test/bed/root_file2.ext2 -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/readdirp/test/bed/root_file3.ext3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/readdirp/test/bed/root_file3.ext3 -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/remove-trailing-separator/index.js: -------------------------------------------------------------------------------- 1 | var isWin = process.platform === 'win32'; 2 | 3 | module.exports = function (str) { 4 | var i = str.length - 1; 5 | if (i < 2) { 6 | return str; 7 | } 8 | while (isSeparator(str, i)) { 9 | i--; 10 | } 11 | return str.substr(0, i + 1); 12 | }; 13 | 14 | function isSeparator(str, i) { 15 | var char = str[i]; 16 | return i > 0 && (char === '/' || (isWin && char === '\\')); 17 | } 18 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/repeat-element/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * repeat-element 3 | * 4 | * Copyright (c) 2015 Jon Schlinkert. 5 | * Licensed under the MIT license. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function repeat(ele, num) { 11 | var arr = new Array(num); 12 | 13 | for (var i = 0; i < num; i++) { 14 | arr[i] = ele; 15 | } 16 | 17 | return arr; 18 | }; 19 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/resolve-url/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "resolve-url", 3 | "version": "0.2.1", 4 | "description": "Like Node.js’ `path.resolve`/`url.resolve` for the browser.", 5 | "authors": ["Simon Lydell"], 6 | "license": "MIT", 7 | "main": "resolve-url.js", 8 | "keywords": [ 9 | "resolve", 10 | "url" 11 | ], 12 | "ignore": [ 13 | ".*" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/resolve-url/changelog.md: -------------------------------------------------------------------------------- 1 | ### Version 0.2.1 (2014-02-25) ### 2 | 3 | - Fix edge case when (accidentally) supplying only one argument, and that 4 | argument happens to be a falsy value such as `undefined` or `null`. 5 | 6 | 7 | ### Version 0.2.0 (2014-02-24) ### 8 | 9 | - Disallow passing 0 arguments. It’s weird and inconsistent between browsers. 10 | (Backwards incompatible change.) 11 | 12 | 13 | ### Version 0.1.0 (2014-02-23) ### 14 | 15 | - Initial release. 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/resolve-url/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "resolve-url", 3 | "version": "0.2.1", 4 | "license": "MIT", 5 | "description": "Like Node.js’ `path.resolve`/`url.resolve` for the browser.", 6 | "main": "resolve-url.js", 7 | "repo": "lydell/resolve-url", 8 | "keywords": [ 9 | "resolve", 10 | "url" 11 | ], 12 | "scripts": [ 13 | "resolve-url.js" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/ret/lib/positions.js: -------------------------------------------------------------------------------- 1 | var types = require('./types'); 2 | 3 | exports.wordBoundary = function() { 4 | return { type: types.POSITION, value: 'b' }; 5 | }; 6 | 7 | exports.nonWordBoundary = function() { 8 | return { type: types.POSITION, value: 'B' }; 9 | }; 10 | 11 | exports.begin = function() { 12 | return { type: types.POSITION, value: '^' }; 13 | }; 14 | 15 | exports.end = function() { 16 | return { type: types.POSITION, value: '$' }; 17 | }; 18 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/ret/lib/types.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ROOT : 0, 3 | GROUP : 1, 4 | POSITION : 2, 5 | SET : 3, 6 | RANGE : 4, 7 | REPETITION : 5, 8 | REFERENCE : 6, 9 | CHAR : 7, 10 | }; 11 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/safe-buffer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 'node' 4 | - '5' 5 | - '4' 6 | - '0.12' 7 | - '0.10' 8 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/safe-regex/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/safe-regex/example/safe.js: -------------------------------------------------------------------------------- 1 | var safe = require('../'); 2 | var regex = process.argv.slice(2).join(' '); 3 | console.log(safe(regex)); 4 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/set-immediate-shim/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = typeof setImmediate === 'function' ? setImmediate : 3 | function setImmediate() { 4 | var args = [].slice.apply(arguments); 5 | args.splice(1, 0, 0); 6 | setTimeout.apply(null, args); 7 | }; 8 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/snapdragon/lib/position.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var define = require('define-property'); 4 | 5 | /** 6 | * Store position for a node 7 | */ 8 | 9 | module.exports = function Position(start, parser) { 10 | this.start = start; 11 | this.end = { line: parser.line, column: parser.column }; 12 | define(this, 'content', parser.orig); 13 | define(this, 'source', parser.options.source); 14 | }; 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/snapdragon/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/snapdragon/node_modules/source-map/source-map.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009-2011 Mozilla Foundation and contributors 3 | * Licensed under the New BSD license. See LICENSE.txt or: 4 | * http://opensource.org/licenses/BSD-3-Clause 5 | */ 6 | exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator; 7 | exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer; 8 | exports.SourceNode = require('./lib/source-node').SourceNode; 9 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/source-map-resolve/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "node" 4 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/source-map-resolve/lib/decode-uri-component.js: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Simon Lydell 2 | // X11 (“MIT”) Licensed. (See LICENSE.) 3 | 4 | var decodeUriComponent = require("decode-uri-component") 5 | 6 | function customDecodeUriComponent(string) { 7 | // `decodeUriComponent` turns `+` into ` `, but that's not wanted. 8 | return decodeUriComponent(string.replace(/\+/g, "%2B")) 9 | } 10 | 11 | module.exports = customDecodeUriComponent 12 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/source-map-resolve/lib/resolve-url.js: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Simon Lydell 2 | // X11 (“MIT”) Licensed. (See LICENSE.) 3 | 4 | var url = require("url") 5 | 6 | function resolveUrl(/* ...urls */) { 7 | return Array.prototype.reduce.call(arguments, function(resolved, nextUrl) { 8 | return url.resolve(resolved, nextUrl) 9 | }) 10 | } 11 | 12 | module.exports = resolveUrl 13 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/source-map-url/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "source-map-url", 3 | "version": "0.4.0", 4 | "author": "Simon Lydell", 5 | "license": "MIT", 6 | "description": "Tools for working with sourceMappingURL comments.", 7 | "keywords": [ 8 | "source map", 9 | "sourceMappingURL", 10 | "comment", 11 | "annotation" 12 | ], 13 | "main": "source-map-url.js", 14 | "authors": [ 15 | "Simon Lydell" 16 | ], 17 | "ignore": [ 18 | ".*" 19 | ] 20 | } -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/source-map-url/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "source-map-url", 3 | "version": "0.4.0", 4 | "author": "Simon Lydell", 5 | "license": "MIT", 6 | "description": "Tools for working with sourceMappingURL comments.", 7 | "keywords": [ 8 | "source map", 9 | "sourceMappingURL", 10 | "comment", 11 | "annotation" 12 | ], 13 | "main": "source-map-url.js", 14 | "repo": "lydell/source-map-url", 15 | "scripts": [ 16 | "source-map-url.js" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/source-map/source-map.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009-2011 Mozilla Foundation and contributors 3 | * Licensed under the New BSD license. See LICENSE.txt or: 4 | * http://opensource.org/licenses/BSD-3-Clause 5 | */ 6 | exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator; 7 | exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer; 8 | exports.SourceNode = require('./lib/source-node').SourceNode; 9 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/ssf/bin/ssf.njs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | /* ssf.js (C) 2013-present SheetJS -- http://sheetjs.com */ 3 | /* eslint-env node */ 4 | /* eslint no-console:0 */ 5 | /*jshint node:true */ 6 | var X = require('../'); 7 | var argv = process.argv.slice(2); 8 | if(argv.length < 2 || argv[0] == "-h" || argv[0] == "--help") { 9 | console.error("usage: ssf "); 10 | console.error("output: format_as_string|format_as_number|"); 11 | process.exit(0); 12 | } 13 | console.log(X.format(argv[0],argv[1]) + "|" + X.format(argv[0],+(argv[1])) + "|"); 14 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/ssf/types/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "lib": [ "es5" ], 5 | "noImplicitAny": true, 6 | "noImplicitThis": true, 7 | "strictNullChecks": false, 8 | "baseUrl": ".", 9 | "paths": { "ssf": ["."] }, 10 | "types": [], 11 | "noEmit": true, 12 | "forceConsistentCasingInFileNames": true 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/static-extend/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/uglify-js/tools/exit.js: -------------------------------------------------------------------------------- 1 | // workaround for tty output truncation upon process.exit() 2 | var exit = process.exit; 3 | process.exit = function() { 4 | var args = [].slice.call(arguments); 5 | process.once("uncaughtException", function() { 6 | (function callback() { 7 | if (process.stdout.bufferSize || process.stderr.bufferSize) { 8 | setImmediate(callback); 9 | } else { 10 | exit.apply(process, args); 11 | } 12 | })(); 13 | }); 14 | throw exit; 15 | }; 16 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/uglify-js/tools/exports.js: -------------------------------------------------------------------------------- 1 | exports["Dictionary"] = Dictionary; 2 | exports["TreeWalker"] = TreeWalker; 3 | exports["TreeTransformer"] = TreeTransformer; 4 | exports["minify"] = minify; 5 | exports["parse"] = parse; 6 | exports["_push_uniq"] = push_uniq; 7 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/unset-value/node_modules/has-value/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * has-value 3 | * 4 | * Copyright (c) 2014-2016, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isObject = require('isobject'); 11 | var hasValues = require('has-values'); 12 | var get = require('get-value'); 13 | 14 | module.exports = function(obj, prop, noZero) { 15 | if (isObject(obj)) { 16 | return hasValues(get(obj, prop), noZero); 17 | } 18 | return hasValues(obj, prop); 19 | }; 20 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/unset-value/node_modules/has-value/node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isArray = require('isarray'); 11 | 12 | module.exports = function isObject(val) { 13 | return val != null && typeof val === 'object' && isArray(val) === false; 14 | }; 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/urix/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Simon Lydell 2 | // X11 (“MIT”) Licensed. (See LICENSE.) 3 | 4 | var path = require("path") 5 | 6 | "use strict" 7 | 8 | function urix(aPath) { 9 | if (path.sep === "\\") { 10 | return aPath 11 | .replace(/\\/g, "/") 12 | .replace(/^[a-z]:\/?/i, "/") 13 | } 14 | return aPath 15 | } 16 | 17 | module.exports = urix 18 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/util-deprecate/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.2 / 2015-10-07 3 | ================== 4 | 5 | * use try/catch when checking `localStorage` (#3, @kumavis) 6 | 7 | 1.0.1 / 2014-11-25 8 | ================== 9 | 10 | * browser: use `console.warn()` for deprecation calls 11 | * browser: more jsdocs 12 | 13 | 1.0.0 / 2014-04-30 14 | ================== 15 | 16 | * initial commit 17 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/util-deprecate/node.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * For Node.js, simply re-export the core `util.deprecate` function. 4 | */ 5 | 6 | module.exports = require('util').deprecate; 7 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/xlsx/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "js-xlsx", 3 | "homepage": "https://github.com/SheetJS/js-xlsx", 4 | "main": "dist/xlsx.full.min.js", 5 | "ignore": [ 6 | "bin", 7 | "bits", 8 | "misc", 9 | "**/.*" 10 | ], 11 | "keywords": [ 12 | "excel", 13 | "xls", 14 | "xml", 15 | "xlsx", 16 | "xlsm", 17 | "xlsb", 18 | "ods", 19 | "js-xls", 20 | "js-xlsx" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/xlsx/formats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/xlsx/formats.png -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/xlsx/legend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/packages/excel-killer/node_modules/xlsx/legend.png -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/xlsx/types/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "lib": [ "es5" ], 5 | "noImplicitAny": true, 6 | "noImplicitThis": true, 7 | "strictNullChecks": false, 8 | "baseUrl": ".", 9 | "paths": { "xlsx": ["."] }, 10 | "types": [], 11 | "noEmit": true, 12 | "forceConsistentCasingInFileNames": true 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/excel-killer/node_modules/xlsx/xlsxworker.js: -------------------------------------------------------------------------------- 1 | /* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ 2 | importScripts('shim.js'); 3 | /* uncomment the next line for encoding support */ 4 | importScripts('dist/cpexcel.js'); 5 | importScripts('jszip.js'); 6 | importScripts('xlsx.js'); 7 | postMessage({t:"ready"}); 8 | 9 | onmessage = function (evt) { 10 | var v; 11 | try { 12 | v = XLSX.read(evt.data.d, {type: evt.data.b}); 13 | postMessage({t:"xlsx", d:JSON.stringify(v)}); 14 | } catch(e) { postMessage({t:"e",d:e.stack||e}); } 15 | }; 16 | -------------------------------------------------------------------------------- /packages/excel-killer/panel/item/excelItem.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 10 | {{index+1}} 11 | 12 | 13 | {{data.name}} 14 | {{data.sheet}} 15 | 16 | -------------------------------------------------------------------------------- /packages/proto-killer/main.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = { 4 | load() { 5 | // execute when package loaded 6 | }, 7 | 8 | unload() { 9 | // execute when package unloaded 10 | }, 11 | 12 | // register your ipc messages here 13 | messages: { 14 | 'open'() { 15 | // open entry panel registered in package.json 16 | Editor.Panel.open('proto-killer'); 17 | }, 18 | }, 19 | }; -------------------------------------------------------------------------------- /packages/proto-killer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "proto-killer", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "main.js", 6 | "main-menu": { 7 | "i18n:MAIN_MENU.package.title/proto-killer": { 8 | "message": "proto-killer:open" 9 | } 10 | }, 11 | "panel": { 12 | "main": "panel/index.js", 13 | "type": "dockable", 14 | "title": "proto-killer", 15 | "width": 500, 16 | "height": 500, 17 | "min-width": 500, 18 | "min-height": 200 19 | } 20 | } -------------------------------------------------------------------------------- /packages/proto-killer/panel/item/protoItem.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | {{index+1}} 7 | 8 | 9 | {{data.name}} 10 | 11 | -------------------------------------------------------------------------------- /plugins-excel/excel-output/js/client/CfgFruit.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 1: { 3 | fruit: "香蕉", 4 | cost: 1, 5 | num: 5 6 | }, 7 | 2: { 8 | fruit: "苹果", 9 | cost: 1, 10 | num: 6 11 | }, 12 | 3: { 13 | fruit: "草莓", 14 | cost: 1, 15 | num: 7 16 | } 17 | }; -------------------------------------------------------------------------------- /plugins-excel/excel-output/js/client/CfgMan.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 1: { 3 | name: "小明", 4 | age: 10, 5 | is_man: !0, 6 | relationship: { 7 | "爸爸": "小明爸", 8 | "妈妈": "小明妈" 9 | }, 10 | array_test: [ "a", 1, [ 2, "c" ] ] 11 | }, 12 | 2: { 13 | name: "小红", 14 | age: 20, 15 | is_man: !1, 16 | relationship: { 17 | "爸爸": "小红爸", 18 | "妈妈": "小红妈" 19 | }, 20 | array_test: [ "a", 1, [ 2, "c" ] ] 21 | } 22 | }; -------------------------------------------------------------------------------- /plugins-excel/excel/CfgFruit.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/plugins-excel/excel/CfgFruit.xlsx -------------------------------------------------------------------------------- /plugins-excel/excel/CfgMan.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/plugins-excel/excel/CfgMan.xlsx -------------------------------------------------------------------------------- /project.json: -------------------------------------------------------------------------------- 1 | { 2 | "engine": "cocos2d-html5", 3 | "packages": "packages", 4 | "version": "2.1.2" 5 | } -------------------------------------------------------------------------------- /settings/builder.panel.json: -------------------------------------------------------------------------------- 1 | { 2 | "excludeScenes": [], 3 | "packageName": "org.cocos2d.helloworld", 4 | "platform": "web-mobile", 5 | "startScene": "2d2f792f-a40c-49bb-a189-ed176a246e49", 6 | "title": "HelloWorld" 7 | } -------------------------------------------------------------------------------- /settings/excel-killer-configuration.json: -------------------------------------------------------------------------------- 1 | {"excelRootPath":"C:\\Users\\Administrator\\Desktop\\GameFramework\\plugins-excel\\excel","jsFileName":"GameJsCfg","jsonAllFileName":"GameJsonCfg","isMergeJson":false,"isFormatJsCode":true,"isFormatJson":false,"isExportJson":false,"isExportJs":true,"isExportClient":true,"isExportServer":false,"isMergeJavaScript":false,"importProjectCfgPath":null} -------------------------------------------------------------------------------- /template-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaocongcc/GameFramework/0f6d179b1ae318745b8fdb5b71cfff33b15bb706/template-banner.png -------------------------------------------------------------------------------- /template.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TEMPLATES.helloworld-ts.name", 3 | "desc": "TEMPLATES.helloworld-ts.desc", 4 | "banner": "template-banner.png" 5 | } -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "lib": [ 5 | "dom", 6 | "es5", 7 | "es2015.promise" 8 | ], 9 | "target": "es5", 10 | "allowJs": true, 11 | "experimentalDecorators": true, 12 | "skipLibCheck": true 13 | }, 14 | "exclude": [ 15 | "node_modules", 16 | "library", 17 | "local", 18 | "temp", 19 | "build", 20 | "settings" 21 | ] 22 | } --------------------------------------------------------------------------------