UNPKG

@dizmo/generator-component

Version:

@dizmo/component: a web component generator for JavaScript, CoffeeScript and TypeScript

11 lines (9 loc) 272 B
const { arg, npm, npx } = require('./run-utils'); const { exit } = require('process'); const lint = () => npx( 'coffeelint', '-qf', 'coffeelint.json', 'lib', 'test' ); if (require.main === module) { npm('install').then(lint).catch(exit); } module.exports = lint;