package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "@codama/nodes-from-anchor",
  3. "version": "1.2.7",
  4. "description": "Node specifications and helpers for the Codama standard",
  5. "exports": {
  6. "types": "./dist/types/index.d.ts",
  7. "react-native": "./dist/index.react-native.mjs",
  8. "browser": {
  9. "import": "./dist/index.browser.mjs",
  10. "require": "./dist/index.browser.cjs"
  11. },
  12. "node": {
  13. "import": "./dist/index.node.mjs",
  14. "require": "./dist/index.node.cjs"
  15. }
  16. },
  17. "browser": {
  18. "./dist/index.node.cjs": "./dist/index.browser.cjs",
  19. "./dist/index.node.mjs": "./dist/index.browser.mjs"
  20. },
  21. "main": "./dist/index.node.cjs",
  22. "module": "./dist/index.node.mjs",
  23. "react-native": "./dist/index.react-native.mjs",
  24. "types": "./dist/types/index.d.ts",
  25. "type": "commonjs",
  26. "files": [
  27. "./dist/types",
  28. "./dist/index.*"
  29. ],
  30. "sideEffects": false,
  31. "keywords": [
  32. "solana",
  33. "framework",
  34. "standard",
  35. "specifications"
  36. ],
  37. "scripts": {
  38. "build": "rimraf dist && tsup && tsc -p ./tsconfig.declarations.json",
  39. "dev": "vitest --project node",
  40. "lint": "eslint . && prettier --check .",
  41. "lint:fix": "eslint --fix . && prettier --write .",
  42. "test": "pnpm test:types && pnpm test:treeshakability && pnpm test:unit",
  43. "test:treeshakability": "for file in dist/index.*.mjs; do agadoo $file; done",
  44. "test:types": "tsc --noEmit",
  45. "test:unit": "vitest run"
  46. },
  47. "dependencies": {
  48. "@codama/errors": "workspace:*",
  49. "@codama/nodes": "workspace:*",
  50. "@codama/visitors": "workspace:*",
  51. "@solana/codecs": "^3.0.3",
  52. "@noble/hashes": "^1.8.0"
  53. },
  54. "license": "MIT",
  55. "repository": {
  56. "type": "git",
  57. "url": "https://github.com/codama-idl/codama"
  58. },
  59. "bugs": {
  60. "url": "http://github.com/codama-idl/codama/issues"
  61. },
  62. "browserslist": [
  63. "supports bigint and not dead",
  64. "maintained node versions"
  65. ]
  66. }