Skip to content

Commit 8dcd996

Browse files
nickrobertshansl
authored andcommitted
fix: package.json use sourceDir for new command
1 parent eabc160 commit 8dcd996

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addon/ng2/blueprints/ng2/files/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"scripts": {
77
"start": "ng server",
88
"postinstall": "typings install",
9-
"lint": "tslint \"src/**/*.ts\"",
10-
"format": "clang-format -i -style=file --glob=src/**/*.ts",
9+
"lint": "tslint \"<%= sourceDir %>/**/*.ts\"",
10+
"format": "clang-format -i -style=file --glob=<%= sourceDir %>/**/*.ts",
1111
"test": "ng test",
1212
"pree2e": "webdriver-manager update",
1313
"e2e": "protractor"

0 commit comments

Comments
 (0)