mirror of
https://github.com/retorquere/zotero-better-bibtex.git
synced 2022-05-23 09:36:29 +03:00
172 lines
6.8 KiB
JSON
172 lines
6.8 KiB
JSON
{
|
|
"name": "zotero-better-bibtex",
|
|
"version": "6.7.1",
|
|
"description": "Make Zotero useful for us LaTeX holdouts.",
|
|
"homepage": "https://retorque.re/zotero-better-bibtex",
|
|
"license": "ISC",
|
|
"author": {
|
|
"name": "Emiliano Heyns",
|
|
"email": "Emiliano.Heyns@iris-advies.com"
|
|
},
|
|
"xpi": {
|
|
"name": "Better BibTex for Zotero",
|
|
"iconURL": "chrome://zotero-better-bibtex/skin/better-bibtex.svg",
|
|
"optionsURL": "chrome://zotero/content/preferences/preferences.xul#better-bibtex",
|
|
"updateLink": "https://github.com/retorquere/zotero-better-bibtex/releases/download/v{version}/zotero-better-bibtex-{version}.xpi",
|
|
"updateInfoURL": "https://github.com/retorquere/zotero-better-bibtex/releases/latest",
|
|
"releaseURL": "https://github.com/retorquere/zotero-better-bibtex/releases/download/release/"
|
|
},
|
|
"scripts": {
|
|
"pretest": "npm run build",
|
|
"test": "./test/behave --stop",
|
|
"formatter": "rm -f gen/test-pattern.js && ./pattern.js && node --enable-source-maps gen/test-pattern.js",
|
|
"lint": "eslint . --ext .ts --cache --cache-location .eslintcache/",
|
|
"scrub": "sed -i.bak -e '/Error: Translate: No RDF found/d' -e '/Error: Translate: Could not parse attachment path/d' -e '/Couldn.t read xref table/d' -e '/Couldn.t find trailer dictionary/d' -e '/Error: .*pdfinfo/d' -e '/Error: .*pdftotext/d' ~/.BBTZ5TEST.log",
|
|
"setup": "./setup/setup.py && ts-node setup/index.ts",
|
|
"prebuild": "npm install && npm run setup",
|
|
"build": "npm run rebuild",
|
|
"rebuild": "parallel --ungroup ::: 'npm run lint' 'npm run esbuild' 'npm run tsc'",
|
|
"postbuild": "./setup/patch-install-rdf.py && npm run zipup-better-bibtex && npm run zipup-debug-bridge",
|
|
"tsc": "tsc --noEmit",
|
|
"esbuild": "node esbuild.js",
|
|
"zipup-better-bibtex": "zotero-plugin-zipup build zotero-better-bibtex",
|
|
"zipup-debug-bridge": "zotero-plugin-zipup test/fixtures/debug-bridge debug-bridge",
|
|
"release-debug-bridge": "mkdir -p xpi && rm -f xpi/debug-bridge*xpi && npm run zipup-debug-bridge && github-release upload --owner retorquere --repo zotero-better-bibtex --tag debug-bridge xpi/debug-bridge*xpi",
|
|
"odfscan": "echo curl -L -o xpi/odfscan.xpi `curl -s https://api.github.com/repos/Juris-M/zotero-odf-scan-plugin/releases/latest | grep browser_download_url | cut -d '\"' -f 4`",
|
|
"jurism": "npm start -- --jurism",
|
|
"start": "./test/behave --keep --tags=@none",
|
|
"s3form": "zotero-plugin-s3form",
|
|
"release": "zotero-plugin-release \"$(<setup/release-message.md)\"",
|
|
"branches": "zotero-plugin-branches",
|
|
"fix-fixtures": "ts-node ./util/fix-test-fixtures.ts",
|
|
"preversion": "npm run docs:prep",
|
|
"postversion": "git push --follow-tags",
|
|
"running": "ps auxw | grep -i zotero | grep -v grep || true",
|
|
"docs:prep": "./setup/readme.py && ./setup/item.py && ./node_modules/.bin/ts-node setup/extract-apis.ts && ./setup/typedoc.py && ./setup/preferences.py",
|
|
"docs:serve": "npm run docs:prep && cd site && hugo serve",
|
|
"docs:serve:minimal": "cd site && hugo serve",
|
|
"docs:deploy": "npm run docs:prep && cd site && hugo --baseURL /zotero-better-bibtex",
|
|
"reinstall": "rm -rf node_modules yarn* && npm install",
|
|
"test:nightly": "./test/behave --tags @nightly",
|
|
"submodules": "git submodule update --init --recursive --remote && git submodule foreach git reset --hard && git submodule foreach git pull origin",
|
|
"preupgrades": "parallel --ungroup ::: './setup/bibertool.py' './setup/submodules.py' 'ncu --timeout 900001 -u && npm i' './setup/item.py'",
|
|
"upgrades": "git add package.json package-lock.json submodules/* site/themes/learn schema translators/bibtex/biber-tool.conf && git commit -m upgrades"
|
|
},
|
|
"main": "index.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"dependencies": {
|
|
"@artsy/to-title-case": "^1.1.0",
|
|
"@caeser1996/titlecase": "^3.0.2",
|
|
"@inkdropapp/html2markdown": "^2.6.5",
|
|
"@lifeparticle/ap-style-title-case": "^1.5.0",
|
|
"ajv": "^8.11.0",
|
|
"ast-types": "^0.14.2",
|
|
"better-ajv-errors": "^1.2.0",
|
|
"case": "^1.6.3",
|
|
"citeproc": "^2.4.62",
|
|
"edtf": "^4.1.0",
|
|
"edtfy": "^0.0.8",
|
|
"eventemitter3": "^4.0.7",
|
|
"fast-safe-stringify": "^2.1.1",
|
|
"fold-to-ascii": "^5.0.0",
|
|
"jsesc": "^3.0.2",
|
|
"kuromoji": "^0.1.2",
|
|
"lodash": "^4.17.21",
|
|
"ooooevan-jieba": "^1.0.3",
|
|
"p-queue": "^7.2.0",
|
|
"pako": "^2.0.4",
|
|
"papaparse": "^5.3.2",
|
|
"parse5": "^7.0.0",
|
|
"pinyin": "^2.11.2",
|
|
"punycode2": "^1.0.1",
|
|
"sprintf-js": "^1.1.2",
|
|
"tar-js": "^0.3.0",
|
|
"text-title-case": "^1.0.2",
|
|
"title": "^3.4.4",
|
|
"title-case": "^3.0.3",
|
|
"transliteration": "^2.2.0",
|
|
"xregexp": "^5.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@retorquere/bibtex-parser": "^6.3.5",
|
|
"@retorquere/zotero-sync": "^1.0.23",
|
|
"@types/bluebird": "^3.5.36",
|
|
"@types/lokijs": "^1.5.7",
|
|
"@types/node": "^17.0.35",
|
|
"@xmldom/xmldom": "^0.8.2",
|
|
"ajv-keywords": "^5.1.0",
|
|
"archiver": "^5.3.1",
|
|
"assert": "^2.0.0",
|
|
"barcoder": "^2.0.1",
|
|
"bluebird": "^3.7.2",
|
|
"clp": "^4.0.12",
|
|
"current-git-branch": "^1.1.0",
|
|
"dedent-js": "^1.0.1",
|
|
"deep-cleaner": "^1.2.1",
|
|
"diff": "^5.0.0",
|
|
"dom-parser": "^0.1.6",
|
|
"dotenv": "^16.0.1",
|
|
"ejs": "^3.1.8",
|
|
"esbuild": "^0.14.39",
|
|
"escape-string-regexp": "^5.0.0",
|
|
"eslint": "^8.15.0",
|
|
"estrace": "^4.0.1",
|
|
"eta": "^1.12.3",
|
|
"excel-column-name": "^1.0.1",
|
|
"fast-json-patch": "^3.1.1",
|
|
"file-path-filter": "^3.0.2",
|
|
"find-up": "^6.3.0",
|
|
"fs-extra": "^10.1.0",
|
|
"git-branch": "^2.0.1",
|
|
"github-release-cli": "^2.1.0",
|
|
"glob-promise": "^4.2.2",
|
|
"global": "^4.4.0",
|
|
"he": "^1.2.0",
|
|
"indent-string": "^5.0.0",
|
|
"ini": "^3.0.0",
|
|
"install": "^0.13.0",
|
|
"is-isbn": "^1.1.0",
|
|
"js-yaml": "^4.1.0",
|
|
"kuroshiro": "^1.2.0",
|
|
"kuroshiro-analyzer-kuromoji": "^1.1.0",
|
|
"lodash.template": "^4.5.0",
|
|
"lokijs": "^1.5.12",
|
|
"moment": "^2.29.3",
|
|
"node-eta": "^0.9.0",
|
|
"number-to-words": "^1.2.4",
|
|
"peggy": "^1.2.0",
|
|
"permutater": "^1.0.2",
|
|
"pretty-data": "^0.40.0",
|
|
"process": "^0.11.10",
|
|
"properties-reader": "^2.2.0",
|
|
"pug": "^3.0.2",
|
|
"putout": "^26.5.0",
|
|
"recast": "^0.21.1",
|
|
"regenerate": "^1.4.2",
|
|
"rimraf": "^3.0.2",
|
|
"shelljs": "^0.8.5",
|
|
"showdown": "^2.1.0",
|
|
"string-template": "^1.0.0",
|
|
"ts-node": "^10.7.0",
|
|
"tslib": "^2.4.0",
|
|
"typescript": "^4.6.4",
|
|
"unicode-11.0.0": "^0.7.8",
|
|
"unicode2latex": "^3.0.0",
|
|
"uri-templates": "^0.2.0",
|
|
"util": "^0.12.4",
|
|
"words-to-numbers": "^1.5.1",
|
|
"xml-parser": "^1.2.1",
|
|
"xpath": "^0.0.32",
|
|
"zotero-plugin": "^1.4.2"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/retorquere/zotero-better-bibtex.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/retorquere/zotero-better-bibtex/issues"
|
|
}
|
|
}
|