generated from windingwind/zotero-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathpackage.json
119 lines (119 loc) · 4.19 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
{
"name": "aria",
"version": "0.7.5",
"description": "AI Research Assistant Powered by Large Language Models",
"config": {
"addonName": "Aria",
"addonID": "aria@apex974.com",
"addonRef": "aria",
"addonInstance": "Aria",
"prefsPrefix": "extensions.zotero.aria",
"releasePage": "https://github.com/lifan0127/ai-research-assistant/releases",
"updaterdf": "https://raw.githubusercontent.com/lifan0127/ai-research-assistant/bootstrap/update.json"
},
"main": "src/index.ts",
"scripts": {
"start": "zotero-plugin serve",
"build": "tsc --noEmit && zotero-plugin build",
"build-libs": "cd libs/vector_search && wasm-pack build --target web && cp pkg/vector_search_bg.wasm ../../addon/chrome/content/libs && cp pkg/vector_search.js ../../src/libs && cp pkg/vector_search.d.ts ../../src/libs && echo \"const { TextEncoder, TextDecoder } = Components.utils.import(\\\"resource://gre/modules/Services.jsm\\\", {});\n\" | cat - ../../src/libs/vector_search.js > temp && mv temp ../../src/libs/vector_search.js",
"test-libs": "cd libs/vector_search && wasm-pack test --node",
"stop": "node scripts/stop.mjs",
"lint": "prettier --write . && eslint . --fix",
"test": "cross-env NODE_ENV=development node scripts/test.js",
"release": "zotero-plugin release",
"update-deps": "npm update --save",
"postinstall": "patch-package && cp -R patches/react node_modules/ && cp -R patches/react-dom node_modules/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lifan0127/ai-research-assistant.git"
},
"author": "Fan Li",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/lifan0127/ai-research-assistant/issues"
},
"homepage": "https://github.com/lifan0127/ai-research-assistant#readme",
"dependencies": {
"@dqbd/tiktoken": "^1.0.13",
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@heroicons/react": "^2.1.3",
"@tanstack/react-table": "^8.15.3",
"abort-controller": "^3.0.0",
"async-retry": "^1.3.3",
"crypto-browserify": "^3.12.0",
"dexie": "^4.0.10",
"formdata-polyfill": "^4.0.10",
"json-stringify-pretty-compact": "^4.0.0",
"lodash": "^4.17.21",
"marked": "^4.3.0",
"marked-react": "^1.4.0",
"openai": "^4.79.1",
"patch-package": "^8.0.0",
"react-highlight-words": "^0.20.0",
"react-mentions": "^4.4.10",
"react-syntax-highlighter": "^15.6.1",
"react-transition-group": "^4.4.5",
"search-query-parser": "^1.6.0",
"serialize-error": "^11.0.3",
"tablemark": "^3.1.0",
"typeorm": "^0.3.20",
"zod": "^3.23.8",
"zotero-plugin-toolkit": "^4.1.1"
},
"devDependencies": {
"@babel/plugin-proposal-async-generator-functions": "^7.20.7",
"@babel/plugin-transform-async-to-generator": "^7.24.1",
"@chialab/esbuild-plugin-babel": "^0.18.0",
"@eslint/js": "^9.17.0",
"@types/async-retry": "^1.4.8",
"@types/node": "^20.12.5",
"@types/object-hash": "^3.0.6",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"@types/react-highlight-words": "^0.16.7",
"@types/react-mentions": "^4.1.13",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/react-transition-group": "^4.4.11",
"@types/lodash": "^4.17.0",
"@types/marked": "^5.0.1",
"@types/react-table": "^7.7.20",
"autoprefixer": "^10.4.19",
"chokidar-cli": "^3.0.0",
"compressing": "^1.10.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"dotenv-cli": "^7.4.1",
"esbuild-style-plugin": "^1.6.3",
"eslint": "^9.17.0",
"minimist": "^1.2.8",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"release-it": "^17.1.1",
"replace-in-file": "^7.1.0",
"tailwindcss": "^3.4.3",
"tiny-glob": "^0.2.9",
"typescript": "^5.4.5",
"typescript-eslint": "^8.3.0",
"zotero-plugin-scaffold": "^0.1.7",
"zotero-types": "^3.0.1"
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"endOfLine": "lf",
"semi": false,
"singleQuote": false,
"overrides": [
{
"files": [
"*.xhtml"
],
"options": {
"htmlWhitespaceSensitivity": "css"
}
}
]
}
}