forked from retorquere/zotero-better-bibtex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
179 lines (179 loc) · 6.97 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "zotero-better-bibtex",
"version": "6.7.58",
"description": "Make Zotero useful for us LaTeX holdouts.",
"homepage": "https://retorque.re/zotero-better-bibtex",
"license": "ISC",
"author": {
"name": "Emiliano Heyns",
"email": "[email protected]"
},
"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 && ./node_modules/.bin/ts-node ./setup/preferences.ts",
"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/submodules.py' 'ncu --timeout 900001 -u && npm i' './setup/item.py'",
"upgrades": "git add package.json package-lock.json submodules/* site/themes/learn schema && git commit -m upgrades"
},
"main": "index.js",
"directories": {
"test": "test"
},
"dependencies": {
"@artsy/to-title-case": "^1.1.0",
"@caeser1996/titlecase": "^3.0.2",
"@lifeparticle/ap-style-title-case": "^1.5.0",
"@stdlib/utils-escape-regexp-string": "^0.0.9",
"@ungap/structured-clone": "^1.0.2",
"ajv": "^8.12.0",
"base64-js": "^1.5.1",
"better-ajv-errors": "^1.2.0",
"bplist-parser": "^0.3.2",
"case": "^1.6.3",
"citeproc": "^2.4.62",
"csl-json": "^0.1.0",
"cyrillic-to-translit-js": "^3.2.1",
"edtf": "^4.4.1",
"edtfy": "^0.0.8",
"emittery": "^1.0.1",
"fast-safe-stringify": "^2.1.1",
"fold-to-ascii": "^5.0.1",
"html-to-md": "^0.8.3",
"i": "^0.3.7",
"jieba-zh-cn": "^1.0.12",
"jieba-zh-tw": "^1.0.12",
"js-jieba": "^1.0.12",
"jsesc": "^3.0.2",
"jslingua": "^0.13.0",
"kuromoji": "^0.1.2",
"lodash": "^4.17.21",
"papaparse": "^5.4.0",
"parse5": "^7.1.2",
"pinyin": "^3.0.0-alpha.5",
"punycode2": "^1.0.1",
"puqeue": "^1.0.11",
"sprintf-js": "^1.1.2",
"text-title-case": "^1.0.2",
"title": "^3.5.3",
"title-case": "^3.0.3",
"transliteration": "^2.3.5",
"xregexp": "^5.1.1"
},
"devDependencies": {
"@retorquere/bibtex-parser": "^6.4.10",
"@retorquere/zotero-sync": "^1.0.23",
"@types/bluebird": "^3.5.38",
"@types/lokijs": "^1.5.7",
"@types/node": "^18.14.6",
"@xmldom/xmldom": "^0.8.6",
"ajv-keywords": "^5.1.0",
"archiver": "^5.3.1",
"assert": "^2.0.0",
"barcoder": "^2.0.1",
"benchmark": "^2.1.4",
"bluebird": "^3.7.2",
"buffer": "^6.0.3",
"clp": "^4.0.12",
"current-git-branch": "^1.1.0",
"dedent-js": "^1.0.1",
"deep-cleaner": "^1.2.1",
"diff": "^5.1.0",
"dom-parser": "^0.1.6",
"dotenv": "^16.0.3",
"ejs": "^3.1.8",
"esbuild": "^0.17.11",
"eslint": "^8.35.0",
"estrace": "^4.1.2",
"eta": "^2.0.1",
"fast-json-patch": "^3.1.1",
"file-path-filter": "^3.0.2",
"find-up": "^6.3.0",
"fs-extra": "^11.1.0",
"git-branch": "^2.0.1",
"github-release-cli": "^2.1.0",
"glob-promise": "^6.0.2",
"global": "^4.4.0",
"gray-matter": "^4.0.3",
"he": "^1.2.0",
"indent-string": "^5.0.0",
"ini": "^3.0.1",
"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.4",
"node-eta": "^0.9.0",
"number-to-words": "^1.2.4",
"peggy": "^3.0.1",
"permutater": "^1.0.2",
"pretty-data": "^0.40.0",
"process": "^0.11.10",
"properties-reader": "^2.2.0",
"pug": "^3.0.2",
"putout": "^29.0.2",
"recast": "^0.22.0",
"regenerate": "^1.4.2",
"rimraf": "^4.3.1",
"shelljs": "^0.8.5",
"showdown": "^2.1.0",
"string-template": "^1.0.0",
"ts-node": "^10.9.1",
"tslib": "^2.5.0",
"typescript": "^4.9.5",
"unicode-11.0.0": "^0.7.8",
"unicode2latex": "^3.0.2",
"uri-templates": "^0.2.0",
"util": "^0.12.5",
"words-to-numbers": "^1.5.1",
"xml-parser": "^1.2.1",
"xpath": "^0.0.32",
"zotero-plugin": "^1.4.12"
},
"repository": {
"type": "git",
"url": "git+https://github.com/retorquere/zotero-better-bibtex.git"
},
"bugs": {
"url": "https://github.com/retorquere/zotero-better-bibtex/issues"
}
}