Skip to content

Commit a8091d1

Browse files
author
Georgi Peltekov
committed
trying to fix travis build
1 parent c35c33e commit a8091d1

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ branches:
1414
# We're also doing the install step here too, as we need
1515
# the results of previous builds to install future builds
1616
script:
17-
- ng new drop-test
18-
&& npm install -g ngx-file-drop
19-
&& ng build
17+
- npm install
18+
&& npm install -g ngx-file-drop
19+
&& npm run packagr
2020
# Notifications
2121
notifications:
2222
email:

angular.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@
1212
"builder": "@angular-devkit/build-angular:browser",
1313
"options": {
1414
"outputPath": "dist",
15-
"index": "src/sandbox/index.html",
16-
"main": "src/sandbox/main.ts",
15+
"index": "src/lib/index.html",
16+
"main": "src/lib/ngx-drop/index.ts",
1717
"tsConfig": "src/tsconfig.app.json",
18-
"polyfills": "src/sandbox/polyfills.ts",
1918
"assets": [
2019

21-
],
22-
"styles": [
23-
"src/sandbox/styles.scss"
2420
],
2521
"scripts": []
2622
},
@@ -37,8 +33,8 @@
3733
"buildOptimizer": true,
3834
"fileReplacements": [
3935
{
40-
"replace": "src/sandbox/environments/environment.ts",
41-
"with": "src/sandbox/environments/environment.prod.ts"
36+
"replace": "src/lib/environments/environment.ts",
37+
"with": "src/lib/environments/environment.prod.ts"
4238
}
4339
]
4440
}

0 commit comments

Comments
 (0)