package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "@solana-program/system",
  3. "version": "0.3.2",
  4. "description": "JavaScript client for the System 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.3"
  38. },
  39. "devDependencies": {
  40. "@ava/typescript": "^4.1.0",
  41. "@solana/eslint-config-solana": "^3.0.0",
  42. "@solana/web3.js": "tp3",
  43. "@solana/webcrypto-ed25519-polyfill": "tp3",
  44. "@typescript-eslint/eslint-plugin": "^7.3.1",
  45. "@typescript-eslint/parser": "^7.3.1",
  46. "ava": "^6.1.2",
  47. "eslint": "^8.57.0",
  48. "prettier": "^3.2.5",
  49. "rimraf": "^5.0.5",
  50. "tsup": "^8.0.2",
  51. "typedoc": "^0.25.12",
  52. "typedoc-plugin-missing-exports": "^2.2.0",
  53. "typescript": "^5.4.2"
  54. },
  55. "ava": {
  56. "require": [
  57. "@solana/webcrypto-ed25519-polyfill"
  58. ],
  59. "typescript": {
  60. "compile": false,
  61. "rewritePaths": {
  62. "test/": "dist/test/"
  63. }
  64. }
  65. },
  66. "packageManager": "pnpm@9.1.0"
  67. }