package.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. {
  2. "name": "parse",
  3. "version": "4.2.0",
  4. "description": "Parse JavaScript SDK",
  5. "homepage": "https://parseplatform.org",
  6. "keywords": [
  7. "cloud",
  8. "mobile",
  9. "api"
  10. ],
  11. "license": "Apache-2.0",
  12. "repository": {
  13. "type": "git",
  14. "url": "https://github.com/parse-community/Parse-SDK-JS"
  15. },
  16. "bugs": "https://github.com/parse-community/Parse-SDK-JS/issues",
  17. "files": [
  18. "index.js",
  19. "node.js",
  20. "react-native.js",
  21. "weapp.js",
  22. "dist/",
  23. "lib/",
  24. "LICENSE",
  25. "NOTICE",
  26. "README.md"
  27. ],
  28. "browser": {
  29. "react-native": false
  30. },
  31. "dependencies": {
  32. "@babel/runtime-corejs3": "7.21.0",
  33. "idb-keyval": "6.2.0",
  34. "react-native-crypto-js": "1.0.0",
  35. "uuid": "9.0.0",
  36. "ws": "8.13.0",
  37. "xmlhttprequest": "1.8.0"
  38. },
  39. "devDependencies": {
  40. "@babel/core": "7.21.5",
  41. "@babel/eslint-parser": "7.21.3",
  42. "@babel/plugin-proposal-class-properties": "7.18.6",
  43. "@babel/plugin-transform-flow-comments": "7.21.0",
  44. "@babel/plugin-transform-flow-strip-types": "7.21.0",
  45. "@babel/plugin-transform-runtime": "7.21.4",
  46. "@babel/preset-env": "7.21.4",
  47. "@babel/preset-react": "7.18.6",
  48. "@parse/minami": "1.0.0",
  49. "@saithodev/semantic-release-backmerge": "2.1.3",
  50. "@semantic-release/changelog": "6.0.3",
  51. "@semantic-release/commit-analyzer": "9.0.2",
  52. "@semantic-release/git": "10.0.1",
  53. "@semantic-release/github": "8.0.7",
  54. "@semantic-release/npm": "9.0.2",
  55. "@semantic-release/release-notes-generator": "10.0.3",
  56. "babel-jest": "29.5.0",
  57. "babel-plugin-inline-package-json": "2.0.0",
  58. "babel-plugin-minify-dead-code-elimination": "0.5.2",
  59. "babel-plugin-transform-inline-environment-variables": "0.4.4",
  60. "browserify": "17.0.0",
  61. "codecov": "3.8.3",
  62. "core-js": "3.30.1",
  63. "cross-env": "7.0.2",
  64. "eslint": "8.39.0",
  65. "eslint-plugin-flowtype": "8.0.3",
  66. "eslint-plugin-jsdoc": "43.0.7",
  67. "express": "4.18.2",
  68. "gulp": "4.0.2",
  69. "gulp-babel": "8.0.0",
  70. "gulp-derequire": "3.0.0",
  71. "gulp-insert": "0.5.0",
  72. "gulp-rename": "2.0.0",
  73. "gulp-uglify": "3.0.2",
  74. "gulp-watch": "5.0.1",
  75. "husky": "8.0.3",
  76. "jasmine": "4.6.0",
  77. "jasmine-reporters": "2.5.2",
  78. "jasmine-spec-reporter": "7.0.0",
  79. "jest": "29.5.0",
  80. "jest-environment-jsdom": "29.5.0",
  81. "jsdoc": "4.0.2",
  82. "jsdoc-babel": "0.5.0",
  83. "lint-staged": "13.2.2",
  84. "metro-react-native-babel-preset": "0.76.3",
  85. "mongodb-runner": "4.10.0",
  86. "parse-server": "git+https://github.com/parse-community/parse-server#alpha",
  87. "prettier": "2.8.8",
  88. "puppeteer": "19.11.1",
  89. "regenerator-runtime": "0.13.11",
  90. "semantic-release": "19.0.5",
  91. "vinyl-source-stream": "2.0.0"
  92. },
  93. "optionalDependencies": {
  94. "crypto-js": "4.1.1"
  95. },
  96. "scripts": {
  97. "build": "node build_releases.js",
  98. "release": "node build_releases.js && npm publish",
  99. "test": "cross-env PARSE_BUILD=node jest",
  100. "test:mongodb": "npm run test:mongodb:runnerstart && npm run integration",
  101. "test:mongodb:runnerstart": "mongodb-runner start",
  102. "posttest:mongodb": "mongodb-runner stop",
  103. "lint": "eslint --cache src/ integration/",
  104. "lint:fix": "eslint --fix --cache src/ integration/",
  105. "watch": "cross-env PARSE_BUILD=${PARSE_BUILD} gulp watch",
  106. "watch:browser": "cross-env PARSE_BUILD=browser npm run watch",
  107. "watch:node": "cross-env PARSE_BUILD=node npm run watch",
  108. "watch:react-native": "cross-env PARSE_BUILD=react-native npm run watch",
  109. "integration": "cross-env TESTING=1 jasmine --config=jasmine.json",
  110. "docs": "jsdoc -c ./jsdoc-conf.json ./src",
  111. "prepare": "npm run build",
  112. "release_docs": "./release_docs.sh",
  113. "gulp": "gulp",
  114. "prettier": "prettier --write '{src,integration}/{**/*,*}.js' && npm run lint:fix",
  115. "cross-env": "cross-env"
  116. },
  117. "husky": {
  118. "hooks": {
  119. "pre-commit": "lint-staged"
  120. }
  121. },
  122. "lint-staged": {
  123. "{src,integration}/{**/*,*}.js": [
  124. "prettier --write",
  125. "eslint --fix --cache",
  126. "git add"
  127. ]
  128. },
  129. "engines": {
  130. "node": ">=14.21.0 <17 || >=18 <20"
  131. },
  132. "jest": {
  133. "automock": true,
  134. "collectCoverage": true,
  135. "coveragePathIgnorePatterns": [
  136. "/node_modules/",
  137. "test_helpers/(.*).js"
  138. ],
  139. "roots": [
  140. "src/"
  141. ],
  142. "testPathIgnorePatterns": [
  143. "/node_modules/",
  144. "/test_helpers/"
  145. ],
  146. "transform": {
  147. ".*": "./babel-jest.js"
  148. },
  149. "transformIgnorePatterns": [
  150. "/node_modules/",
  151. "package.json"
  152. ],
  153. "testEnvironment": "jsdom"
  154. }
  155. }