@nrwl/schematics
Version:
12 lines (11 loc) • 432 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const workspace_1 = require("@nrwl/workspace");
exports.default = {
description: 'Run lint checks ensuring the integrity of the workspace',
run: () => {
workspace_1.updateJsonFile('package.json', json => {
json.scripts = Object.assign({}, json.scripts, { lint: './node_modules/.bin/nx lint && ng lint' });
});
}
};