package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "@anthropic-ai/tokenizer",
  3. "version": "0.0.4",
  4. "description": "Claude tokenizer",
  5. "author": "Anthropic <support@anthropic.com>",
  6. "types": "dist/cjs/index.d.ts",
  7. "main": "dist/cjs/index.js",
  8. "type": "commonjs",
  9. "repository": "github:anthropics/anthropic-tokenizer-typescript",
  10. "license": "Apache-2.0",
  11. "private": false,
  12. "scripts": {
  13. "test": "yarn jest",
  14. "build": "bash ./build",
  15. "prepack": "yarn build",
  16. "format": "prettier --write .",
  17. "tsn": "ts-node -r tsconfig-paths/register",
  18. "fix": "eslint --fix --ext ts,js ."
  19. },
  20. "dependencies": {
  21. "@types/node": "^18.11.18",
  22. "tiktoken": "^1.0.10"
  23. },
  24. "devDependencies": {
  25. "@anthropic-ai/tokenizer": "link:.",
  26. "@types/jest": "^27.5.0",
  27. "@typescript-eslint/eslint-plugin": "^5.33.0",
  28. "@typescript-eslint/parser": "^5.33.0",
  29. "eslint": "^8.22.0",
  30. "eslint-plugin-unused-imports": "^2.0.0",
  31. "jest": "^28.1.0",
  32. "prettier": "rattrayalex/prettier#postfix-ternaries",
  33. "ts-jest": "^28.0.2",
  34. "ts-node": "^10.5.0",
  35. "tsc-alias": "^1.6.9",
  36. "tsconfig-paths": "^3.12.0",
  37. "typescript": "^4.8.2"
  38. }
  39. }