-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3.51 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 3.51 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
{
"name": "ima2-gen",
"version": "2.0.2",
"description": "Local OAuth image generation studio with classic and node workflows",
"type": "module",
"bin": {
"ima2": "bin/ima2.js"
},
"scripts": {
"start": "node bin/ima2.js serve",
"dev": "node scripts/dev.mjs",
"dev:server": "tsx watch server.ts",
"ui:install": "cd ui && npm install",
"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:package-install": "node --test tests/package-install-smoke.mjs",
"test:inventory": "node scripts/classify-tests.mjs --check --fail-js-runtime",
"setup": "node bin/ima2.js setup",
"prepack": "npm run ui:build && npm run build:server && npm run build:cli",
"prepublishOnly": "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 lint:pkg && npm run test:package-install",
"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/','vendor/','server.js','LICENSE']; for(const f of mustInclude){if(!p.files.includes(f))throw new Error('files[] must include '+f)}\"",
"publish:dry-run": "node scripts/publish-dry-run.mjs",
"release:patch": "npm version patch && npm publish && git push origin main --tags",
"release:minor": "npm version minor && npm publish && git push origin main --tags",
"release:major": "npm version major && npm publish && git push origin main --tags",
"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'"
},
"keywords": [
"openai",
"gpt-image-2",
"image-generation",
"oauth",
"cli"
],
"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/",
".env.example",
"README.md",
"CHANGELOG.md",
"LICENSE",
"server.js",
"config.js"
],
"engines": {
"node": ">=20"
},
"dependencies": {
"@openai/codex": "latest",
"better-sqlite3": "^12.9.0",
"dotenv": "^17.4.2",
"express": "^5.1.0",
"google-auth-library": "^10.6.2",
"openai": "^5.8.2",
"openai-oauth": "^1.0.2",
"progrok": "file:vendor/progrok-0.2.0.tgz",
"sharp": "^0.34.5",
"trash": "^10.1.1",
"ulid": "^3.0.2"
},
"bundleDependencies": [
"progrok"
],
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/express": "^5.0.6",
"@types/node": "^22.19.17",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
}
}