UNPKG

qcobjects-cli

Version:

qcobjects cli command line tool

8 lines (7 loc) 2.16 kB
{ "version": 3, "sources": ["../../src/qcobjects-http-server.ts"], "sourcesContent": ["#!/usr/bin/env node\n/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\nimport path from \"path\";\nimport { InheritClass, New, logger } from \"qcobjects\";\nimport \"./defaultsettings\";\nimport { HTTPServer } from \"./main-http-server\";\n\n const absolutePath = path.resolve(__dirname, \"./\");\n\n\n\n\n class Main extends InheritClass {\n constructor() {\n super();\n const app = New(HTTPServer);\n app.start();\n\n logger.debug(\"initialized\");\n\n }\n }\n\n const __main__ = new Main();\n"], "mappings": ";;;;;;;AAgCA,OAAO,UAAU;AACjB,SAAS,cAAc,KAAK,cAAc;AAC1C,OAAO;AACP,SAAS,kBAAkB;AAnC3B;AAAA;AAqCE,UAAM,eAAe,KAAK,QAAQ,WAAW,IAAI;AAAA,IAKjD,MAAM,aAAa,aAAa;AAAA,MA1ClC,OA0CkC;AAAA;AAAA;AAAA,MAC9B,cAAc;AACZ,cAAM;AACN,cAAM,MAAM,IAAI,UAAU;AAC1B,YAAI,MAAM;AAEV,eAAO,MAAM,aAAa;AAAA,MAE5B;AAAA,IACF;AAEA,UAAM,WAAW,IAAI,KAAK;AAAA;AAAA;", "names": [] }