Skip to content

Commit 91af58f

Browse files
committed
feat(angular.json): add ngx-restangular library config
1 parent 12db199 commit 91af58f

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

angular.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,46 @@
6868
}
6969
}
7070
}
71+
},
72+
"ngx-restangular": {
73+
"root": "projects/ngx-restangular",
74+
"sourceRoot": "projects/ngx-restangular/src",
75+
"projectType": "library",
76+
"prefix": "lib",
77+
"architect": {
78+
"build": {
79+
"builder": "@angular-devkit/build-ng-packagr:build",
80+
"options": {
81+
"tsConfig": "projects/ngx-restangular/tsconfig.lib.json",
82+
"project": "projects/ngx-restangular/ng-package.json"
83+
},
84+
"configurations": {
85+
"production": {
86+
"project": "projects/ngx-restangular/ng-package.prod.json"
87+
}
88+
}
89+
},
90+
"test": {
91+
"builder": "@angular-devkit/build-angular:karma",
92+
"options": {
93+
"main": "projects/ngx-restangular/src/test.ts",
94+
"tsConfig": "projects/ngx-restangular/tsconfig.spec.json",
95+
"karmaConfig": "projects/ngx-restangular/karma.conf.js"
96+
}
97+
},
98+
"lint": {
99+
"builder": "@angular-devkit/build-angular:tslint",
100+
"options": {
101+
"tsConfig": [
102+
"projects/ngx-restangular/tsconfig.lib.json",
103+
"projects/ngx-restangular/tsconfig.spec.json"
104+
],
105+
"exclude": [
106+
"**/node_modules/**"
107+
]
108+
}
109+
}
110+
}
71111
}
72112
},
73113
"defaultProject": "ngx-restangular Demo App",

0 commit comments

Comments
 (0)