UNPKG

@theintern/dev

Version:

Development support scripts for Intern projects.

21 lines 545 B
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var common_1 = require("./common"); var chalk_1 = tslib_1.__importDefault(require("chalk")); common_1.log('Linting'); try { common_1.lint(); } catch (error) { if (error.name === 'ExecError') { common_1.log(chalk_1.default.red(error.stdout)); process.exitCode = error.code; } else { throw error; } } common_1.log('Done linting'); //# sourceMappingURL=intern-dev-lint.js.map