package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "@solana-program/token",
  3. "version": "0.0.0",
  4. "description": "JavaScript client for the Token program",
  5. "sideEffects": false,
  6. "module": "./dist/src/index.js",
  7. "main": "./dist/src/index.cjs",
  8. "types": "./dist/types/src/index.d.ts",
  9. "type": "module",
  10. "exports": {
  11. ".": {
  12. "types": "./dist/types/src/index.d.ts",
  13. "import": "./dist/src/index.js",
  14. "require": "./dist/src/index.cjs"
  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. },
  30. "publishConfig": {
  31. "access": "public",
  32. "registry": "https://registry.npmjs.org"
  33. },
  34. "license": "MIT",
  35. "peerDependencies": {
  36. "@solana/web3.js": "tp3"
  37. },
  38. "devDependencies": {
  39. "@ava/typescript": "^4.1.0",
  40. "@solana/eslint-config-solana": "^3.0.0",
  41. "@solana/web3.js": "tp3",
  42. "@solana/webcrypto-ed25519-polyfill": "tp3",
  43. "@typescript-eslint/eslint-plugin": "^7.3.1",
  44. "@typescript-eslint/parser": "^7.3.1",
  45. "ava": "^6.1.2",
  46. "eslint": "^8.57.0",
  47. "prettier": "^3.2.5",
  48. "rimraf": "^5.0.5",
  49. "tsup": "^8.0.2",
  50. "typedoc": "^0.25.12",
  51. "typedoc-plugin-missing-exports": "^2.2.0",
  52. "typescript": "^5.4.2"
  53. },
  54. "ava": {
  55. "require": [
  56. "@solana/webcrypto-ed25519-polyfill"
  57. ],
  58. "typescript": {
  59. "compile": false,
  60. "rewritePaths": {
  61. "test/": "dist/test/"
  62. }
  63. }
  64. },
  65. "packageManager": "pnpm@8.2.0"
  66. }