-
-
Notifications
You must be signed in to change notification settings - Fork 290
/
package.json
206 lines (206 loc) · 7.85 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
{
"name": "zotero-better-bibtex",
"version": "6.7.263",
"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/content/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": {
"changelog": "auto-changelog",
"check-env": "node -e 'console.log(process.env)' | grep npm",
"action": "act -W .github/workflows/ci.yaml",
"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' ~/.BBTTEST.log",
"setup": "./setup/setup.py && ts-node setup/index.ts && ts-node setup/bbtjsonschema",
"prebuild": "npm install && npm run setup",
"build": "npm run rebuild",
"rebuild": "npm-run-all -p --aggregate-output lint esbuild tsc",
"postbuild": "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 --no-headless --keep --tags=@none",
"beta": "./test/behave --beta --no-headless --keep --tags=@none",
"legacy": "./test/behave --legacy --no-headless --keep --tags=@none",
"release": "zotero-plugin-release \"$(<setup/release-message.md)\"",
"branches": "zotero-plugin-branches",
"fix-fixtures": "ts-node ./util/fix-test-fixtures.ts",
"postversion": "git push --follow-tags",
"running": "ps auxw | grep -i zotero | grep -v grep || true",
"docs:serve": "npm run setup && cd site && hugo serve",
"docs:serve:minimal": "cd site && hugo serve",
"docs:deploy": "npm run setup && cd site && hugo --baseURL /zotero-better-bibtex",
"docs:build": "npm run setup && cd site && hugo",
"reinstall": "rm -rf node_modules yarn* && npm install",
"test:nightly": "./test/behave --tags @nightly",
"xsubmodules": "git submodule update --init --recursive --remote && git submodule foreach git reset --hard && git submodule foreach git pull origin",
"preupgrades": "npm-run-all -p --aggregate-output submodules ncu get-schema",
"submodules": "./setup/submodules.py",
"ncu": "ncu -u && npm i",
"get-schema": "./setup/item.py",
"upgrades": "git add package.json package-lock.json submodules/* site/themes/relearn schema && git commit -m upgrades",
"db": "npm run zipup-debug-bridge"
},
"main": "index.js",
"directories": {
"test": "test"
},
"dependencies": {
"@artsy/to-title-case": "^1.1.0",
"@ast-grep/napi": "^0.30.1",
"@caeser1996/titlecase": "^3.0.2",
"@henrygd/queue": "^1.0.7",
"@lifeparticle/ap-style-title-case": "^1.5.0",
"@retorquere/indexeddb-promise": "^1.0.11",
"@stdlib/utils-escape-regexp-string": "^0.2.2",
"@ungap/structured-clone": "^1.2.0",
"ajv": "^8.17.1",
"array.prototype.flatmap": "^1.3.2",
"auto-changelog": "^2.5.0",
"base64-js": "^1.5.1",
"better-ajv-errors": "^1.2.0",
"blinkdb": "^0.14.0",
"bplist-parser": "^0.3.2",
"case": "^1.6.3",
"citeproc": "^2.4.63",
"compromise": "^14.14.2",
"csl-json": "^0.1.0",
"cyrillic-to-translit-js": "^3.2.1",
"detect-file-encoding-and-language": "^2.4.0",
"edtf": "^4.6.0",
"edtfy": "^0.0.8",
"emittery": "^1.0.3",
"fold-to-ascii": "^5.0.1",
"fracturedjsonjs": "^4.0.2",
"html-to-md": "^0.8.6",
"i": "^0.3.7",
"jieba-zh-cn": "^1.0.12",
"jieba-zh-tw": "^1.0.12",
"js-jieba": "^1.0.12",
"jslingua": "^0.13.0",
"kuromoji": "^0.1.2",
"lodash.clonedeep": "^4.5.0",
"lodash.frompairs": "^4.0.1",
"lodash.merge": "^4.6.2",
"npm": "^10.9.1",
"p-defer": "^4.0.1",
"papaparse": "^5.4.1",
"parse5": "^7.2.1",
"pinyin": "^3.1.0",
"promise.allsettled": "^1.0.7",
"punycode2": "^1.0.1",
"reserved-identifiers": "^1.0.0",
"safe-stable-stringify": "^2.5.0",
"shell-quote": "^1.8.2",
"sprintf-js": "^1.1.3",
"string.prototype.matchall": "^4.0.11",
"text-title-case": "^1.0.2",
"tinybench": "^3.0.6",
"title": "^4.0.1",
"title-case": "^4.3.2",
"transliteration": "^2.3.5",
"uzip": "^0.20201231.0",
"words-to-numbers": "^1.5.1",
"xregexp": "^5.1.1",
"zotero-plugin": "3.1.1"
},
"devDependencies": {
"@retorquere/bibtex-parser": "^9.0.17",
"@retorquere/zotero-sync": "^1.0.27",
"@stylistic/eslint-plugin": "^2.11.0",
"@types/bluebird": "^3.5.42",
"@types/node": "^22.10.1",
"@xmldom/xmldom": "^0.9.5",
"ajv-keywords": "^5.1.0",
"archiver": "^7.0.1",
"assert": "^2.1.0",
"barcoder": "^2.0.1",
"benchmark": "^2.1.4",
"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": "^7.0.0",
"dom-parser": "^1.1.5",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"esbuild": "^0.24.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"estrace": "^5.1.0",
"eta": "^3.5.0",
"fast-json-patch": "^3.1.1",
"file-path-filter": "^3.0.2",
"find-up": "^7.0.0",
"fs-extra": "^11.2.0",
"git-branch": "^2.0.1",
"github-release-cli": "^2.1.0",
"glob-promise": "^6.0.7",
"global": "^4.4.0",
"gray-matter": "^4.0.3",
"he": "^1.2.0",
"indent-string": "^5.0.0",
"ini": "^5.0.0",
"install": "^0.13.0",
"is-isbn": "^1.1.0",
"js-yaml": "^4.1.0",
"jsesc": "^3.0.2",
"kuroshiro": "^1.2.0",
"kuroshiro-analyzer-kuromoji": "^1.1.0",
"meriyah": "^6.0.3",
"moment": "^2.30.1",
"node-eta": "^0.9.0",
"npm-run-all": "^4.1.5",
"number-to-words": "^1.2.4",
"peggy": "^4.2.0",
"permutater": "^1.0.2",
"pretty-data": "^0.40.0",
"process": "^0.11.10",
"properties-reader": "^2.3.0",
"pug": "^3.0.3",
"putout": "^36.14.0",
"recast": "^0.23.9",
"regenerate": "^1.4.2",
"rimraf": "^6.0.1",
"shelljs": "^0.8.5",
"showdown": "^2.1.0",
"string-template": "^1.0.0",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typedoc": "^0.27.1",
"typescript": "^5.7.2",
"unicode-11.0.0": "^0.7.8",
"unicode2latex": "^6.0.6",
"uri-templates": "^0.2.0",
"util": "^0.12.5",
"xml-parser": "^1.2.1",
"xpath": "^0.0.34"
},
"repository": {
"type": "git",
"url": "git+https://github.com/retorquere/zotero-better-bibtex.git"
},
"bugs": {
"url": "https://github.com/retorquere/zotero-better-bibtex/issues"
}
}