Skip to content

Commit

Permalink
add script
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Gibbons committed Feb 24, 2025
1 parent a3b8cf9 commit 8cd9d89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test": "TZ=utc mocha --require @babel/register --recursive",
"build": "rm -r dist; gulp build",
"build:ts": "tsc",
"build:ts:watch": "tsc --watch"
"build:ts:watch": "tsc --watch",
"scripts:printEvent": "node dist/scripts/printEvent.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 0 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { IEventComponent } from "./components/event.component";
import { createEvent } from "./components/event.component";
import { createCalendar, ICalendar } from "./components/calendar.component";
// import testEvent from "./fixtures.test.json";
import { printEvent } from "./components/event.component";

export interface IIanaComponent {
Expand All @@ -11,6 +10,3 @@ export interface IIanaComponent {
export function printVEvent(event: IEventComponent, calendar: ICalendar) {
return printEvent(createEvent(event), createCalendar(calendar));
}

// printEvent(createEvent(testEvent as IEventComponent), createCalendar({}));

0 comments on commit 8cd9d89

Please sign in to comment.