package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "@solana-program/token",
  3. "version": "0.2.1",
  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. "peerDependencies": {
  37. "@solana/web3.js": "2.0.0-preview.4"
  38. },
  39. "devDependencies": {
  40. "@ava/typescript": "^4.1.0",
  41. "@solana-program/system": "^0.4.0",
  42. "@solana/eslint-config-solana": "^3.0.3",
  43. "@solana/web3.js": "2.0.0-preview.4",
  44. "@solana/webcrypto-ed25519-polyfill": "2.0.0-preview.4",
  45. "@types/node": "^20",
  46. "@typescript-eslint/eslint-plugin": "^7.16.1",
  47. "@typescript-eslint/parser": "^7.16.1",
  48. "ava": "^6.1.3",
  49. "eslint": "^8.57.0",
  50. "prettier": "^3.3.3",
  51. "rimraf": "^5.0.5",
  52. "tsup": "^8.1.2",
  53. "typedoc": "^0.25.12",
  54. "typedoc-plugin-missing-exports": "^2.2.0",
  55. "typescript": "^5.5.3"
  56. },
  57. "ava": {
  58. "nodeArguments": [
  59. "--no-warnings"
  60. ],
  61. "require": [
  62. "@solana/webcrypto-ed25519-polyfill"
  63. ],
  64. "typescript": {
  65. "compile": false,
  66. "rewritePaths": {
  67. "test/": "dist/test/"
  68. }
  69. }
  70. },
  71. "packageManager": "pnpm@9.1.0"
  72. }