|
3 | 3 | "version": 1, |
4 | 4 | "newProjectRoot": "projects", |
5 | 5 | "projects": { |
6 | | - "angular-nodegui": { |
| 6 | + "angular-nodegui-app": { |
7 | 7 | "projectType": "application", |
8 | 8 | "schematics": { |
9 | 9 | "@schematics/angular:component": { |
|
17 | 17 | "build": { |
18 | 18 | "builder": "@angular-devkit/build-angular:browser", |
19 | 19 | "options": { |
20 | | - "outputPath": "dist/angular-nodegui", |
| 20 | + "outputPath": "dist/angular-nodegui-app", |
21 | 21 | "index": "src/index.html", |
22 | 22 | "main": "src/main.ts", |
23 | 23 | "polyfills": "src/polyfills.ts", |
|
60 | 60 | "serve": { |
61 | 61 | "builder": "@angular-devkit/build-angular:dev-server", |
62 | 62 | "options": { |
63 | | - "browserTarget": "angular-nodegui:build" |
| 63 | + "browserTarget": "angular-nodegui-app:build" |
64 | 64 | }, |
65 | 65 | "configurations": { |
66 | 66 | "production": { |
67 | | - "browserTarget": "angular-nodegui:build:production" |
| 67 | + "browserTarget": "angular-nodegui-app:build:production" |
68 | 68 | } |
69 | 69 | } |
70 | 70 | }, |
71 | 71 | "extract-i18n": { |
72 | 72 | "builder": "@angular-devkit/build-angular:extract-i18n", |
73 | 73 | "options": { |
74 | | - "browserTarget": "angular-nodegui:build" |
| 74 | + "browserTarget": "angular-nodegui-app:build" |
75 | 75 | } |
76 | 76 | }, |
77 | 77 | "test": { |
|
99 | 99 | "builder": "@angular-devkit/build-angular:protractor", |
100 | 100 | "options": { |
101 | 101 | "protractorConfig": "e2e/protractor.conf.js", |
102 | | - "devServerTarget": "angular-nodegui:serve" |
| 102 | + "devServerTarget": "angular-nodegui-app:serve" |
103 | 103 | }, |
104 | 104 | "configurations": { |
105 | 105 | "production": { |
106 | | - "devServerTarget": "angular-nodegui:serve:production" |
| 106 | + "devServerTarget": "angular-nodegui-app:serve:production" |
107 | 107 | } |
108 | 108 | } |
109 | 109 | } |
110 | 110 | } |
| 111 | + }, |
| 112 | + "angular-nodegui": { |
| 113 | + "projectType": "library", |
| 114 | + "root": "projects/angular-nodegui", |
| 115 | + "sourceRoot": "projects/angular-nodegui/src", |
| 116 | + "prefix": "lib", |
| 117 | + "architect": { |
| 118 | + "build": { |
| 119 | + "builder": "@angular-devkit/build-ng-packagr:build", |
| 120 | + "options": { |
| 121 | + "tsConfig": "projects/angular-nodegui/tsconfig.lib.json", |
| 122 | + "project": "projects/angular-nodegui/ng-package.json" |
| 123 | + } |
| 124 | + }, |
| 125 | + "test": { |
| 126 | + "builder": "@angular-devkit/build-angular:karma", |
| 127 | + "options": { |
| 128 | + "main": "projects/angular-nodegui/src/test.ts", |
| 129 | + "tsConfig": "projects/angular-nodegui/tsconfig.spec.json", |
| 130 | + "karmaConfig": "projects/angular-nodegui/karma.conf.js" |
| 131 | + } |
| 132 | + }, |
| 133 | + "lint": { |
| 134 | + "builder": "@angular-devkit/build-angular:tslint", |
| 135 | + "options": { |
| 136 | + "tsConfig": [ |
| 137 | + "projects/angular-nodegui/tsconfig.lib.json", |
| 138 | + "projects/angular-nodegui/tsconfig.spec.json" |
| 139 | + ], |
| 140 | + "exclude": [ |
| 141 | + "**/node_modules/**" |
| 142 | + ] |
| 143 | + } |
| 144 | + } |
| 145 | + } |
111 | 146 | } |
112 | 147 | }, |
113 | | - "defaultProject": "angular-nodegui" |
| 148 | + "defaultProject": "angular-nodegui-app" |
114 | 149 | } |
0 commit comments