UNPKG

usfm-grammar-web

Version:

Uses the tree-sitter-usfm3 parser to convert USFM files to other formats such as USJ, USX, and CS, and converts them back to USFM.

60 lines (59 loc) 1.54 kB
{ "name": "usfm-grammar-web", "version": "3.2.0", "description": "Uses the tree-sitter-usfm3 parser to convert USFM files to other formats such as USJ, USX, and CS, and converts them back to USFM.", "type": "module", "module": "dist/bundle.mjs", "alias": { "fs": false, "process": false, "path": false }, "source": "src/index.js", "scripts": { "build": "parcel build src/index.js", "test": "mocha --parallel --timeout 40000", "lint": "eslint src --ext .js,.mjs,.cjs --config eslint.config.js", "flame": "0x -o" }, "files": [ "dist/", "tree-sitter-usfm.wasm", "tree-sitter.wasm" ], "repository": { "type": "git", "url": "https://github.com/Bridgeconn/usfm-grammar" }, "keywords": [ "USFM", "tree-sitter", "USJ", "Parser" ], "author": "BCS Team", "contributors": [ "Kavitha Raju <kavitha.raju@bridgeconn.com> (https://github.com/kavitharaju)", "Joel Mathew <joel@bridgeconn.com> (https://github.com/joelthe1)", "Samuel JD <samuelj.ernest@gmail.com> (https://github.com/samueljd)" ], "license": "MIT", "devDependencies": { "@babel/core": "^7.29.0", "0x": "^6.0.0", "eslint": "^10.0.3", "glob": "^13.0.6", "mitata": "^1.0.34", "mocha": "^11.7.5", "parcel": "^2.16.4", "path-browserify": "^1.0.1", "process": "^0.11.10", "web-tree-sitter": "^0.25.10", "xml2js": "^0.6.2" }, "dependencies": { "@xmldom/xmldom": "^0.8.11", "ajv": "^8.18.0", "xpath": "^0.0.34" } }