{ "name": "attu", "version": "2.3.0", "license": "MIT", "author": { "name": "zilliz", "email": "zilliz@zilliz.com" }, "description": "Attu helps to manage Milvus easily", "repository": { "type": "git", "url": "https://github.com/zilliztech/attu" }, "dependencies": { "@zilliz/milvus2-sdk-node": "2.3.1", "axios": "^1.4.0", "chalk": "^4.1.2", "class-sanitizer": "^1.0.1", "class-transformer": "^0.4.0", "class-validator": "^0.14.0", "cors": "^2.8.5", "cross-env": "^7.0.3", "csv-writer": "^1.6.0", "express": "^4.18.2", "glob": "^7.2.0", "helmet": "^7.0.0", "http-errors": "^2.0.0", "lru-cache": "^6.0.0", "morgan": "^1.10.0", "node-cron": "^3.0.2", "rimraf": "^5.0.1", "socket.io": "^4.7.1" }, "jest": { "testEnvironment": "node", "testTimeout": 10000, "coveragePathIgnorePatterns": [ "/node_modules/" ], "rootDir": "src", "testRegex": ".*\\.test\\.ts$", "collectCoverageFrom": [ "**/*.service.{js,ts}" ], "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "coverageDirectory": "../coverage/" }, "devDependencies": { "@types/chalk": "^2.2.0", "@types/cors": "^2.8.13", "@types/express": "^4.17.17", "@types/glob": "^8.1.0", "@types/http-errors": "^2.0.1", "@types/jest": "^29.5.3", "@types/lru-cache": "^5.1.1", "@types/morgan": "^1.9.4", "@types/node": "^20.4.2", "@types/node-cron": "^3.0.8", "@types/supertest": "^2.0.12", "@types/ws": "^8.5.5", "electron": "^25.3.0", "electron-builder": "^24.4.0", "jest": "^29.6.1", "nodemon": "^3.0.1", "prettier": "^3.0.0", "supertest": "^6.3.3", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "tslint": "^6.1.3", "typescript": "^5.1.6" }, "scripts": { "prebuild": "tslint -c tslint.json -p tsconfig.json --fix", "build": "yarn clean && tsc", "build-electron": "node electron-prebuild && yarn build", "prestart": "rm -rf dist && yarn build", "start": "nodemon src/app.ts", "start:plugin": "yarn build && cross-env PLUGIN_DEV=1 node dist/attu/express/src/app.js", "start:prod": "node dist/src/app.js", "start:debug": "DEBUG=express:* nodemon src/app.ts", "test": "cross-env NODE_ENV=test jest --passWithNoTests", "test:watch": "jest --watch", "test:cov": "cross-env NODE_ENV=test jest --passWithNoTests --coverage", "test:report": "cross-env NODE_ENV=test jest --watchAll=false --coverage --coverageReporters='text-summary'", "clean": "rimraf dist", "format": "prettier --write '**/*.{ts,js}'", "mac": "electron-builder --mac", "linux": "electron-builder --linux", "win": "electron-builder --win" }, "nodemonConfig": { "ignore": [ "**/*.test.ts", "**/*.spec.ts", "build", ".git", "node_modules" ], "watch": [ "src" ], "ext": "ts yml" }, "homepage": "./", "main": "electron-starter.js", "build": { "appId": "milvus", "directories": { "output": "electron-app" }, "files": [ "build/**/*", "dist/**/*", "node_modules/**/*", "electron-starter.js", "package.json", "preload.js" ], "linux": { "icon": "./build/attu.icns", "target": [ "deb" ] }, "mac": { "icon": "./build/attu.icns", "target": "dmg" }, "win": { "icon": "./build/attu.png", "target": [ { "target": "nsis" } ] } } }