Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Renamed license file to "LICENSE" and added reference to ng-packagr
Browse files Browse the repository at this point in the history
  • Loading branch information
michadvorak-cen38289 committed Feb 13, 2018
1 parent af63a2f commit fec08d7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ng": "ng",
"start": "ng serve --proxy-config=proxy.conf.js",
"prebuild": "ng lint",
"build": "ng-packagr -p src/lib/ng-package.json && cpr README.md dist/angular-resource-router/README.md && cpr LICENSE.txt dist/angular-resource-router/LICENSE.txt",
"build": "ng-packagr -p src/lib/ng-package.json && cpr README.md dist/angular-resource-router/README.md && cpr LICENSE dist/angular-resource-router/LICENSE",
"postbuild": "ng test --watch=false",
"buildapp": "ng build --target=production --env=prod --sourcemaps",
"pretest": "ng-packagr -p src/lib/ng-package.json",
Expand Down
1 change: 1 addition & 0 deletions src/lib/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"workingDirectory": "../../.ng_pkg_build",
"lib": {
"entryFile": "public_api.ts",
"licensePath": "../../LICENSE",
"externals": {
"angular-resource-router": "angular-resource-router"
}
Expand Down
3 changes: 2 additions & 1 deletion src/lib/testing/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"ngPackage": {
"lib": {
"entryFile": "public_api.ts"
"entryFile": "public_api.ts",
"licensePath": "../../../LICENSE"
}
}
}

0 comments on commit fec08d7

Please sign in to comment.