Files
adnify/package.json
2026-03-21 21:41:43 +08:00

201 lines
6.0 KiB
JSON

{
"name": "adnify",
"version": "1.7.18",
"description": "Adnify - A lightweight yet powerful AI-powered code editor",
"productName": "Adnify",
"author": "adnaan <adnaan.worker@gmail.com>",
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://github.com/adnaan-worker/adnify",
"repository": {
"type": "git",
"url": "https://github.com/adnaan-worker/adnify.git"
},
"main": "dist/main/main.js",
"scripts": {
"dev": "concurrently \"npm run dev:main\" \"npm run dev:renderer\"",
"dev:main": "node --max-old-space-size=8192 ./node_modules/typescript/bin/tsc -p tsconfig.main.json --noEmit --watch",
"dev:renderer": "vite",
"build": "vite build",
"build:main": "node --max-old-space-size=8192 ./node_modules/typescript/bin/tsc -p tsconfig.main.json --noEmit",
"build:renderer": "vite build",
"start": "electron .",
"dist": "npm run build && electron-builder",
"pack": "npm run build && electron-builder --dir",
"preview": "npm run build && electron .",
"test": "vitest --run",
"test:watch": "vitest",
"test:coverage": "vitest --run --coverage",
"postinstall": "node scripts/download-wasm.js",
"rebuild": "npx electron-rebuild -f -w node-pty",
"rebuild:all": "npx electron-rebuild -f -w"
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.23",
"@ai-sdk/google": "^3.0.13",
"@ai-sdk/openai": "^3.0.18",
"@ai-sdk/openai-compatible": "^2.0.18",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@lancedb/lancedb": "^0.23.0",
"@modelcontextprotocol/sdk": "^1.25.1",
"@monaco-editor/react": "^4.6.0",
"@parcel/watcher": "^2.4.1",
"@types/dompurify": "^3.0.5",
"@vscode/ripgrep": "^1.15.9",
"@xenova/transformers": "^2.17.2",
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-web-links": "^0.11.0",
"@xterm/addon-webgl": "^0.18.0",
"@xterm/xterm": "^5.5.0",
"adm-zip": "^0.5.16",
"ai": "^6.0.49",
"diff": "^8.0.2",
"dompurify": "^3.3.1",
"dugite": "^2.7.1",
"electron-store": "^8.1.0",
"electron-updater": "^6.7.3",
"framer-motion": "^12.25.0",
"js-tiktoken": "^1.0.21",
"lucide-react": "^0.562.0",
"monaco-editor": "^0.55.1",
"node-pty": "^1.1.0",
"p-limit": "^3.1.0",
"picomatch": "^4.0.3",
"png2icons": "^2.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"react-syntax-highlighter": "^16.1.0",
"react-virtuoso": "^4.18.1",
"remark-gfm": "^4.0.1",
"sharp": "^0.34.5",
"ssh2": "^1.17.0",
"tree-sitter-wasms": "^0.1.13",
"typescript-language-server": "^5.1.3",
"vscode-langservers-extracted": "^4.10.0",
"web-tree-sitter": "^0.20.8",
"yaml": "^2.8.2",
"zod": "^3.25.76",
"zustand": "^5.0.2"
},
"devDependencies": {
"@electron/notarize": "^2.5.0",
"@electron/rebuild": "^3.6.0",
"@types/adm-zip": "^0.5.7",
"@types/diff": "^7.0.2",
"@types/node": "^22.10.2",
"@types/picomatch": "^4.0.2",
"@types/ssh2": "^1.15.5",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-syntax-highlighter": "^15.5.13",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^4.0.15",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.0",
"electron": "^39.2.7",
"electron-builder": "^24.13.3",
"fast-check": "^4.4.0",
"fast-json-stable-stringify": "^2.1.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.16",
"typescript": "^5.7.2",
"uri-js": "^4.4.1",
"vite": "^6.0.3",
"vite-plugin-electron": "^0.28.8",
"vitest": "^4.0.15"
},
"build": {
"appId": "com.adnify.app",
"productName": "Adnify",
"publish": {
"provider": "github",
"owner": "adnaan-worker",
"repo": "adnify",
"releaseType": "release"
},
"directories": {
"output": "release"
},
"asar": true,
"asarUnpack": [
"node_modules/node-pty/**",
"node_modules/@vscode/ripgrep/**",
"node_modules/dugite/**",
"node_modules/@lancedb/**",
"node_modules/@parcel/watcher/**",
"node_modules/sharp/**",
"node_modules/ssh2/**",
"node_modules/cpu-features/**"
],
"files": [
"dist/**/*",
"public/**/*",
"LICENSE",
"NOTICE",
"!**/*.map",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
"!**/node_modules/*.d.ts",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
"!config.json",
"!bootstrap.json",
"!.adnify/**"
],
"win": {
"icon": "resources/icon.ico",
"target": [
"nsis",
"portable"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Adnify",
"installerIcon": "resources/icon.ico",
"uninstallerIcon": "resources/icon.ico",
"installerHeaderIcon": "resources/icon.ico",
"artifactName": "${productName}-Setup-${version}-${arch}.${ext}"
},
"portable": {
"artifactName": "${productName}-${version}-${arch}-Portable.${ext}"
},
"mac": {
"icon": "resources/icon.icns",
"artifactName": "${productName}-${version}-${arch}-mac.${ext}",
"target": [
"dmg",
"zip"
],
"category": "public.app-category.developer-tools",
"identity": null
},
"linux": {
"icon": "resources/icon.png",
"artifactName": "${productName}-${version}-${arch}-linux.${ext}",
"target": [
"AppImage",
"tar.gz"
],
"category": "Development"
},
"extraResources": [
{
"from": "resources/tree-sitter",
"to": "tree-sitter"
},
{
"from": "resources/uiux",
"to": "uiux"
}
]
},
"optionalDependencies": {
"@lancedb/lancedb-win32-x64-msvc": "^0.22.3"
}
}