Skip to content

Commit 761e86f

Browse files
Meligyfilipesilva
authored andcommitted
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
1 parent a1ccf23 commit 761e86f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/angular-cli/blueprints/ng2/files/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"license": "MIT",
55
"angular-cli": {},
66
"scripts": {
7+
"ng": "ng",
78
"start": "ng serve",
89
"lint": "tslint \"<%= sourceDir %>/**/*.ts\"",
910
"test": "ng test",

0 commit comments

Comments
 (0)