-
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ng packagr for angular plugin (#223)
* Update angular-imask (#212) * Update angular-imask * Fix build * Fix build * Remove unused angularCompilerOptions * Remove tslib * Update README.md * update deps * fix angular plugin build * angular: fix umd Id * fix angular plugin build
- Loading branch information
Showing
8 changed files
with
75 additions
and
67 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
!README.md | ||
!dist | ||
!dist/**/* | ||
dist/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "./node_modules/ng-packagr/ng-package.schema.json", | ||
"dest": "dist", | ||
"lib": { | ||
"entryFile": "src/index.ts", | ||
"umdModuleIds": { | ||
"imask": "IMask" | ||
} | ||
}, | ||
"whitelistedNonPeerDependencies": ["imask"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"target": "es2015", | ||
"module": "es2015", | ||
"target": "es5", | ||
"moduleResolution": "node", | ||
"declaration": true, | ||
"sourceMap": true, | ||
"inlineSources": true, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"allowSyntheticDefaultImports": true, | ||
"esModuleInterop": true, | ||
"stripInternal": true, | ||
"declaration": true, | ||
"outDir": "dist", | ||
"lib": ["es2015", "dom"], | ||
"strict": true, | ||
"baseUrl": ".", | ||
"paths": { | ||
"@angular/*": ["node_modules/@angular/*"], | ||
"rxjs/*": ["node_modules/rxjs/*"], | ||
"imask": ["../imask"] | ||
} | ||
}, | ||
"types": [], | ||
"lib": ["dom", "es2018"] | ||
}, | ||
"files": [ | ||
"src/index.ts" | ||
], | ||
"angularCompilerOptions": { | ||
"annotateForClosureCompiler": true, | ||
"skipTemplateCodegen": true, | ||
"skipMetadataEmit": false, | ||
"strictMetadataEmit" : true, | ||
"annotationsAs": "decorators" | ||
"strictMetadataEmit": true, | ||
"strictInjectionParameters": true | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.