forked from lifan0127/ai-research-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 4.07 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
{
"name": "aria-ms",
"version": "0.7.1-ms",
"description": "AI Research Assistant Powered by Large Language Models (Moonshot API)",
"config": {
"addonName": "Aria (Moonshot)",
"addonID": "[email protected]",
"addonRef": "aria-ms",
"addonInstance": "Aria (Moonshot)",
"releasepage": "https://github.com/lifan0127/ai-research-assistant/releases/latest/download/aria.xpi",
"updaterdf": "https://github.com/Darthvadar/Zotero-ARIA-Moonshot/blob/main/update.rdf"
},
"main": "src/index.ts",
"scripts": {
"build-dev": "cross-env NODE_ENV=development node scripts/build.js",
"build-prod": "cross-env NODE_ENV=production node scripts/build.js",
"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",
"postinstall": "patch-package && node scripts/wasm.js && cp -R patches/react node_modules/ && cp -R patches/react-dom node_modules/",
"build": "concurrently -c auto npm:build-prod npm:tsc",
"tsc": "tsc --noEmit",
"start-z6": "node scripts/start.js --z 6",
"start-z7": "node scripts/start.js --z 7",
"start": "node scripts/start.js",
"start-watch": "npm run build-dev && concurrently -c auto npm:start npm:watch",
"stop": "node scripts/stop.js",
"restart-dev": "npm run build-dev && npm run stop && npm run start",
"restart-prod": "npm run build-prod && npm run stop && npm run start",
"restart": "npm run restart-dev",
"release": "release-it",
"reload": "npm run build-dev && node scripts/reload.mjs",
"watch": "chokidar \"src/**\" \"addon/**\" -c \"npm run reload\"",
"test": "cross-env NODE_ENV=development node scripts/test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Darthvadar/Zotero-ARIA-Moonshot.git"
},
"author": "Fan Li",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/Darthvadar/Zotero-ARIA-Moonshot/issues"
},
"homepage": "https://github.com/Darthvadar/Zotero-ARIA-Moonshot#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",
"@types/lodash": "^4.17.0",
"@types/marked": "^5.0.1",
"abort-controller": "^3.0.0",
"async-retry": "^1.3.3",
"crypto-browserify": "^3.12.0",
"formdata-polyfill": "^4.0.10",
"langchain": "^0.1.32",
"lodash": "^4.17.21",
"marked": "^4.3.0",
"marked-react": "^1.4.0",
"patch-package": "^8.0.0",
"react-highlight-words": "^0.20.0",
"react-mentions": "^4.4.10",
"search-query-parser": "^1.6.0",
"serialize-error": "^11.0.3",
"tablemark": "^3.1.0",
"typeorm": "^0.3.20",
"zotero-plugin-toolkit": "^2.1.5"
},
"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",
"@types/async-retry": "^1.4.8",
"@types/node": "^20.12.5",
"@types/object-hash": "^3.0.6",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.2",
"@types/react-highlight-words": "^0.16.7",
"@types/react-mentions": "^4.1.13",
"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": "^0.20.2",
"esbuild-style-plugin": "^1.6.3",
"minimist": "^1.2.8",
"postcss": "^8.4.38",
"release-it": "^17.1.1",
"replace-in-file": "^7.1.0",
"tailwindcss": "^3.4.3",
"tiny-glob": "^0.2.9",
"typescript": "^5.4.4",
"zotero-types": "^1.3.23"
}
}