Skip to content

Commit

Permalink
chore(package): upgrade ng-packagr to v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
toverux committed Mar 5, 2018
1 parent 3957198 commit 2cd26a2
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 464 deletions.
11 changes: 0 additions & 11 deletions ng-package.json

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -11,7 +11,7 @@
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"packagr": "ng-packagr -p ng-package.json",
"packagr": "ng-packagr -p src/package.json",
"semantic-release": "cd dist && semantic-release; cd ..",
"travis-deploy-once": "travis-deploy-once"
},
Expand Down Expand Up @@ -46,7 +46,7 @@
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "^1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"ng-packagr": "^1.5.0-rc.1",
"ng-packagr": "^2.1.0",
"semantic-release": "^12.2.5",
"sweetalert2": "^7.8.0",
"travis-deploy-once": "^4.3.3",
Expand Down
10 changes: 10 additions & 0 deletions src/package.json
Expand Up @@ -10,5 +10,15 @@
"@angular/common": "^4.0.0 || ^5.0.0",
"rxjs": "^5.0.0",
"sweetalert2": "^7.8.0"
},
"ngPackage": {
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
"dest": "../dist",
"lib": {
"entryFile": "public_api.ts",
"umdModuleIds": {
"sweetalert2": "swal"
}
}
}
}

0 comments on commit 2cd26a2

Please sign in to comment.