package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "@solana-program/token",
  3. "version": "0.6.0",
  4. "description": "JavaScript client for the Token program",
  5. "sideEffects": false,
  6. "module": "./dist/src/index.mjs",
  7. "main": "./dist/src/index.js",
  8. "types": "./dist/types/index.d.ts",
  9. "type": "commonjs",
  10. "exports": {
  11. ".": {
  12. "types": "./dist/types/index.d.ts",
  13. "import": "./dist/src/index.mjs",
  14. "require": "./dist/src/index.js"
  15. }
  16. },
  17. "files": [
  18. "./dist/src",
  19. "./dist/types"
  20. ],
  21. "scripts": {
  22. "build": "rimraf dist && tsup && tsc -p ./tsconfig.declarations.json",
  23. "build:docs": "typedoc",
  24. "test": "ava",
  25. "lint": "eslint --ext js,ts,tsx src",
  26. "lint:fix": "eslint --fix --ext js,ts,tsx src",
  27. "format": "prettier --check src test",
  28. "format:fix": "prettier --write src test",
  29. "prepublishOnly": "pnpm build"
  30. },
  31. "publishConfig": {
  32. "access": "public",
  33. "registry": "https://registry.npmjs.org"
  34. },
  35. "license": "Apache-2.0",
  36. "repository": {
  37. "type": "git",
  38. "url": "git+https://github.com/solana-program/token.git"
  39. },
  40. "bugs": {
  41. "url": "https://github.com/solana-program/token/issues"
  42. },
  43. "homepage": "https://github.com/solana-program/token#readme",
  44. "peerDependencies": {
  45. "@solana/kit": "^3.0"
  46. },
  47. "devDependencies": {
  48. "@ava/typescript": "^4.1.0",
  49. "@solana-program/system": "^0.8.0",
  50. "@solana/eslint-config-solana": "^3.0.3",
  51. "@solana/kit": "^3.0",
  52. "@types/node": "^24",
  53. "@typescript-eslint/eslint-plugin": "^7.16.1",
  54. "@typescript-eslint/parser": "^7.16.1",
  55. "ava": "^6.1.3",
  56. "eslint": "^8.57.0",
  57. "prettier": "^3.3.3",
  58. "rimraf": "^5.0.5",
  59. "tsup": "^8.1.2",
  60. "typedoc": "^0.25.12",
  61. "typescript": "^5.5.3"
  62. },
  63. "ava": {
  64. "nodeArguments": [
  65. "--no-warnings"
  66. ],
  67. "typescript": {
  68. "compile": false,
  69. "rewritePaths": {
  70. "test/": "dist/test/"
  71. }
  72. }
  73. },
  74. "packageManager": "pnpm@9.1.0"
  75. }