scripture-guide 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +22 -3
- package/scriptures.js +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scripture-guide",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "A utility for biblical and scripture reference parsing that enables structured queries based on strings of traditional scripture references (e.g. John 3:16). ",
|
|
5
5
|
"main": "scriptures.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,9 +9,28 @@
|
|
|
9
9
|
},
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
|
+
"homepage": "https://scripture.guide",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git://github.com/kckern/ScriptureGuideUtils.git"
|
|
16
|
+
},
|
|
12
17
|
"dependencies": {
|
|
13
18
|
"path": "^0.12.7"
|
|
14
19
|
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
|
|
20
|
+
"keywords": [
|
|
21
|
+
"bible",
|
|
22
|
+
"old testament",
|
|
23
|
+
"new testament",
|
|
24
|
+
"scripture",
|
|
25
|
+
"reference",
|
|
26
|
+
"parsing",
|
|
27
|
+
"query",
|
|
28
|
+
"search",
|
|
29
|
+
"structured",
|
|
30
|
+
"string",
|
|
31
|
+
"lds",
|
|
32
|
+
"book of mormon",
|
|
33
|
+
"doctrine and covenants",
|
|
34
|
+
"pearl of great price"
|
|
35
|
+
]
|
|
17
36
|
}
|
package/scriptures.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
let raw_index = require(path.dirname(__filename) + '/data/scriptdata.js');
|
|
3
|
-
let raw_regex = require(path.dirname(__filename) + '/data/scriptregex.js');
|
|
4
|
-
|
|
5
1
|
|
|
2
|
+
const raw_index = require('./data/scriptdata.js');
|
|
3
|
+
const raw_regex = require('./data/scriptregex.js');
|
|
6
4
|
|
|
7
5
|
const lookupReference = function(query) {
|
|
8
6
|
|