UNPKG

@yolkai/nx-schematics

Version:

Extensible Dev Tools for Monorepos: Schematics

12 lines (11 loc) 443 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const nx_workspace_1 = require("@yolkai/nx-workspace"); exports.default = { description: 'Run lint checks ensuring the integrity of the workspace', run: () => { nx_workspace_1.updateJsonFile('package.json', json => { json.scripts = Object.assign({}, json.scripts, { lint: './node_modules/.bin/nx lint && ng lint' }); }); } };