trinhhuongpackagenpm
v1.0.0
Published
Test package to publish to npm
Readme
SDK Builder
SDK Builder is a Nodejs source for create ecofly sdk.
Installation
Make sure that you have install nodejs and npm in your enviroment, If not, install nodejs and package manager npm :
$ sudo apt install nodejs npmThen, Install requirements
$ npm installUsage
Create user config
$ node createConfig.jsSelect main file in src/ folder which you need to build
Copy config
{"t": ..., "s": ..., ..., "u": ...}in console and replace tocfgvariable in the top ofsrc/<youchoose.main.js>You can also config
checkingHostorccuHostvariable in this file
Finally, Build your sdk with command :
$ gulp --main "main.js_name" --output "sdk_name"main.js_nameis name of js file which you choose in src/ foldersdk_nameis name of output sdk
SDK with name sdk_name was generated in dist folder
Contact
Trinh Huong - [email protected]
