UNPKG

@elsikora/setup-wizard

Version:

Setup Wizard - CLI scaffolding utility

35 lines (33 loc) 982 B
#!/usr/bin/env node const ESLINT_CONFIG_SCRIPTS = { lint: { command: (lintPaths) => `eslint ${lintPaths.length > 0 ? lintPaths.join(" ") : "."}`, name: "lint", }, lintAll: { command: () => "npm run lint && npm run lint:types", name: "lint:all", }, lintAllFix: { command: () => "npm run lint:fix && npm run lint:types:fix", name: "lint:all:fix", }, lintFix: { command: (lintPaths) => `eslint --fix ${lintPaths.length > 0 ? lintPaths.join(" ") : "."}`, name: "lint:fix", }, lintTypes: { command: () => "tsc --noEmit", name: "lint:types", }, lintTypesFix: { command: () => "tsc --noEmit --skipLibCheck", name: "lint:types:fix", }, lintWatch: { command: (lintPaths) => `npx eslint-watch ${lintPaths.join(" ")}`, name: "lint:watch", }, }; export { ESLINT_CONFIG_SCRIPTS }; //# sourceMappingURL=scripts.constant.js.map