biblatex-csl-converter
Version:
Bibliography format converter: BibLaTeX, BibTeX, CSL-JSON, RIS, ENW, EndNote XML, Citavi, DOCX citations, ODT citations — parse, convert, and export with round-trip fidelity
119 lines (118 loc) • 4.8 kB
JSON
{
"name": "biblatex-csl-converter",
"type": "module",
"version": "3.6.0",
"description": "Bibliography format converter: BibLaTeX, BibTeX, CSL-JSON, RIS, ENW, EndNote XML, Citavi, DOCX citations, ODT citations — parse, convert, and export with round-trip fidelity",
"main": "lib/index.cjs",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": "./lib/index.js",
"require": "./lib/index.cjs",
"types": "./lib/index.d.ts"
}
},
"files": [
"lib/",
"browser/",
"src/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/fiduswriter/biblatex-csl-converter.git"
},
"keywords": [
"bibtex",
"biblatex",
"citations",
"csl",
"csl-json",
"citavi",
"citeproc",
"bibliography",
"reference-management",
"citation-manager",
"ris",
"endnote",
"enw",
"citavi",
"zotero",
"mendeley",
"jabref",
"docx",
"odt",
"latex",
"converter",
"parser",
"i18n",
"typescript"
],
"author": "Johannes Wilm",
"contributors": [
"Henrik Muehe",
"Takuto Kojima <mail@takutokojima.com>",
"Emiliano Heyns <emiliano.heyns@iris-advies.com>",
"Johannes Wilm <mail@johanneswilm.org>",
"Daniel Drodt <daniel@drodt.info>"
],
"license": "LGPL-3.0",
"bugs": {
"url": "https://github.com/fiduswriter/biblatex-csl-converter/issues"
},
"homepage": "https://github.com/fiduswriter/biblatex-csl-converter#readme",
"engines": {
"node": ">=22"
},
"scripts": {
"lint": "biome check src/ test/",
"format": "biome format --write src/ test/",
"pretest": "npm run lint",
"compile_i18n": "node --experimental-strip-types scripts/build-i18n.ts",
"compile": "npm run compile_lib && npm run compile_bundle && npm run compile_demo && npm run compile_browser && npm run compile_types",
"compile_lib": "rollup -c rollup.config.es.ts --output.file lib/index.js",
"compile_bundle": "rollup src/index.ts --config --output.format cjs --output.file lib/index.cjs --output.sourcemap true",
"compile_types": "rollup src/index.ts -c rollup.config.dts.ts",
"compile_demo": "rollup src/entries/demo.ts --config --output.format iife --output.file demo/demo.js",
"compile_browser": "npm run compile_browser-export-biblatex && npm run compile_browser-export-csl && npm run compile_browser-import-biblatex && npm run compile_browser-import-csl && npm run compile_browser-biblatex-csl-converter",
"compile_browser-biblatex-csl-converter": "rollup src/entries/browser-biblatex-csl-converter.ts --config --output.format iife --output.file browser/biblatex-csl-converter.js",
"compile_browser-export-biblatex": "rollup src/entries/browser-export-biblatex.ts --config --output.format iife --output.file browser/export-biblatex.js",
"compile_browser-export-csl": "rollup src/entries/browser-export-csl.ts --config --output.format iife --output.file browser/export-csl.js",
"compile_browser-import-biblatex": "rollup src/entries/browser-import-bibtex.ts --config --output.format iife --output.file browser/import-bibtex.js",
"compile_browser-import-csl": "rollup src/entries/browser-import-csl.ts --config --output.format iife --output.file browser/import-csl.js",
"prepare": "npm run lint && npm run compile",
"test": "mocha",
"test:coverage": "c8 mocha",
"postversion": "echo remember to run 'git push --follow-tags'"
},
"dependencies": {
"xregexp": "^5.1.2"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/plugin-transform-runtime": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@babel/runtime": "^7.29.2",
"@biomejs/biome": "^2.4.13",
"@rollup/plugin-babel": "^7.0.0",
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@xmldom/xmldom": "^0.9.10",
"benchmark": "^2.1.4",
"c8": "^10.1.3",
"chai": "^6.2.2",
"mocha": "^11.7.5",
"prettier-cli": "^0.1.0",
"rollup": "^4.60.2",
"rollup-plugin-dts": "^6.4.1",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-polyfill-node": "^0.13.0",
"tslib": "^2.8.1",
"tsx": "^4.21.0",
"typescript": "^6.0.3",
"updates": "^17.16.7"
}
}