package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "@pythnetwork/pyth-ton-js",
  3. "version": "0.1.2",
  4. "description": "Pyth Network TON Utilities",
  5. "homepage": "https://pyth.network",
  6. "author": {
  7. "name": "Pyth Data Association"
  8. },
  9. "type": "module",
  10. "exports": {
  11. ".": {
  12. "import": "./lib/index.js",
  13. "require": "./lib/cjs/index.js",
  14. "types": "./lib/index.d.ts"
  15. }
  16. },
  17. "main": "./lib/cjs/index.js",
  18. "module": "./lib/index.js",
  19. "types": "./lib/index.d.ts",
  20. "files": [
  21. "lib/**/*"
  22. ],
  23. "repository": {
  24. "type": "git",
  25. "url": "https://github.com/pyth-network/pyth-crosschain",
  26. "directory": "target_chains/ton/sdk/js"
  27. },
  28. "publishConfig": {
  29. "access": "public"
  30. },
  31. "scripts": {
  32. "build": "pnpm run build:esm && pnpm run build:cjs",
  33. "build:esm": "tsc",
  34. "build:cjs": "tsc --module commonjs --outDir lib/cjs",
  35. "format": "prettier --write \"src/**/*.ts\"",
  36. "test:lint": "eslint src/",
  37. "prepublishOnly": "pnpm run build && pnpm run test:lint",
  38. "preversion": "pnpm run test:lint",
  39. "version": "pnpm run format && git add -A src"
  40. },
  41. "keywords": [
  42. "pyth",
  43. "oracle"
  44. ],
  45. "license": "Apache-2.0",
  46. "devDependencies": {
  47. "@ton/core": "^0.59.0",
  48. "@ton/ton": "^15.1.0",
  49. "@ton/crypto": "^3.3.0",
  50. "@types/node": "^18.11.18",
  51. "@typescript-eslint/eslint-plugin": "^5.21.0",
  52. "@typescript-eslint/parser": "^5.21.0",
  53. "eslint": "^8.14.0",
  54. "jest": "^29.4.1",
  55. "prettier": "^2.6.2",
  56. "ts-jest": "^29.0.5",
  57. "typescript": "^4.6.3",
  58. "ts-node": "^10.9.2"
  59. },
  60. "dependencies": {}
  61. }