@nogataka/imgen 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +157 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1365 -0
- package/package.json +51 -0
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nogataka/imgen",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Azure OpenAI画像生成・編集・説明CLIツール - gpt-image-1.5 / gpt-5.1",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": { "imgen": "dist/index.js" },
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } },
|
|
10
|
+
"files": ["dist"],
|
|
11
|
+
"publishConfig": { "access": "public" },
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "node --env-file=.env --import tsx src/index.ts",
|
|
14
|
+
"build": "tsup src/index.ts --format esm --dts --clean",
|
|
15
|
+
"test": "vitest run",
|
|
16
|
+
"test:watch": "vitest",
|
|
17
|
+
"check": "tsc --noEmit",
|
|
18
|
+
"lint": "eslint src/",
|
|
19
|
+
"lint:fix": "eslint src/ --fix",
|
|
20
|
+
"format": "prettier --write src/",
|
|
21
|
+
"format:check": "prettier --check src/",
|
|
22
|
+
"check-all": "npm run check && npm run lint && npm run format:check && npm run test",
|
|
23
|
+
"prepublishOnly": "npm run build"
|
|
24
|
+
},
|
|
25
|
+
"keywords": ["image", "ai", "azure", "openai", "cli"],
|
|
26
|
+
"repository": { "type": "git", "url": "git+https://github.com/nogataka/imgen.git" },
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"engines": { "node": ">=18.0.0" },
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"chalk": "^5.3.0",
|
|
31
|
+
"cli-table3": "^0.6.5",
|
|
32
|
+
"commander": "^12.1.0",
|
|
33
|
+
"date-fns": "^3.6.0",
|
|
34
|
+
"fs-extra": "^11.2.0",
|
|
35
|
+
"inquirer": "^9.3.7",
|
|
36
|
+
"openai": "^4.80.0",
|
|
37
|
+
"zod": "^3.24.2"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@types/fs-extra": "^11.0.4",
|
|
41
|
+
"@types/inquirer": "^9.0.7",
|
|
42
|
+
"@types/node": "^20.17.0",
|
|
43
|
+
"eslint": "^9.15.0",
|
|
44
|
+
"prettier": "^3.4.0",
|
|
45
|
+
"tsup": "^8.3.5",
|
|
46
|
+
"tsx": "^4.19.2",
|
|
47
|
+
"typescript": "^5.7.0",
|
|
48
|
+
"typescript-eslint": "^8.15.0",
|
|
49
|
+
"vitest": "^2.1.5"
|
|
50
|
+
}
|
|
51
|
+
}
|