Skip to content

Commit f1b0c20

Browse files
feats: add gh-layout module
1 parent e1e3e84 commit f1b0c20

34 files changed

+1480
-105
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ install:
88
- npm i
99
script:
1010
- npx ng lint
11+
- npx ng test @angeeks/gh-layout --watch=false
12+
- npx ng build @angeeks/gh-layout --prod
1113
- npx ng test gh-layout --watch=false
1214
- npx ng build gh-layout --prod --base-href gh-layout
1315
cache:

angular.json

+40
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,46 @@
120120
}
121121
}
122122
}
123+
},
124+
"@angeeks/gh-layout": {
125+
"root": "projects/angeeks/gh-layout",
126+
"sourceRoot": "projects/angeeks/gh-layout/src",
127+
"projectType": "library",
128+
"prefix": "lib",
129+
"architect": {
130+
"build": {
131+
"builder": "@angular-devkit/build-ng-packagr:build",
132+
"options": {
133+
"tsConfig": "projects/angeeks/gh-layout/tsconfig.lib.json",
134+
"project": "projects/angeeks/gh-layout/ng-package.json"
135+
},
136+
"configurations": {
137+
"production": {
138+
"project": "projects/angeeks/gh-layout/ng-package.prod.json"
139+
}
140+
}
141+
},
142+
"test": {
143+
"builder": "@angular-devkit/build-angular:karma",
144+
"options": {
145+
"main": "projects/angeeks/gh-layout/src/test.ts",
146+
"tsConfig": "projects/angeeks/gh-layout/tsconfig.spec.json",
147+
"karmaConfig": "projects/angeeks/gh-layout/karma.conf.js"
148+
}
149+
},
150+
"lint": {
151+
"builder": "@angular-devkit/build-angular:tslint",
152+
"options": {
153+
"tsConfig": [
154+
"projects/angeeks/gh-layout/tsconfig.lib.json",
155+
"projects/angeeks/gh-layout/tsconfig.spec.json"
156+
],
157+
"exclude": [
158+
"**/node_modules/**"
159+
]
160+
}
161+
}
162+
}
123163
}
124164
},
125165
"defaultProject": "gh-layout"

0 commit comments

Comments
 (0)