3.1.3 • Published 3 years ago
@tago-io/builder v3.1.3
TagoIO - Analysis Builder for JavaScript and TypeScript
TagoIO provides easy connection of electronic devices with external data to driver smarter decisions using contextual analysis.
Description
When you are programming, it can be useful to use other packages inside your code; or you may want to organize your project using require and sub-folders.
| what | where |
|---|---|
| TagoIO website | https://tago.io |
| General documentation | https://docs.tago.io |
| Forum / Community | https://community.tago.io |
Installation
npm install -g @tago-io/builderQuick Example
Build with custom output file:
analysis-builder myAnalysis.js myAnalysis.tago-io.jsBuild without custom output file, he output will be myAnalysis.tago-io.js:
analysis-builder myAnalysis.jsBuild without custom output file and using TypeScript, the output will be myAnalysis.tago-io.js:
analysis-builder myAnalysis.ts # for typescriptHelper
Usage: analysis-builder [options] <input_file> [output_file]
Arguments:
input_file Original file to make build, can be a javascript or typescript file
output_file [optional] Destination name
Options:
-V, --version output the version number
-F, --force it will not ignore the modules that already exist on TagoIO context (default: false)
-rb, --removeBanner Remove banner on output file (default: false)
-ob, --obfuscate Make the output file hard to understand (default: false)
-w, --watch Enabling watch mode on Analysis Build, it's listen for changes on the file system and to rebuild whenever a file changes (default: false)
--tsconfig Generate a tsconfig.json file on current folder
-h, --help display help for commandLicense
TagoIO Builder is released under the Apache-2.0 License.