code: function queryTargetScripts(targetDir) {
          var scripts = [];
          fs.readdirSync(targetDir).forEach(function (file) {
              if (!path.basename(file).toLowerCase().match(/.d.ts/g) && path.basename(file).toLowerCase().match(/\.ts$/i)) {
                  scripts.push(path.basename(file, path.extname(file)));
              }
          });
          return scripts;
      }
docs: query build target scripts.