Ensure Flo lib is ivy compiled. Use ng-packagr to build flo

This commit is contained in:
BoykoAlex
2020-02-10 23:02:52 -05:00
parent c5752304ed
commit 7334fc3f70
17 changed files with 9371 additions and 7052 deletions

41
src/lib/package.json Normal file
View File

@@ -0,0 +1,41 @@
{
"name": "spring-flo",
"version": "0.9.0",
"description": "Library for quickly building text DSL visualization diagram editor",
"author": "Andy Clement, Alex Boyko",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/spring-projects/spring-flo.git"
},
"engines": {
"node": ">= 6.9.0",
"npm": ">= 3.0.0"
},
"dependencies": {
"codemirror-minified": "5.49.2",
"jointjs": "3.1.0",
"ts-disposables": "2.2.3"
},
"peerDependencies": {
"@angular/core": ">=9.0.0 <10.0.0",
"@angular/forms": ">=9.0.0 < 10.0.0",
"@angular/common": ">=9.0.0 <10.0.0",
"rxjs": ">=6.0.0 <7.0.0"
},
"ngPackage": {
"assets": [
"styles.scss"
],
"lib": {
"entryFile": "./index.ts"
},
"whitelistedNonPeerDependencies": [
"codemirror-minified",
"jointjs",
"ts-disposables"
],
"dest": "../../dist/lib",
"deleteDestPath": true
}
}