123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- {
- "name": "attu",
- "version": "2.5.7",
- "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": {
- "@json2csv/plainjs": "^7.0.3",
- "@zilliz/milvus2-sdk-node": "2.5.8",
- "axios": "^1.8.2",
- "chalk": "4.1.2",
- "class-sanitizer": "^1.0.1",
- "class-transformer": "^0.5.1",
- "class-validator": "^0.14.1",
- "compression": "^1.7.5",
- "cors": "^2.8.5",
- "cross-env": "^7.0.3",
- "express": "^4.21.2",
- "helmet": "^8.0.0",
- "http-errors": "^2.0.0",
- "lru-cache": "^10.2.0",
- "morgan": "^1.10.0",
- "node-cron": "^3.0.3",
- "socket.io": "^4.8.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/compression": "^1.7.5",
- "@types/cors": "^2.8.17",
- "@types/express": "^4.17.21",
- "@types/http-errors": "^2.0.4",
- "@types/lru-cache": "^7.10.10",
- "@types/morgan": "^1.9.4",
- "@types/node": "^20.4.2",
- "@types/node-cron": "^3.0.8",
- "electron": "^35.1.5",
- "electron-builder": "^26.0.12",
- "jest": "^29.7.0",
- "nodemon": "^3.1.0",
- "prettier": "^3.2.5",
- "rimraf": "^6.0.1",
- "ts-jest": "^29.1.1",
- "tslint": "^6.1.3",
- "typescript": "^5.4.5"
- },
- "resolutions": {
- "ws": "^8.17.1"
- },
- "scripts": {
- "prebuild": "tslint -c tslint.json -p tsconfig.json --fix",
- "build": "yarn clean && tsc",
- "build-electron": "node electron-prebuild && yarn build",
- "electron": "electron .",
- "prestart": "rm -rf dist && yarn build",
- "start": "nodemon src/app.ts",
- "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": [
- {
- "target": "default",
- "arch": [
- "arm64",
- "x64"
- ]
- }
- ],
- "artifactName": "attu-${os}-${arch}-v${version}.${ext}"
- },
- "win": {
- "icon": "./build/attu.png",
- "target": [
- {
- "target": "nsis"
- }
- ]
- }
- }
- }
|