Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 26e1163

Browse files
authored
Update package.json
1 parent b87c872 commit 26e1163

1 file changed

Lines changed: 75 additions & 75 deletions

File tree

package.json

Lines changed: 75 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,78 @@
11
{
2-
"name": "btch-gemini",
3-
"version": "5.0.0",
4-
"description": "A package for communicating with the Gemini API for chat and image processing.",
5-
"main": "./dist/index.js",
6-
"module": "./dist/index.mjs",
7-
"types": "./dist/index.d.ts",
8-
"exports": {
9-
".": {
10-
"import": "./dist/index.mjs",
11-
"require": "./dist/index.js",
12-
"types": "./dist/index.d.ts"
2+
"name": "btch-gemini",
3+
"version": "5.0.0",
4+
"description": "A package for communicating with the Gemini API for chat and image processing.",
5+
"main": "./dist/cjs/src/index.js",
6+
"module": "./dist/esm/src/index.js",
7+
"types": "./dist/src/cjs/types/src/index.d.ts",
8+
"exports": {
9+
".": {
10+
"import": "./dist/index.mjs",
11+
"require": "./dist/index.js",
12+
"types": "./dist/index.d.ts"
13+
}
14+
},
15+
"scripts": {
16+
"build": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && node -e \"require('fs').mkdirSync('dist/esm', {recursive: true})\" && node -e \"if(require('fs').existsSync('dist/cjs/index.js')) require('fs').copyFileSync('dist/cjs/index.js', 'dist/index.js')\" && node -e \"if(require('fs').existsSync('dist/esm/index.mjs')) require('fs').copyFileSync('dist/esm/index.mjs', 'dist/index.mjs')\" && node -e \"if(require('fs').existsSync('dist/cjs/index.d.ts')) require('fs').copyFileSync('dist/cjs/index.d.ts', 'dist/index.d.ts')\" && node -e \"if(require('fs').existsSync('dist/cjs/version.js')) require('fs').copyFileSync('dist/cjs/version.js', 'dist/version.js')\" && node -e \"if(require('fs').existsSync('dist/cjs/version.d.ts')) require('fs').copyFileSync('dist/cjs/version.d.ts', 'dist/version.d.ts')\"",
17+
"start": "node dist/index.js",
18+
"test": "jest",
19+
"prepublishOnly": "npm run build",
20+
"prepare": "npm run build"
21+
},
22+
"files": [
23+
"dist/",
24+
"README.md",
25+
"LICENSE"
26+
],
27+
"config": {
28+
"baseUrl": "https://gemini-api.zone.id",
29+
"description": "A package for communicating with the Gemini API for chat and image processing."
30+
},
31+
"keywords": [
32+
"gemini",
33+
"chat",
34+
"image-processing",
35+
"video-processing",
36+
"audio-processing",
37+
"image-editing",
38+
"api",
39+
"typescript"
40+
],
41+
"author": "BOTCAHX",
42+
"license": "MIT",
43+
"dependencies": {
44+
"axios": "^1.8.2"
45+
},
46+
"devDependencies": {
47+
"@types/jest": "^29.5.0",
48+
"@types/node": "^20.0.0",
49+
"jest": "^29.5.0",
50+
"ts-jest": "^29.1.0",
51+
"typescript": "^5.0.0"
52+
},
53+
"repository": {
54+
"type": "git",
55+
"url": "git+https://github.com/hostinger-bot/btch-gemini.git"
56+
},
57+
"bugs": {
58+
"url": "https://github.com/hostinger-bot/btch-gemini/issues"
59+
},
60+
"homepage": "https://github.com/hostinger-bot/btch-gemini#readme",
61+
"directories": {
62+
"src": "src",
63+
"test": "test"
64+
},
65+
"publishConfig": {
66+
"registry": "https://registry.npmjs.org/"
67+
},
68+
"readme": "README.md",
69+
"jest": {
70+
"preset": "ts-jest",
71+
"testEnvironment": "node",
72+
"testMatch": ["**/test/*.ts", "**/test/**/*.ts"],
73+
"moduleFileExtensions": ["ts", "js"],
74+
"transform": {
75+
"^.+\\.ts$": "ts-jest"
76+
}
1377
}
14-
},
15-
"scripts": {
16-
"build": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && node -e \"require('fs').mkdirSync('dist/esm', {recursive: true})\" && node -e \"if(require('fs').existsSync('dist/cjs/index.js')) require('fs').copyFileSync('dist/cjs/index.js', 'dist/index.js')\" && node -e \"if(require('fs').existsSync('dist/esm/index.mjs')) require('fs').copyFileSync('dist/esm/index.mjs', 'dist/index.mjs')\" && node -e \"if(require('fs').existsSync('dist/cjs/index.d.ts')) require('fs').copyFileSync('dist/cjs/index.d.ts', 'dist/index.d.ts')\" && node -e \"if(require('fs').existsSync('dist/cjs/version.js')) require('fs').copyFileSync('dist/cjs/version.js', 'dist/version.js')\" && node -e \"if(require('fs').existsSync('dist/cjs/version.d.ts')) require('fs').copyFileSync('dist/cjs/version.d.ts', 'dist/version.d.ts')\"",
17-
"start": "node dist/index.js",
18-
"test": "jest",
19-
"prepublishOnly": "npm run build",
20-
"prepare": "npm run build"
21-
},
22-
"files": [
23-
"dist/",
24-
"README.md",
25-
"LICENSE"
26-
],
27-
"config": {
28-
"baseUrl": "https://gemini-api.zone.id",
29-
"description": "A package for communicating with the Gemini API for chat and image processing."
30-
},
31-
"keywords": [
32-
"gemini",
33-
"chat",
34-
"image-processing",
35-
"video-processing",
36-
"audio-processing",
37-
"image-editing",
38-
"api",
39-
"typescript"
40-
],
41-
"author": "BOTCAHX",
42-
"license": "MIT",
43-
"dependencies": {
44-
"axios": "^1.8.2"
45-
},
46-
"devDependencies": {
47-
"@types/jest": "^29.5.0",
48-
"@types/node": "^20.0.0",
49-
"jest": "^29.5.0",
50-
"ts-jest": "^29.1.0",
51-
"typescript": "^5.0.0"
52-
},
53-
"repository": {
54-
"type": "git",
55-
"url": "git+https://github.com/hostinger-bot/btch-gemini.git"
56-
},
57-
"bugs": {
58-
"url": "https://github.com/hostinger-bot/btch-gemini/issues"
59-
},
60-
"homepage": "https://github.com/hostinger-bot/btch-gemini#readme",
61-
"directories": {
62-
"src": "src",
63-
"test": "test"
64-
},
65-
"publishConfig": {
66-
"registry": "https://registry.npmjs.org/"
67-
},
68-
"readme": "README.md",
69-
"jest": {
70-
"preset": "ts-jest",
71-
"testEnvironment": "node",
72-
"testMatch": ["**/test/*.ts", "**/test/**/*.ts"],
73-
"moduleFileExtensions": ["ts", "js"],
74-
"transform": {
75-
"^.+\\.ts$": "ts-jest"
76-
}
77-
}
7878
}

0 commit comments

Comments
 (0)