{"version":3,"sources":["jsdelivr-header.js","/npm/gk-cli@2.2.3/lib/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;ACLA,aACA,IAAI,gBAAmB,MAAQ,KAAK,iBAAoB,SAAU,GAC9D,OAAQ,GAAO,EAAI,WAAc,EAAM,CAAE,QAAW,EACxD,EACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,MAAM,YAAc,QAAQ,aAEtB,eAAiB,gBAAgB,QAAQ,oBAEzC,MAAQ,QAAQ,kBAChB,OAAS,QAAQ,mBACjB,OAAS,QAAQ,mBACjB,QAAU,QAAQ,oBAClB,QAAU,QAAQ,oBAClB,aAAe,QAAQ,yBACvB,cAAgB,QAAQ,0BAC9B,YAAY,QAAQ,YAAY,eAAe,QAAQ,WACvD,QAAQ,IAAI,iBAAmB,eAAe,QAAQ,QACtD,YAAY,QAAQ,OACf,YAAY,0BACZ,OAAO,gBAAiB,qBACxB,OAAO,MAAM,KAClB,YAAY,QAAQ,QACf,YAAY,4BACZ,OAAO,OAAO,MACnB,YAAY,QAAQ,QACf,YAAY,+BACZ,OAAO,UAAW,oEAClB,OAAO,eAAgB,6DACvB,OAAO,OAAO,MACnB,YAAY,QAAQ,SACf,YAAY,wBACZ,OAAO,QAAQ,OACpB,YAAY,QAAQ,SACf,YAAY,yCACZ,OAAO,UAAW,qBAClB,OAAO,gBAAiB,qBACxB,OAAO,QAAQ,OACpB,YAAY,QAAQ,cACf,YAAY,mCACZ,OAAO,gBAAiB,qBACxB,OAAO,aAAa,WACzB,YAAY,QAAQ,eACf,YAAY,uBACZ,OAAO,cAAc,YAC1B,YAAY","file":"/npm/gk-cli@2.2.3/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.37.0.\n * Original file: /npm/gk-cli@2.2.3/lib/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","#!/usr/bin/env node\n\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst commander_1 = require(\"commander\");\n// @ts-ignore\nconst package_json_1 = __importDefault(require(\"../package.json\"));\n// commands\nconst dev_1 = require(\"./commands/dev\");\nconst lint_1 = require(\"./commands/lint\");\nconst jest_1 = require(\"./commands/jest\");\nconst clean_1 = require(\"./commands/clean\");\nconst build_1 = require(\"./commands/build\");\nconst build_site_1 = require(\"./commands/build-site\");\nconst commit_lint_1 = require(\"./commands/commit-lint\");\ncommander_1.version(`geek-cli ${package_json_1.default.version}`);\nprocess.env.VANT_CLI_VERSION = package_json_1.default.version;\ncommander_1.command('dev')\n    .description('Run webpack dev server')\n    .option('-m , --mobile', 'is mobile library')\n    .action(dev_1.dev);\ncommander_1.command('lint')\n    .description('Run eslint and stylelint')\n    .action(lint_1.lint);\ncommander_1.command('test')\n    .description('Run unit tests through jest')\n    .option('--watch', 'Watch files for changes and rerun tests related to changed files')\n    .option('--clearCache', 'Clears the configured Jest cache directory and then exits')\n    .action(jest_1.test);\ncommander_1.command('clean')\n    .description('Clean all dist files')\n    .action(clean_1.clean);\ncommander_1.command('build')\n    .description('Compile components in production mode')\n    .option('--watch', 'Watch file change')\n    .option('-m , --mobile', 'is mobile library')\n    .action(build_1.build);\ncommander_1.command('build-site')\n    .description('Compile site in production mode')\n    .option('-m , --mobile', 'is mobile library')\n    .action(build_site_1.buildSite);\ncommander_1.command('commit-lint')\n    .description('Lint commit message')\n    .action(commit_lint_1.commitLint);\ncommander_1.parse();\n"]}