@yolkai/nx-schematics
Version:
12 lines (11 loc) • 443 B
JavaScript
;
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' });
});
}
};