-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 5 KB
/
package.json
File metadata and controls
133 lines (133 loc) · 5 KB
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
{
"name": "refstudio",
"private": true,
"version": "23.3.0-next",
"description": "An open source text editor optimized for writing that relies on references.",
"type": "module",
"scripts": {
"postinstall": "husky install",
"reset:storage": "./scripts/reset_refstudio.sh",
"dev": "vite",
"web:dev": "VITE_PORT=1421 VITE_IS_WEB=true vite",
"web:api": "cd python; poetry run uvicorn sidecar.api:api --reload",
"build": "tsc && vite build",
"codegen": "bash scripts/codegen.sh",
"check": "yarn prettier:check && yarn pylint:check && yarn lint:check && yarn ts:check && yarn knip:check",
"fix": "yarn prettier:fix && yarn pylint:fix && yarn lint:fix",
"knip:check": "yarn knip",
"prettier:check": "prettier --config package.json --check 'src/**'",
"prettier:fix": "prettier --config package.json --write 'src/**'",
"pylint:check": "poetry run ruff check ./python && poetry run black ./python",
"pylint:fix": "poetry run ruff check --fix ./python",
"lint:check": "eslint --ext .js,.ts,.tsx ./src",
"lint:fix": "eslint --fix --ext .js,.ts,.tsx ./src",
"ts:check": "tsc --noEmit",
"preview": "vite preview",
"python": "bash scripts/remove_binary.sh && poetry run pyinstaller --noconfirm --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext --distpath src-tauri/bin/python python/main.py",
"python:test": "poetry run pytest python/tests",
"test": "vitest run",
"test:watch": "vitest --watch",
"test:watch:ui": "vitest --watch --ui",
"coverage": "vitest run --coverage",
"tauri": "tauri",
"tauri:build:mac:apple": "bash binaries/build-target.sh aarch64-apple-darwin",
"tauri:build:mac:intel": "bash binaries/build-target.sh x86_64-apple-darwin",
"tauri:build:mac:universal": "bash binaries/build-target.sh universal-apple-darwin",
"tauri:build": "yarn tauri:build:mac:apple && yarn tauri:build:mac:intel && yarn tauri:build:mac:universal",
"tauri:dev": "tauri dev",
"tauri:dev:debug": "DEV_TOOLS=1 tauri dev"
},
"dependencies": {
"@ag-grid-community/client-side-row-model": "^30.0.3",
"@ag-grid-community/core": "^30.0.3",
"@ag-grid-community/react": "^30.0.3",
"@ag-grid-community/styles": "^30.0.3",
"@microsoft/fetch-event-source": "^2.0.1",
"@popperjs/core": "^2.11.8",
"@tanstack/react-query": "^4.29.13",
"@tauri-apps/api": "^1.2.0",
"@tiptap/core": "^2.1.8",
"@tiptap/extension-code-block": "^2.1.8",
"@tiptap/extension-code-block-lowlight": "^2.1.8",
"@tiptap/extension-color": "^2.1.8",
"@tiptap/extension-document": "^2.1.8",
"@tiptap/extension-list-item": "^2.1.8",
"@tiptap/extension-mention": "^2.1.8",
"@tiptap/extension-text-style": "^2.1.8",
"@tiptap/pm": "^2.1.8",
"@tiptap/react": "^2.1.8",
"@tiptap/starter-kit": "^2.1.8",
"@tiptap/suggestion": "^2.0.3",
"autoprefixer": "^10.4.14",
"classnames": "^2.3.2",
"fuse.js": "^6.6.2",
"highlight.js": "^11.8.0",
"jotai": "^2.1.0",
"kmenu": "^1.4.2",
"lowlight": "^2.9.0",
"postcss": "^8.4.23",
"react": "^18.2.0",
"react-contexify": "^6.0.0",
"react-dom": "^18.2.0",
"react-hotkeys-hook": "^4.4.1",
"react-icons": "^4.8.0",
"react-lottie": "^1.2.3",
"react-pdf": "^7.3.3",
"react-popper": "^2.3.0",
"react-resizable-panels": "^0.0.51",
"react-tooltip": "^5.21.1",
"tailwindcss": "^3.3.2",
"tiptap-markdown": "^0.7.2",
"turndown": "^7.1.2",
"usehooks-ts": "^2.9.1"
},
"devDependencies": {
"@tauri-apps/cli": "^1.2.3",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/eslint": "^8.40.2",
"@types/node": "^18.7.10",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react-lottie": "^1.2.6",
"@types/turndown": "^5.0.1",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"@vitejs/plugin-react": "^3.0.0",
"@vitest/coverage-c8": "^0.31.4",
"@vitest/ui": "^0.31.4",
"eslint": "^8.41.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest-dom": "^5.0.1",
"eslint-plugin-jsdoc": "^46.2.6",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-testing-library": "^5.11.0",
"eslint-plugin-vitest": "^0.2.6",
"husky": "^8.0.0",
"jsdom": "^22.1.0",
"json-schema-to-typescript": "^13.0.1",
"knip": "^2.14.3",
"openapi-typescript": "^6.5.3",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.3.0",
"typescript": "^4.9.5",
"vite": "^4.2.1",
"vitest": "^0.31.4",
"vitest-canvas-mock": "^0.3.3"
},
"prettier": {
"bracketSpacing": true,
"printWidth": 120,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"overrides": []
}
}