UNPKG

@xtsai/xai-utils

Version:

The xai-utils is an openai nodejs sdk compatible extension library.

107 lines 3.14 kB
{ "name": "@xtsai/xai-utils", "version": "0.1.0", "description": "The xai-utils is an openai nodejs sdk compatible extension library.", "main": "dist/cjs/index.js", "types": "types/index.d.ts", "module": "dist/esm/index.js", "keywords": [ "xai", "langchain", "openai-node", "utils", "types" ], "author": { "name": "lanbery", "email": "lanbery@gmail.com", "url": "https://lanbery.cc" }, "license": "LICENSE", "files": [ "dist/*", "types/*", "README.md", "LICENSE" ], "devDependencies": { "@changesets/changelog-github": "^0.5.1", "@changesets/cli": "^2.28.1", "@commitlint/cli": "^19.7.1", "@commitlint/config-conventional": "^19.7.1", "@commitlint/types": "^19.5.0", "@eslint/js": "^9.20.0", "@jest/globals": "^29.7.0", "@types/bcrypt": "^5.0.2", "@types/jest": "^29.5.14", "@types/node": "^22.13.4", "bcrypt": "^5.1.1", "cross-env": "^7.0.3", "date-fns": "^4.1.0", "eckey-utils": "^0.7.14", "eslint": "^9.20.1", "eslint-config-prettier": "^10.0.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.3", "globals": "^16.0.0", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^15.4.3", "prettier": "^3.5.1", "rimraf": "^6.0.1", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "typescript": "^5.7.3", "typescript-eslint": "^8.24.1" }, "lint-staged": { "*.{js,ts,tsx,json,html,vue,jsx,scss,less,css}": [ "prettier \"**/**/*.{ts,js,json,tsx,mjs,vue,scss,less,css,html}\" --ignore-path ./.prettierignore --write" ], "*.{js,ts,tsx,json,html,vue,jsx}": [ "pnpm run lint" ] }, "repository": { "type": "git", "url": "git+https://github.com/xtsai/xai-common.git" }, "bugs": { "url": "https://github.com/xtsai/xai-common/issues" }, "homepage": "https://github.com/xtsai/xai-common#readme", "publishConfig": { "access": "public" }, "npm": { "publish": false }, "engines": { "node": "^18 || >=20" }, "peerDependencies": { "bcrypt": "^5.1.1", "date-fns": "^4.1.0", "eckey-utils": "^0.7.14" }, "scripts": { "postinstall": "npx only-allow pnpm", "clean": "rimraf dist types coverage", "prebuild": "pnpm clean", "build": "pnpm tsc:esm && pnpm tsc:cjs", "tsc:esm": "tsc -p tsconfig.esm.json", "tsc:cjs": "tsc -p tsconfig.cjs.json", "format": "prettier \"**/**/*.{ts,js,json,tsx,mjs}\" --ignore-path ./.prettierignore --write", "lint-staged": "lint-staged", "lint": "eslint \"src/**/*.ts\" --fix", "test:all": "jest --config ./jest.config.ts --runInBand --colors", "test": "jest --config ./jest.config.ts --runInBand --colors --onlyChanged", "change:empty": "changeset add --empty", "prerelease": "pnpm test:all && pnpm build && pnpm vp", "publish:only": "changeset publish --registry=https://registry.npmjs.com/", "vp": "pnpm changeset version", "release": "pnpm publish:only", "postrelease": "pnpm push:changelog", "push:changelog": "node build/scripts/push-changelog.mjs" } }