package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "@e22m4u/node-repository",
  3. "version": "0.0.30",
  4. "description": "Абстракция для работы с базами данных для Node.js",
  5. "type": "module",
  6. "main": "dist/main.js",
  7. "engines": {
  8. "node": ">=14"
  9. },
  10. "scripts": {
  11. "build": "npm run build:cjs && npm run build:dts",
  12. "build:cjs": "npx webpack --config webpack.config.cjs",
  13. "build:dts": "npx dts-bundle-generator -o ./dist/main.d.ts ./src/index.d.ts",
  14. "lint": "eslint ./src",
  15. "lint:fix": "eslint ./src --fix",
  16. "format": "prettier --write \"./src/**/*.{js,ts}\"",
  17. "test": "npm run lint && c8 --reporter=text-summary mocha",
  18. "test:coverage": "npm run lint && c8 --reporter=text mocha",
  19. "prepare": "npx husky install"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "https://github.com/e22m4u/node-repository.git"
  24. },
  25. "keywords": [
  26. "Repository",
  27. "ORM",
  28. "ODM",
  29. "Database",
  30. "Datasource",
  31. "Relation",
  32. "Inclusion",
  33. "Memory"
  34. ],
  35. "author": "e22m4u <e22m4u@gmail.com>",
  36. "license": "MIT",
  37. "homepage": "https://github.com/e22m4u/node-repository",
  38. "dependencies": {
  39. "@e22m4u/service": "0.0.6",
  40. "@e22m4u/util-format": "0.0.6"
  41. },
  42. "devDependencies": {
  43. "@commitlint/cli": "^17.7.1",
  44. "@commitlint/config-conventional": "^17.7.0",
  45. "c8": "^8.0.1",
  46. "chai": "^4.3.7",
  47. "chai-as-promised": "^7.1.1",
  48. "chai-spies": "^1.0.0",
  49. "chai-subset": "^1.6.0",
  50. "dts-bundle-generator": "^8.0.1",
  51. "eslint": "^8.47.0",
  52. "eslint-config-prettier": "^9.0.0",
  53. "eslint-plugin-chai-expect": "^3.0.0",
  54. "eslint-plugin-jsdoc": "^46.8.2",
  55. "eslint-plugin-mocha": "^10.1.0",
  56. "husky": "^8.0.3",
  57. "mocha": "^10.2.0",
  58. "prettier": "^3.0.1",
  59. "webpack": "^5.88.2",
  60. "webpack-cli": "^5.1.4"
  61. }
  62. }