Skip to content

Commit

Permalink
Merge pull request #35 from Bridgeconn/dev
Browse files Browse the repository at this point in the history
link the correct main parser file in package.json
  • Loading branch information
joelthe1 authored Jul 29, 2019
2 parents 8c5e1f4 + 14983f9 commit cb51ff0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions js/parser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const parseUSFM = require('./USFMparser.js').parseUSFM
const parseJSON = require('./JSONparser.js').parseJSON

exports.parseUSFM =parseUSFM
exports.parseJSON =parseJSON
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "usfm-grammar",
"description": "A simple usfm parser/validator that uses a grammar to model the usfm syntax. The grammar is written in ohm-js(https://ohmlang.github.io/). The USFM3.0 syntax is supported. The parser outputs the USFM content in a json structure which gives importance to the easy extraction of scripture content from the mark-ups and additional usfm contents.",
"version": "1.1.0-beta.1",
"main": "parser.js",
"version": "1.1.0-beta.2",
"main": "./js/parser.js",
"scripts": {
"test": "mocha",
"start": "node ../server.js"
Expand Down

0 comments on commit cb51ff0

Please sign in to comment.