-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.68 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.68 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
{
"name": "@loonylabs/tti-middleware",
"version": "1.10.0",
"description": "Provider-agnostic Text-to-Image middleware with GDPR compliance. Supports Google Cloud (Imagen, Gemini), Eden AI, and IONOS.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"LICENSE",
"README.md",
".env.example"
],
"scripts": {
"build": "tsc",
"test": "npm run test:unit",
"test:unit": "jest --testPathPattern=tests/unit",
"test:unit:watch": "jest --testPathPattern=tests/unit --watch",
"test:unit:coverage": "jest --testPathPattern=tests/unit --coverage",
"test:integration": "cross-env TTI_INTEGRATION_TESTS=true jest --testPathPattern=tests/integration",
"test:ci": "jest --runInBand --ci --coverage --testPathPattern=tests/unit",
"test:live": "TTI_INTEGRATION_TESTS=true jest tests/integration/*.integration.test.ts --testTimeout=120000",
"test:manual": "ts-node scripts/manual-test-edenai.ts",
"test:manual:google-cloud": "ts-node scripts/manual-test-google-cloud.ts",
"lint": "eslint src/**/*.ts",
"format": "prettier --write \"src/**/*.ts\"",
"clean": "node -e \"const fs=require('fs');if(fs.existsSync('dist'))fs.rmSync('dist',{recursive:true})\"",
"prepare": "npm run build",
"prepublishOnly": "npm run clean && npm run build && npm run test"
},
"keywords": [
"tti",
"text-to-image",
"image-generation",
"ai",
"vertex-ai",
"google-cloud",
"gemini",
"imagen",
"middleware",
"provider-agnostic",
"typescript",
"gdpr",
"dsgvo",
"character-consistency"
],
"author": "loonylabs-dev",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/loonylabs-dev/tti-middleware.git"
},
"bugs": {
"url": "https://github.com/loonylabs-dev/tti-middleware/issues"
},
"homepage": "https://github.com/loonylabs-dev/tti-middleware#readme",
"peerDependencies": {
"@google-cloud/aiplatform": ">=3.0.0",
"@google/genai": ">=1.40.0"
},
"peerDependenciesMeta": {
"@google-cloud/aiplatform": {
"optional": true
},
"@google/genai": {
"optional": true
}
},
"devDependencies": {
"@google-cloud/aiplatform": "^3.29.0",
"@google/genai": "^1.40.0",
"@types/jest": "^29.5.8",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"cross-env": "^10.1.0",
"dotenv": "^17.2.3",
"eslint": "^8.54.0",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.2"
},
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
}
}