-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 3.27 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 3.27 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
{
"name": "SnapMind",
"private": true,
"version": "0.5.1",
"description": "A quick prompt launcher.",
"author": "Louis Liu",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "[email protected]:Snap-Mind/snap-mind.git"
},
"homepage": "https://snap-mind.github.io/",
"type": "module",
"scripts": {
"dev": "vite",
"dev:electron": "npm run copy:assets && concurrently -k -r \"vite build -c vite.config.main.ts -w\" \"tsc -p tsconfig.preload.json -w\" \"vite\" \"wait-on dist-electron/main.js dist-electron/preload.js && wait-on http://localhost:5173 && electron .\"",
"build": "npm run build:main && npm run build:preload && npm run build:render",
"build:main": "vite build -c vite.config.main.ts && npm run copy:assets",
"build:preload": "tsc -p tsconfig.preload.json",
"build:render": "tsc & vite build",
"build:helper": "swiftc helper/SelectedText.swift -o helper/selectedtext && chmod +x helper/selectedtext",
"build:win-helper": "cd helper/SelectedTextWin && dotnet build -c Release && copy /Y bin\\Release\\net8.0-windows\\SelectedTextWin.* ..\\",
"build:prod": "./build.sh",
"build:win-prod": "build.cmd",
"copy:assets": "node scripts/copy-assets.js",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"preview": "vite preview",
"release:publish": "electron-builder --publish always",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@heroui/react": "^2.8.9",
"@heroui/use-theme": "^2.1.10",
"@lobehub/icons-static-svg": "^1.66.0",
"@tailwindcss/vite": "^4.1.11",
"electron-log": "^5.4.2",
"electron-updater": "^6.6.8",
"framer-motion": "^12.23.12",
"github-markdown-css": "^5.8.1",
"i18next": "^25.4.2",
"i18next-browser-languagedetector": "^8.2.0",
"is-elevated": "^4.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-i18next": "^15.7.2",
"react-icons": "^5.5.0",
"react-markdown": "^10.1.0",
"react-router": "^7.7.1",
"rehype-highlight": "^7.0.2",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"remark-gfm": "^4.0.1",
"tailwindcss": "^4.1.11"
},
"devDependencies": {
"@electron/notarize": "^2.5.0",
"@eslint/js": "^9.30.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^20.0.0",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.6.0",
"@vitest/coverage-v8": "^3.0.6",
"@vitest/ui": "^3.0.6",
"concurrently": "^8.2.2",
"electron": "^41.1.1",
"electron-builder": "^26.0.12",
"eslint": "^9.30.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"jsdom": "^25.0.1",
"msw": "^2.7.0",
"prettier": "^3.6.2",
"typescript": "^5.0.0",
"typescript-eslint": "^8.43.0",
"vite": "^7.1.11",
"vite-plugin-svgr": "^4.5.0",
"vitest": "^3.0.6",
"wait-on": "^7.0.1"
},
"main": "dist-electron/main.js",
"engines": {
"node": ">=24.0.0 <25"
}
}