package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "@e22m4u/js-repository-mongodb-adapter",
  3. "version": "0.6.1",
  4. "description": "MongoDB адаптер для @e22m4u/js-repository",
  5. "author": "Mikhail Evstropov <e22m4u@yandex.ru>",
  6. "license": "MIT",
  7. "keywords": [
  8. "MongoDB",
  9. "Repository",
  10. "ORM",
  11. "ODM",
  12. "Database",
  13. "Datasource",
  14. "Relations"
  15. ],
  16. "homepage": "https://github.com/e22m4u/js-repository-mongodb-adapter",
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/e22m4u/js-repository-mongodb-adapter.git"
  20. },
  21. "type": "module",
  22. "module": "./src/index.js",
  23. "main": "./dist/cjs/index.cjs",
  24. "exports": {
  25. "import": "./src/index.js",
  26. "require": "./dist/cjs/index.cjs"
  27. },
  28. "engines": {
  29. "node": ">=16.20.1"
  30. },
  31. "scripts": {
  32. "lint": "eslint ./src",
  33. "lint:fix": "eslint ./src --fix",
  34. "format": "prettier --write \"./src/**/*.js\"",
  35. "test": "npm run lint && c8 --reporter=text-summary mocha --bail",
  36. "test:coverage": "npm run lint && c8 --reporter=text mocha --bail",
  37. "build:cjs": "rimraf ./dist/cjs && node --no-warnings=ExperimentalWarning build-cjs.js",
  38. "prepare": "husky"
  39. },
  40. "dependencies": {
  41. "mongodb": "6.19.0"
  42. },
  43. "peerDependencies": {
  44. "@e22m4u/js-format": "~0.1.0",
  45. "@e22m4u/js-repository": "~0.4.0"
  46. },
  47. "devDependencies": {
  48. "@commitlint/cli": "~19.8.1",
  49. "@commitlint/config-conventional": "~19.8.1",
  50. "@eslint/js": "~9.34.0",
  51. "c8": "~10.1.3",
  52. "chai": "~6.0.1",
  53. "chai-as-promised": "~8.0.2",
  54. "dotenv": "~17.2.1",
  55. "esbuild": "~0.25.9",
  56. "eslint": "~9.34.0",
  57. "eslint-config-prettier": "~10.1.8",
  58. "eslint-plugin-chai-expect": "~3.1.0",
  59. "eslint-plugin-mocha": "~11.1.0",
  60. "globals": "~16.3.0",
  61. "husky": "~9.1.7",
  62. "mocha": "~11.7.1",
  63. "prettier": "~3.6.2",
  64. "rimraf": "~6.0.1"
  65. }
  66. }