-
Notifications
You must be signed in to change notification settings - Fork 121
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 5.39 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 5.39 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "ima2-gen",
"version": "3.12.3",
"packageManager": "npm@11.18.0",
"description": "Local-first visual generation runtime and studio for people and coding agents, with reproducible image and video workflows across multiple providers.",
"type": "module",
"bin": {
"ima2": "bin/ima2.js"
},
"scripts": {
"start": "node bin/ima2.js serve",
"dev": "node scripts/dev.mjs",
"predev": "npm run build:server",
"prestart": "npm run build:server && npm run build:cli",
"dev:server": "tsx watch server.ts",
"ui:install": "npm --prefix ui ci",
"ui:dev": "cd ui && npm run dev",
"ui:build": "cd ui && npm run build",
"build": "npm run ui:build",
"test": "node scripts/run-tests.mjs",
"test:native-deps": "node -e \"require('better-sqlite3'); require('sharp'); require('@neplex/vectorizer')\"",
"test:install-policy": "node scripts/check-install-policy.mjs",
"test:install-policy:npm12": "node scripts/check-install-policy.mjs --npm-pending",
"test:package-install": "node --test tests/package-install-smoke.mjs",
"test:package-global-update": "node scripts/package-global-update-smoke.mjs",
"test:inventory": "node scripts/classify-tests.mjs --check --fail-js-runtime",
"test:provider-registry": "node scripts/generate-provider-types.mjs --check && node --experimental-strip-types --test tests/provider-registry-contract.test.ts tests/provider-registry-parity.test.ts",
"verify:chroma": "node scripts/verify-chroma.mjs",
"setup": "node bin/ima2.js setup",
"prepack": "npm run ui:build && npm run build:server && npm run build:cli",
"prepublishOnly": "node scripts/release-contract.mjs assert-publish-context && npm run verify:release",
"lint:pkg": "node -e \"const p=require('./package.json'); const req=['name','version','bin']; for(const k of req){if(!p[k])throw new Error('missing '+k)} const mustInclude=['bin/**/*.js','lib/**/*.js','routes/**/*.js','skills/','integrations/comfyui/ima2_gen_bridge/__init__.py','integrations/comfyui/ima2_gen_bridge/nodes.py','integrations/comfyui/ima2_gen_bridge/README.md','assets/card-news/templates/','assets/mcp-snapshots/','vendor/','server.js','LICENSE']; for(const f of mustInclude){if(!p.files.includes(f))throw new Error('files[] must include '+f)}\"",
"docs:refresh-line-counts": "node scripts/refresh-structure-line-counts.mjs",
"publish:dry-run": "node scripts/publish-dry-run.mjs",
"release:patch": "gh workflow run release.yml -f bump=patch -f dry_run=false",
"release:minor": "gh workflow run release.yml -f bump=minor -f dry_run=false",
"release:major": "gh workflow run release.yml -f bump=major -f dry_run=false",
"audit:gate": "node scripts/audit-gate.mjs --audit-level high --omit dev && node scripts/audit-gate.mjs --prefix ui --audit-level high",
"verify:release:source": "npm run test:native-deps && npm run typecheck && npm run typecheck:tests && npm run test:inventory && npm run ui:build && npm run build:server && npm run build:cli && npm run test:provider-registry && npm test && npm run lint:pkg && npm run test:install-policy && npm run audit:gate",
"verify:release": "npm run verify:release:source && npm run test:package-install",
"typecheck": "tsc --noEmit -p tsconfig.json",
"typecheck:tests": "tsc --noEmit -p tsconfig.tests.json",
"build:server": "tsc -p tsconfig.build.json",
"build:cli": "tsc -p tsconfig.bin.json && node scripts/fix-shebangs.mjs",
"postinstall": "echo '\\n [ima2] Gallery thumbnails will be auto-generated on next server start.\\n Or run: ima2 backfill-thumbs\\n'",
"release:dry": "gh workflow run release.yml -f bump=patch -f dry_run=true",
"release:canary": "gh workflow run release.yml -f bump=patch -f dry_run=canary"
},
"keywords": [
"image-generation",
"video-generation",
"local-first",
"mcp",
"ai-agent",
"visual-workflow",
"node-editor",
"openai",
"grok",
"gemini"
],
"license": "MIT",
"homepage": "https://lidge-jun.github.io/ima2-gen/",
"repository": {
"type": "git",
"url": "git+https://github.com/lidge-jun/ima2-gen.git"
},
"files": [
"bin/**/*.js",
"lib/**/*.js",
"routes/**/*.js",
"skills/",
"integrations/comfyui/ima2_gen_bridge/__init__.py",
"integrations/comfyui/ima2_gen_bridge/nodes.py",
"integrations/comfyui/ima2_gen_bridge/README.md",
"ui/dist/",
"docs/",
"vendor/",
"assets/card-news/templates/",
"assets/mcp-snapshots/",
".env.example",
"README.md",
"CHANGELOG.md",
"LICENSE",
"server.js",
"config.js"
],
"engines": {
"node": ">=22"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.30.0",
"@neplex/vectorizer": "0.1.0",
"@openai/codex": "0.149.1",
"better-sqlite3": "^13.0.3",
"dotenv": "^17.4.2",
"express": "^5.1.0",
"google-auth-library": "^11.0.1",
"openai": "^7.4.0",
"openai-oauth": "file:vendor/openai-oauth-1.0.2-ima2.1.tgz",
"progrok": "file:vendor/progrok-0.2.0.tgz",
"sharp": "^0.35.3",
"trash": "^10.1.1",
"ulid": "^3.0.2",
"zod": "4.4.3"
},
"bundleDependencies": [
"progrok",
"openai-oauth",
"zod"
],
"allowScripts": {
"better-sqlite3": true,
"esbuild": true,
"fsevents": true
},
"devDependencies": {
"@types/better-sqlite3": "^9.6.0",
"@types/express": "^5.0.6",
"@types/node": "^22.20.1",
"tsx": "^4.23.12",
"typescript": "^5.9.3",
"yaml": "2.9.0"
}
}