{
  "name": "embeddings-splitter",
  "version": "0.2.1",
  "description": "A typescript library to split your long texts into smaller chunks to send them to OpenAI Embeddings API",
  "main": "lib/index.js",
  "types": "lib/index.d.ts",
  "scripts": {
    "build": "tsc",

    "format": "prettier --write \"src/**/*.(js|ts)\"",
    "lint": "eslint src --ext .js,.ts",
    "lint:fix": "eslint src --fix --ext .js,.ts",
    "test": "jest --runInBand --config jest.config.js --silent=false",
    "test:watch": "jest --config jest.config.js --watch",
    "prepare": "npm run build",
    "prepublishOnly": "npm test && npm run lint",
    "preversion": "npm run lint",
    "version": "npm run format && git add -A src",
    "postversion": "git push && git push --tags"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/different-ai/embeddings-splitter.git"
  },
  "keywords": [
    "embeddings",
    "utils",
    "typescript"
  ],
  "author": "Different AI",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/different-ai/embeddings-splitter/issues"
  },
  "homepage": "https://github.com/different-ai/embeddings-splitter#readme",
  "devDependencies": {
    "@types/jest": "29.2.4",
    "@typescript-eslint/eslint-plugin": "5.46.0",
    "@typescript-eslint/parser": "5.47.1",
    "eslint": "8.30.0",
    "eslint-plugin-jest": "27.1.7",
    "jest": "29.3.1",
    "prettier": "2.8.1",
    "ts-jest": "29.0.3",
    "typescript": "4.9.4"
  },
  "files": [
    "lib/**/*"
  ],
  "dependencies": {
    "@dqbd/tiktoken": "^0.4.0",
    "cross-fetch": "^3.1.5"
  }
}
