From 761e86f2224c718f62dcc100059096d5752c0726 Mon Sep 17 00:00:00 2001 From: "Meligy, GuruStop.NET" Date: Sun, 13 Nov 2016 15:34:57 +1100 Subject: [PATCH] feat: Make CLI available without install This small change will allow consumers of the CLI to have their projects shared with anyone, even if they don't have the CLI installed. They just clone, and run `npm install`, and then they can all interesting stuff they want directly from the CLI by using `npm run ng -- ` instead of `ng`. It also helps people who may have multiple projects created by the CLI not all upgraded to the latest version, matching their global install. Close #3126 --- packages/angular-cli/blueprints/ng2/files/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/angular-cli/blueprints/ng2/files/package.json b/packages/angular-cli/blueprints/ng2/files/package.json index 15a09f09d88d..2d65e56e2cbf 100644 --- a/packages/angular-cli/blueprints/ng2/files/package.json +++ b/packages/angular-cli/blueprints/ng2/files/package.json @@ -4,6 +4,7 @@ "license": "MIT", "angular-cli": {}, "scripts": { + "ng": "ng", "start": "ng serve", "lint": "tslint \"<%= sourceDir %>/**/*.ts\"", "test": "ng test",