-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.98 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "best-bible",
"version": "1.6.6",
"description": "Fetch, parse, and analyze the Bible easily with JavaScript",
"scripts": {
"build:cjs": "tsc --project tsconfig.cjs.json || true && mkdir -p dist/cjs/data && cp src/data/bible.json dist/cjs/data/",
"build:esm": "tsc --project tsconfig.esm.json || true && mkdir -p dist/esm/data && cp src/data/bible.json dist/esm/data/",
"build:browser": "esbuild src/browser.ts --bundle --minify --sourcemap --format=iife --platform=browser --target=es2015 --outfile=dist/browser/best-bible.min.js",
"minify:cjs": "find dist/cjs -name '*.js' -type f -exec terser {} --compress --mangle --output {} \\;",
"minify:esm": "find dist/esm -name '*.js' -type f -exec terser {} --compress --mangle --output {} \\;",
"build": "npm run build:cjs && npm run build:esm && npm run build:browser && npm run minify:cjs && npm run minify:esm",
"prepublishOnly": "npm run build"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"browser": "./dist/browser/best-bible.min.js",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
}
},
"browser": "./dist/browser/best-bible.min.js",
"repository": {
"type": "git",
"url": "git+https://github.com/The-Best-Codes/best-bible.git"
},
"keywords": [
"bible",
"jesus",
"christ",
"christian",
"christianity",
"verse",
"kjv"
],
"author": "The-Best-Codes",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/The-Best-Codes/best-bible/issues"
},
"homepage": "https://github.com/The-Best-Codes/best-bible#readme",
"devDependencies": {
"@types/node": "^22.8.2",
"esbuild": "^0.24.0",
"esm": "^3.2.25",
"fs": "^0.0.1-security",
"path": "^0.12.7",
"terser": "^5.36.0",
"typescript": "^5.6.3"
}
}