Skip to content

Commit e89aa6d

Browse files
fix(lib): copying LICENSE file to output build
1 parent ff82dd9 commit e89aa6d

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

package-lock.json

+9-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"release": "standard-version",
77
"ng": "ng",
88
"start": "ng serve --project sample -o",
9-
"build": "npm run prettier && ng build --prod --project lib && npm run copy:readme && npm run docs",
9+
"build": "npm run prettier && ng build --prod --project lib && npm run copy:readme && npm run copy:license && npm run docs",
1010
"build:jwks": "npm run prettier && ng build angular-oauth2-oidc-jwks --ts-config tsconfig.npm.json",
1111
"test": "ng test",
1212
"lint": "ng lint",
@@ -19,6 +19,7 @@
1919
"docs:watch": "npm run docs:build -- -s -w",
2020
"format": "prettier --single-quote --write projects/**/*.ts",
2121
"copy:readme": "cpr README.md dist/lib/README.md --overwrite",
22+
"copy:license": "cpr LICENSE dist/lib/LICENSE --overwrite",
2223
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
2324
"contributer": "git shortlog -s 9.0.0..HEAD"
2425
},

0 commit comments

Comments
 (0)