package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "@codama/dynamic-parsers",
  3. "version": "1.1.25",
  4. "description": "Helpers to dynamically identify and parse accounts and instructions",
  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. "parsers"
  37. ],
  38. "scripts": {
  39. "build": "rimraf dist && tsup && tsc -p ./tsconfig.declarations.json",
  40. "dev": "vitest --project node",
  41. "lint": "eslint . && prettier --check .",
  42. "lint:fix": "eslint --fix . && prettier --write .",
  43. "test": "pnpm test:types && pnpm test:treeshakability && pnpm test:unit",
  44. "test:treeshakability": "for file in dist/index.*.mjs; do agadoo $file; done",
  45. "test:types": "tsc --noEmit",
  46. "test:unit": "vitest run"
  47. },
  48. "dependencies": {
  49. "@codama/dynamic-codecs": "workspace:*",
  50. "@codama/errors": "workspace:*",
  51. "@codama/nodes": "workspace:*",
  52. "@codama/visitors-core": "workspace:*",
  53. "@solana/instructions": "^5.0.0"
  54. },
  55. "devDependencies": {
  56. "@solana/codecs": "^5.0.0"
  57. },
  58. "license": "MIT",
  59. "repository": {
  60. "type": "git",
  61. "url": "https://github.com/codama-idl/codama"
  62. },
  63. "bugs": {
  64. "url": "http://github.com/codama-idl/codama/issues"
  65. },
  66. "browserslist": [
  67. "supports bigint and not dead",
  68. "maintained node versions"
  69. ]
  70. }