Skip to content

Commit

Permalink
feat: add bundler support (#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu-dixit authored Dec 9, 2024
1 parent 1483573 commit 12898e9
Show file tree
Hide file tree
Showing 5 changed files with 574 additions and 555 deletions.
31 changes: 17 additions & 14 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,23 @@
"name": "composio-core",
"version": "0.3.2",
"description": "",
"main": "lib/src/index.js",
"main": "dist/src/index.js",
"scripts": {
"test": "jest --testMatch=\"**/*.spec.ts\"",
"test:watch": "jest --testMatch=\"**/*.spec.ts\" --watch",
"test:coverage": "jest --coverage --testMatch=\"**/*.spec.ts\"",
"build": "tsc --project . --outDir lib && ./setup_cli.sh",
"build:watch": "tsc --watch --project . --outDir lib --watch",
"type-docs": "typedoc",
"openapispec:generate": "npx @hey-api/openapi-ts",
"run:cli": "ts-node src/cli/index.ts",
"run:sample": "ts-node sample.ts",
"build": "rollup -c rollup.config.mjs",
"lint": "eslint 'src/**/*.ts'",
"prettier": "prettier --write 'src/**/*.ts'",
"format": "pnpm lint && pnpm prettier"
},
"bin": {
"composio-js": "./lib/src/cli/index",
"composio": "./lib/src/cli/index"
"composio-js": "./dist/src/cli/index",
"composio": "./dist/src/cli/index"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": "eslint --fix"
Expand All @@ -31,6 +30,9 @@
"@cloudflare/workers-types": "^4.20240718.0",
"@hey-api/openapi-ts": "^0.52.4",
"@jest/globals": "^29.7.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@swc/core": "^1.7.10",
"@swc/helpers": "^0.5.12",
"@types/cli-progress": "^3.11.6",
Expand All @@ -41,29 +43,27 @@
"@types/uuid": "^10.0.0",
"@types/winston": "^2.4.4",
"axios-mock-adapter": "^2.1.0",
"clean-webpack-plugin": "^4.0.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"jest": "^29.7.0",
"jest-html-reporters": "^3.1.7",
"regenerator-runtime": "^0.14.1",
"terser-webpack-plugin": "^5.3.10",
"rollup": "^4.9.1",
"rollup-plugin-dts": "^6.1.0",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"tslib": "^2.6.2",
"typedoc": "^0.25.13",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"wrangler": "^3.63.1"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.36",
"wrangler": "^3.63.1",
"@ai-sdk/openai": "^0.0.36",
"@e2b/code-interpreter": "^0.0.8",
"@e2b/sdk": "^0.16.1",
"@faker-js/faker": "^8.4.1",
"@hey-api/client-axios": "^0.2.3",
"@hono/node-server": "^1.12.0",
"@langchain/core": "^0.2.18",
"@langchain/openai": "^0.2.5",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-replace": "^6.0.1",
"ai": "^3.2.22",
"axios": "^1.7.2",
"chalk": "^4",
Expand All @@ -80,12 +80,15 @@
"openai": "^4.50.0",
"pusher-js": "8.4.0-rc2",
"resolve-package-path": "^4.0.3",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "^10.9.2",
"uuid": "^10.0.0",
"winston": "^3.13.1",
"zod": "^3.23.8",
"zod-to-json-schema": "^3.23.2"
},
"dependencies": {
},
"publishConfig": {
"access": "public"
}
Expand Down
Loading

0 comments on commit 12898e9

Please sign in to comment.