package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. {
  2. "name": "moralis",
  3. "version": "1.5.9",
  4. "description": "The Moralis JavaScript SDK",
  5. "homepage": "https://docs.moralis.io",
  6. "keywords": [
  7. "cloud",
  8. "mobile",
  9. "api"
  10. ],
  11. "license": "BSD-3-Clause",
  12. "repository": {
  13. "type": "git",
  14. "url": "git+https://github.com/MoralisWeb3/Moralis-JS-SDK.git"
  15. },
  16. "bugs": "https://github.com/MoralisWeb3/issue-tracker/issues",
  17. "typings": "types",
  18. "files": [
  19. "index.js",
  20. "node.js",
  21. "node.d.ts",
  22. "react-native.js",
  23. "react-native.d.ts",
  24. "weapp.js",
  25. "weapp.d.ts",
  26. "dist/",
  27. "types/",
  28. "lib/",
  29. "LICENSE",
  30. "PATENTS",
  31. "README.md"
  32. ],
  33. "browser": {
  34. "react-native": false
  35. },
  36. "dependencies": {
  37. "@babel/runtime": "7.16.7",
  38. "@babel/runtime-corejs3": "7.16.8",
  39. "@metamask/detect-provider": "^1.2.0",
  40. "axios": "0.26.1",
  41. "ethers": "5.6.0",
  42. "react-native-crypto-js": "1.0.0",
  43. "uuid": "^8.3.2",
  44. "ws": "^8.3.0",
  45. "xmlhttprequest": "1.8.0"
  46. },
  47. "devDependencies": {
  48. "@babel/core": "^7.16.5",
  49. "@babel/eslint-parser": "^7.16.5",
  50. "@babel/plugin-proposal-class-properties": "^7.16.5",
  51. "@babel/plugin-transform-flow-comments": "^7.16.5",
  52. "@babel/plugin-transform-flow-strip-types": "^7.16.5",
  53. "@babel/plugin-transform-runtime": "^7.16.5",
  54. "@babel/preset-env": "^7.16.5",
  55. "@babel/preset-react": "^7.16.5",
  56. "@parse/minami": "1.0.0",
  57. "@semantic-release/changelog": "^6.0.1",
  58. "@semantic-release/commit-analyzer": "^9.0.2",
  59. "@semantic-release/git": "^10.0.1",
  60. "@semantic-release/github": "^8.0.2",
  61. "@semantic-release/npm": "^8.0.3",
  62. "@semantic-release/release-notes-generator": "^10.0.3",
  63. "babel-jest": "^27.4.5",
  64. "babel-plugin-inline-package-json": "2.0.0",
  65. "babel-plugin-minify-dead-code-elimination": "0.5.1",
  66. "babel-plugin-transform-inline-environment-variables": "0.4.3",
  67. "browserify": "^17.0.0",
  68. "codecov": "^3.8.3",
  69. "core-js": "^3.20.0",
  70. "cross-env": "^7.0.3",
  71. "eslint": "^8.4.1",
  72. "eslint-config-airbnb-base": "^15.0.0",
  73. "eslint-config-prettier": "^8.3.0",
  74. "eslint-plugin-flowtype": "^8.0.3",
  75. "eslint-plugin-import": "^2.25.3",
  76. "express": "^4.17.2",
  77. "glob": "^7.2.0",
  78. "gulp": "^4.0.2",
  79. "gulp-babel": "8.0.0",
  80. "gulp-derequire": "3.0.0",
  81. "gulp-insert": "0.5.0",
  82. "gulp-rename": "2.0.0",
  83. "gulp-terser": "^2.1.0",
  84. "gulp-watch": "^5.0.1",
  85. "husky": "^7.0.4",
  86. "jasmine": "^4.0.2",
  87. "jasmine-reporters": "^2.5.0",
  88. "jest": "^27.4.5",
  89. "jest-environment-jsdom": "^27.4.4",
  90. "lint-staged": "^12.1.2",
  91. "merge-stream": "^2.0.0",
  92. "metro-react-native-babel-preset": "0.66.2",
  93. "openapi-typescript": "^4.5.0",
  94. "parse-server": "git+https://git@github.com/parse-community/parse-server.git#alpha",
  95. "prettier": "^2.5.1",
  96. "regenerator-runtime": "^0.13.9",
  97. "semantic-release": "^18.0.1",
  98. "vinyl-source-stream": "2.0.0"
  99. },
  100. "optionalDependencies": {
  101. "crypto-js": "4.1.1"
  102. },
  103. "scripts": {
  104. "install:clean": "npm ci",
  105. "build": "node scripts/build_releases.js",
  106. "release": "npm publish",
  107. "test": "cross-env PARSE_BUILD=node NODE_ENV=test jest",
  108. "test:ci": "cross-env PARSE_BUILD=node NODE_ENV=test jest",
  109. "lint": "eslint --cache src/ integration/",
  110. "lint:ci": "eslint --output-file eslint_report.json --format json src/ integration/",
  111. "lint:fix": "eslint --fix --cache src/ integration/",
  112. "watch": "cross-env PARSE_BUILD=${PARSE_BUILD} gulp watch",
  113. "watch:browser": "cross-env PARSE_BUILD=browser npm run watch",
  114. "watch:node": "cross-env PARSE_BUILD=node npm run watch",
  115. "watch:react-native": "cross-env PARSE_BUILD=react-native npm run watch",
  116. "integration": "cross-env TESTING=1 jasmine --config=jasmine.json",
  117. "gulp": "gulp",
  118. "format": "prettier --write .",
  119. "format:check": "prettier --check .",
  120. "cross-env": "cross-env",
  121. "generate-web3Api": "node scripts/genWeb3API && node scripts/generateWeb3ApiTypes",
  122. "generate-solanaApi": "node scripts/genSolanaAPI && node scripts/generateSolanaApiTypes",
  123. "prepare": "husky install",
  124. "pre-commit": "lint-staged"
  125. },
  126. "lint-staged": {
  127. "{src,integration}/**/*.js": [
  128. "eslint"
  129. ],
  130. "src/**/*.{js,ts,html,css,md,json}": [
  131. "prettier --write"
  132. ]
  133. },
  134. "jest": {
  135. "automock": true,
  136. "testRunner": "jest-jasmine2",
  137. "testEnvironment": "jest-environment-jsdom",
  138. "collectCoverage": true,
  139. "coveragePathIgnorePatterns": [
  140. "/node_modules/",
  141. "test_helpers/(.*).js"
  142. ],
  143. "roots": [
  144. "src/"
  145. ],
  146. "testPathIgnorePatterns": [
  147. "/node_modules/",
  148. "/test_helpers/"
  149. ],
  150. "transform": {
  151. ".*": "./babel-jest.js"
  152. },
  153. "transformIgnorePatterns": [
  154. "/node_modules/",
  155. "package.json"
  156. ],
  157. "setupFilesAfterEnv": [
  158. "./setup-jest.js"
  159. ]
  160. }
  161. }