mirror of
https://github.com/violettoolssite/CFspider.git
synced 2026-04-05 03:09:01 +08:00
124 lines
3.4 KiB
JSON
124 lines
3.4 KiB
JSON
{
|
||
"name": "cfspider-browser",
|
||
"version": "1.1.3",
|
||
"description": "CFspider 智能浏览器 - AI驱动的浏览器,自然语言控制浏览器自动化",
|
||
"keywords": [
|
||
"browser",
|
||
"automation",
|
||
"ai",
|
||
"crawler",
|
||
"scraper",
|
||
"electron",
|
||
"cfspider",
|
||
"deepseek",
|
||
"ollama"
|
||
],
|
||
"author": {
|
||
"name": "violettoolssite",
|
||
"email": "violettoolssite@gmail.com"
|
||
},
|
||
"license": "Apache-2.0",
|
||
"homepage": "https://www.cfspider.com",
|
||
"repository": {
|
||
"type": "git",
|
||
"url": "https://github.com/violettoolssite/CFspider.git",
|
||
"directory": "cfspider-browser"
|
||
},
|
||
"bugs": {
|
||
"url": "https://github.com/violettoolssite/CFspider/issues"
|
||
},
|
||
"main": "dist-electron/main.js",
|
||
"bin": "./bin/cli.js",
|
||
"files": [
|
||
"dist/**/*",
|
||
"dist-electron/**/*",
|
||
"electron/**/*",
|
||
"src/**/*",
|
||
"public/**/*",
|
||
"bin/**/*",
|
||
"index.html",
|
||
"vite.config.ts",
|
||
"tsconfig.json",
|
||
"tsconfig.node.json",
|
||
"tailwind.config.js",
|
||
"postcss.config.js",
|
||
"electron-builder.json",
|
||
"package-lock.json",
|
||
"README.md"
|
||
],
|
||
"scripts": {
|
||
"postinstall": "echo 'Run: npx cfspider-browser' to start",
|
||
"dev": "vite",
|
||
"build": "vite build",
|
||
"preview": "vite preview",
|
||
"electron:dev": "npm run electron:build-main && concurrently \"vite --port 5174\" \"wait-on http://localhost:5174 && cross-env NODE_ENV=development electron .\"",
|
||
"electron:build-main": "esbuild electron/main.ts --bundle --platform=node --target=node18 --outfile=dist-electron/main.js --external:electron && esbuild electron/preload.ts --bundle --platform=node --target=node18 --outfile=dist-electron/preload.js --external:electron",
|
||
"electron:build": "npm run build && npm run electron:build-main && electron-builder",
|
||
"electron:build-win": "npm run build && npm run electron:build-main && electron-builder --win",
|
||
"electron:build-mac": "npm run build && npm run electron:build-main && electron-builder --mac",
|
||
"electron:build-linux": "npm run build && npm run electron:build-main && electron-builder --linux"
|
||
},
|
||
"dependencies": {
|
||
"@types/react-syntax-highlighter": "^15.5.13",
|
||
"file-saver": "^2.0.5",
|
||
"lucide-react": "^0.294.0",
|
||
"react": "^18.2.0",
|
||
"react-dom": "^18.2.0",
|
||
"react-markdown": "^10.1.0",
|
||
"react-syntax-highlighter": "^16.1.0",
|
||
"xlsx": "^0.18.5",
|
||
"zustand": "^5.0.0"
|
||
},
|
||
"devDependencies": {
|
||
"@types/file-saver": "^2.0.7",
|
||
"@types/react": "^18.2.43",
|
||
"@types/react-dom": "^18.2.17",
|
||
"@vitejs/plugin-react": "^4.2.1",
|
||
"autoprefixer": "^10.4.16",
|
||
"concurrently": "^8.2.2",
|
||
"cross-env": "^7.0.3",
|
||
"electron": "^28.0.0",
|
||
"electron-builder": "^24.9.1",
|
||
"esbuild": "^0.19.10",
|
||
"png-to-ico": "^3.0.1",
|
||
"postcss": "^8.4.32",
|
||
"sharp": "^0.34.5",
|
||
"tailwindcss": "^3.3.6",
|
||
"typescript": "^5.3.3",
|
||
"vite": "^5.0.8",
|
||
"wait-on": "^7.2.0"
|
||
},
|
||
"build": {
|
||
"appId": "com.cfspider.browser",
|
||
"productName": "CFspider-Browser",
|
||
"publish": null,
|
||
"directories": {
|
||
"output": "release"
|
||
},
|
||
"files": [
|
||
"dist/**/*",
|
||
"dist-electron/**/*"
|
||
],
|
||
"win": {
|
||
"target": [
|
||
"nsis"
|
||
],
|
||
"icon": "public/icon.ico"
|
||
},
|
||
"mac": {
|
||
"target": [
|
||
"dmg"
|
||
],
|
||
"icon": "public/icon.icns"
|
||
},
|
||
"linux": {
|
||
"target": [
|
||
"AppImage",
|
||
"deb"
|
||
],
|
||
"icon": "public/icon.png",
|
||
"category": "Network"
|
||
}
|
||
}
|
||
}
|