package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {
  2. "_from": "bson@^4.2.2",
  3. "_id": "bson@4.6.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-I1LQ7Hz5zgwR4QquilLNZwbhPw0Apx7i7X9kGMBTsqPdml/03Q9NBtD9nt/19ahjlphktQImrnderxqpzeVDjw==",
  6. "_location": "/bson",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "bson@^4.2.2",
  12. "name": "bson",
  13. "escapedName": "bson",
  14. "rawSpec": "^4.2.2",
  15. "saveSpec": null,
  16. "fetchSpec": "^4.2.2"
  17. },
  18. "_requiredBy": [
  19. "/mongodb",
  20. "/mongoose"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/bson/-/bson-4.6.1.tgz",
  23. "_shasum": "2b5da517539bb0f7f3ffb54ac70a384ca899641c",
  24. "_spec": "bson@^4.2.2",
  25. "_where": "C:\\Users\\Admin\\Desktop\\WORK IT\\a-level proj\\chat\\server\\node_modules\\mongoose",
  26. "author": {
  27. "name": "The MongoDB NodeJS Team",
  28. "email": "dbx-node@mongodb.com"
  29. },
  30. "browser": {
  31. "./lib/bson.js": "./dist/bson.browser.umd.js",
  32. "./dist/bson.esm.js": "./dist/bson.browser.esm.js"
  33. },
  34. "bugs": {
  35. "url": "https://jira.mongodb.org/projects/NODE/issues/"
  36. },
  37. "bundleDependencies": false,
  38. "config": {
  39. "native": false
  40. },
  41. "contributors": [],
  42. "dependencies": {
  43. "buffer": "^5.6.0"
  44. },
  45. "deprecated": false,
  46. "description": "A bson parser for node.js and the browser",
  47. "devDependencies": {
  48. "@babel/plugin-external-helpers": "^7.10.4",
  49. "@babel/preset-env": "^7.11.0",
  50. "@istanbuljs/nyc-config-typescript": "^1.0.1",
  51. "@microsoft/api-extractor": "^7.11.2",
  52. "@rollup/plugin-babel": "^5.2.0",
  53. "@rollup/plugin-commonjs": "^15.0.0",
  54. "@rollup/plugin-json": "^4.1.0",
  55. "@rollup/plugin-node-resolve": "^9.0.0",
  56. "@rollup/plugin-typescript": "^6.0.0",
  57. "@typescript-eslint/eslint-plugin": "^3.10.1",
  58. "@typescript-eslint/parser": "^3.10.1",
  59. "array-includes": "^3.1.3",
  60. "benchmark": "^2.1.4",
  61. "chai": "^4.2.0",
  62. "downlevel-dts": "^0.7.0",
  63. "eslint": "^7.7.0",
  64. "eslint-config-prettier": "^6.11.0",
  65. "eslint-plugin-prettier": "^3.1.4",
  66. "eslint-plugin-tsdoc": "^0.2.6",
  67. "karma": "^6.3.4",
  68. "karma-chai": "^0.1.0",
  69. "karma-chrome-launcher": "^3.1.0",
  70. "karma-mocha": "^2.0.1",
  71. "karma-mocha-reporter": "^2.2.5",
  72. "karma-rollup-preprocessor": "^7.0.5",
  73. "mocha": "5.2.0",
  74. "node-fetch": "^2.6.1",
  75. "nyc": "^15.1.0",
  76. "object.entries": "^1.1.4",
  77. "prettier": "^2.1.1",
  78. "rimraf": "^3.0.2",
  79. "rollup": "^2.26.5",
  80. "rollup-plugin-commonjs": "^10.1.0",
  81. "rollup-plugin-node-globals": "^1.4.0",
  82. "rollup-plugin-node-polyfills": "^0.2.1",
  83. "rollup-plugin-polyfill-node": "^0.7.0",
  84. "standard-version": "^9.3.0",
  85. "ts-node": "^9.0.0",
  86. "tsd": "^0.17.0",
  87. "typedoc": "^0.21.2",
  88. "typescript": "^4.0.2",
  89. "typescript-cached-transpile": "0.0.6",
  90. "uuid": "^8.3.2"
  91. },
  92. "engines": {
  93. "node": ">=6.9.0"
  94. },
  95. "files": [
  96. "lib",
  97. "src",
  98. "dist",
  99. "bson.d.ts",
  100. "etc/prepare.js",
  101. "bower.json"
  102. ],
  103. "homepage": "https://github.com/mongodb/js-bson#readme",
  104. "keywords": [
  105. "mongodb",
  106. "bson",
  107. "parser"
  108. ],
  109. "license": "Apache-2.0",
  110. "main": "lib/bson.js",
  111. "module": "dist/bson.esm.js",
  112. "name": "bson",
  113. "repository": {
  114. "type": "git",
  115. "url": "git+https://github.com/mongodb/js-bson.git"
  116. },
  117. "scripts": {
  118. "build": "npm run build:dts && npm run build:bundle",
  119. "build:bundle": "rollup -c rollup.config.js",
  120. "build:dts": "npm run build:ts && api-extractor run --typescript-compiler-folder node_modules/typescript --local && rimraf 'lib/**/*.d.ts*' && downlevel-dts bson.d.ts bson.d.ts",
  121. "build:ts": "tsc",
  122. "coverage": "nyc npm run test-node",
  123. "coverage:html": "npm run coverage && open ./coverage/index.html",
  124. "docs": "typedoc",
  125. "format": "eslint --ext '.js,.ts' src test --fix",
  126. "lint": "eslint -v && eslint --ext '.js,.ts' --max-warnings=0 src test && tsc -v && tsc --noEmit && npm run test-tsd",
  127. "prepare": "node etc/prepare.js",
  128. "release": "standard-version -i HISTORY.md",
  129. "test": "npm run build && npm run test-node && npm run test-browser",
  130. "test-browser": "node --max-old-space-size=4096 ./node_modules/.bin/karma start karma.conf.js",
  131. "test-node": "mocha test/node test/*_tests.js",
  132. "test-tsd": "npm run build:dts && tsd"
  133. },
  134. "tsd": {
  135. "directory": "test/types",
  136. "compilerOptions": {
  137. "strict": true,
  138. "target": "esnext",
  139. "module": "commonjs",
  140. "moduleResolution": "node"
  141. }
  142. },
  143. "types": "bson.d.ts",
  144. "version": "4.6.1"
  145. }