package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "@pythnetwork/pyth-ton-js",
  3. "version": "0.3.0",
  4. "description": "Pyth Network TON Utilities",
  5. "homepage": "https://pyth.network",
  6. "author": {
  7. "name": "Pyth Data Association"
  8. },
  9. "main": "./dist/cjs/index.cjs",
  10. "types": "./dist/cjs/index.d.ts",
  11. "files": [
  12. "dist/**/*"
  13. ],
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/pyth-network/pyth-crosschain",
  17. "directory": "target_chains/ton/sdk/js"
  18. },
  19. "publishConfig": {
  20. "access": "public"
  21. },
  22. "scripts": {
  23. "build": "ts-duality",
  24. "test:lint": "eslint src/ --max-warnings 0",
  25. "test:format": "prettier --check \"src/**/*.ts\"",
  26. "fix:lint": "eslint src/ --fix --max-warnings 0",
  27. "fix:format": "prettier --write \"src/**/*.ts\"",
  28. "prepublishOnly": "pnpm run build && pnpm run test:lint",
  29. "preversion": "pnpm run test:lint",
  30. "version": "pnpm run test:format && git add -A src",
  31. "clean": "rm -rf ./dist"
  32. },
  33. "keywords": [
  34. "pyth",
  35. "oracle"
  36. ],
  37. "license": "Apache-2.0",
  38. "devDependencies": {
  39. "@cprussin/eslint-config": "catalog:",
  40. "@ton/core": "^0.59.0",
  41. "@ton/crypto": "^3.3.0",
  42. "@ton/ton": "^15.1.0",
  43. "@types/node": "^18.11.18",
  44. "eslint": "catalog:",
  45. "jest": "^29.4.1",
  46. "prettier": "catalog:",
  47. "ts-jest": "^29.0.5",
  48. "ts-node": "catalog:"
  49. },
  50. "engines": {
  51. "node": ">=22.14.0"
  52. },
  53. "type": "module",
  54. "exports": {
  55. ".": {
  56. "require": {
  57. "types": "./dist/cjs/index.d.ts",
  58. "default": "./dist/cjs/index.cjs"
  59. },
  60. "import": {
  61. "types": "./dist/esm/index.d.ts",
  62. "default": "./dist/esm/index.mjs"
  63. }
  64. },
  65. "./package.json": "./package.json"
  66. },
  67. "module": "./dist/esm/index.mjs"
  68. }