martijnversluis/ChordSheetJS

View on GitHub
src/index.ts

Summary

Maintainability
A
0 mins
Test Coverage
import Chord from './chord';
import ChordDefinition from './chord_sheet/chord_pro/chord_definition';
import ChordLyricsPair from './chord_sheet/chord_lyrics_pair';
import ChordProFormatter from './formatter/chord_pro_formatter';
import ChordProParser from './parser/chord_pro_parser';
import ChordSheetParser from './parser/chord_sheet_parser';
import ChordSheetSerializer from './chord_sheet_serializer';
import ChordsOverWordsFormatter from './formatter/chords_over_words_formatter';
import ChordsOverWordsParser from './parser/chords_over_words_parser';
import Comment from './chord_sheet/comment';
import Composite from './chord_sheet/chord_pro/composite';
import HtmlDivFormatter from './formatter/html_div_formatter';
import HtmlTableFormatter from './formatter/html_table_formatter';
import Line from './chord_sheet/line';
import Literal from './chord_sheet/chord_pro/literal';
import Metadata from './chord_sheet/metadata';
import Paragraph from './chord_sheet/paragraph';
import SoftLineBreak from './chord_sheet/soft_line_break';
import Song from './chord_sheet/song';
import Tag from './chord_sheet/tag';
import Ternary from './chord_sheet/chord_pro/ternary';
import TextFormatter from './formatter/text_formatter';
import UltimateGuitarParser from './parser/ultimate_guitar_parser';

import {
  each,
  evaluate,
  fontStyleTag,
  hasChordContents,
  hasTextContents,
  isChordLyricsPair,
  isComment,
  isEvaluatable,
  isTag,
  lineClasses,
  lineHasContents,
  paragraphClasses,
  renderChord,
  stripHTML,
  when,
} from './template_helpers';

import {
  CHORUS,
  INDETERMINATE,
  NONE,
  TAB,
  VERSE,
} from './constants';

export { default as Chord } from './chord';
export { default as ChordDefinition } from './chord_sheet/chord_pro/chord_definition';
export { default as ChordLyricsPair } from './chord_sheet/chord_lyrics_pair';
export { default as ChordProFormatter } from './formatter/chord_pro_formatter';
export { default as ChordProParser } from './parser/chord_pro_parser';
export { default as ChordSheetParser } from './parser/chord_sheet_parser';
export { default as ChordSheetSerializer } from './chord_sheet_serializer';
export { default as ChordsOverWordsFormatter } from './formatter/chords_over_words_formatter';
export { default as ChordsOverWordsParser } from './parser/chords_over_words_parser';
export { default as Comment } from './chord_sheet/comment';
export { default as Composite } from './chord_sheet/chord_pro/composite';
export { default as Formatter } from './formatter/formatter';
export { default as HtmlDivFormatter } from './formatter/html_div_formatter';
export { default as HtmlFormatter } from './formatter/html_formatter';
export { default as HtmlTableFormatter } from './formatter/html_table_formatter';
export { default as Key } from './key';
export { default as Line } from './chord_sheet/line';
export { default as Literal } from './chord_sheet/chord_pro/literal';
export { default as Metadata } from './chord_sheet/metadata';
export { default as Paragraph } from './chord_sheet/paragraph';
export { default as SoftLineBreak } from './chord_sheet/soft_line_break';
export { default as Song } from './chord_sheet/song';
export { default as Tag } from './chord_sheet/tag';
export { default as Ternary } from './chord_sheet/chord_pro/ternary';
export { default as TextFormatter } from './formatter/text_formatter';
export { default as UltimateGuitarParser } from './parser/ultimate_guitar_parser';
export { default as templateHelpers } from './template_helpers';

export {
  ABC,
  CHORUS,
  INDETERMINATE,
  LILYPOND,
  NONE,
  NUMERIC,
  SOLFEGE,
  SYMBOL,
  TAB,
  VERSE,
  NUMERAL,
} from './constants';

export default {
  CHORUS,
  Chord,
  ChordDefinition,
  ChordLyricsPair,
  ChordProFormatter,
  ChordProParser,
  ChordSheetParser,
  ChordSheetSerializer,
  ChordsOverWordsFormatter,
  ChordsOverWordsParser,
  Comment,
  Composite,
  HtmlDivFormatter,
  HtmlTableFormatter,
  INDETERMINATE,
  Line,
  Literal,
  Metadata,
  NONE,
  Paragraph,
  SoftLineBreak,
  Song,
  TAB,
  Tag,
  Ternary,
  TextFormatter,
  UltimateGuitarParser,
  VERSE,
  templateHelpers: {
    isEvaluatable,
    isChordLyricsPair,
    lineHasContents,
    isTag,
    isComment,
    stripHTML,
    each,
    when,
    hasTextContents,
    lineClasses,
    paragraphClasses,
    evaluate,
    fontStyleTag,
    renderChord,
    hasChordContents,
  },
};