fix dependencies and build destination
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
||||
"dest": "../../dist/nls-guilloche",
|
||||
"dest": "../../dist/nls-guilloche-dev",
|
||||
"deleteDestPath": false,
|
||||
"lib": {
|
||||
"entryFile": "src/public_api.ts"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
||||
"dest": "../../dist/nls",
|
||||
"dest": "../../dist/nls-guilloche",
|
||||
"lib": {
|
||||
"entryFile": "src/public_api.ts"
|
||||
}
|
||||
|
||||
@@ -26,11 +26,9 @@
|
||||
"url": "https://dailysh.it"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"d3": "^5.3.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/common": "^6.0.0-rc.0 || ^6.0.0",
|
||||
"@angular/core": "^6.0.0-rc.0 || ^6.0.0"
|
||||
"@angular/core": "^6.0.0-rc.0 || ^6.0.0",
|
||||
"d3": "^5.3.0"
|
||||
}
|
||||
}
|
||||
|
||||
30
projects/nls-guilloche/src/nls/nls-guilloche.module.ts
Normal file
30
projects/nls-guilloche/src/nls/nls-guilloche.module.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { NgModule } from '@angular/core';
|
||||
|
||||
import { NlsGraphsComponent } from './components/graphs.component';
|
||||
import { NlsGuillocheDirective } from './directives/guilloche.directive';
|
||||
import { NlsHistoryService } from './services/history.service';
|
||||
import { NlsCanvasService } from './services/canvas.service';
|
||||
import { NlsMathService } from './services/math.service';
|
||||
import { NlsGraphService } from './services/graph.service';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
BrowserModule
|
||||
],
|
||||
declarations: [
|
||||
NlsGraphsComponent,
|
||||
NlsGuillocheDirective
|
||||
],
|
||||
providers: [
|
||||
NlsHistoryService,
|
||||
NlsCanvasService,
|
||||
NlsMathService,
|
||||
NlsGraphService,
|
||||
],
|
||||
exports: [
|
||||
NlsGraphsComponent,
|
||||
NlsGuillocheDirective
|
||||
]
|
||||
})
|
||||
export class NlsGuillocheModule {}
|
||||
@@ -13,3 +13,4 @@ export * from './nls/services/canvas.service';
|
||||
export * from './nls/services/graph.service';
|
||||
export * from './nls/services/history.service';
|
||||
export * from './nls/services/math.service';
|
||||
export * from './nls/nls-guilloche.module';
|
||||
|
||||
Reference in New Issue
Block a user