package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "@codama/node-types",
  3. "version": "1.4.0",
  4. "description": "Node specifications 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. "lint": "eslint . && prettier --check .",
  40. "lint:fix": "eslint --fix . && prettier --write .",
  41. "test": "pnpm test:types && pnpm test:treeshakability",
  42. "test:treeshakability": "for file in dist/index.*.mjs; do agadoo $file; done",
  43. "test:types": "tsc --noEmit"
  44. },
  45. "license": "MIT",
  46. "repository": {
  47. "type": "git",
  48. "url": "https://github.com/codama-idl/codama"
  49. },
  50. "bugs": {
  51. "url": "http://github.com/codama-idl/codama/issues"
  52. },
  53. "browserslist": [
  54. "supports bigint and not dead",
  55. "maintained node versions"
  56. ]
  57. }