package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "@e22m4u/js-spy",
  3. "version": "0.2.0",
  4. "description": "Утилита слежения за вызовом функций и методов для JavaScript",
  5. "author": "Mikhail Evstropov <e22m4u@yandex.ru>",
  6. "license": "MIT",
  7. "keywords": [
  8. "spy",
  9. "call",
  10. "test",
  11. "unit"
  12. ],
  13. "homepage": "https://gitrepos.ru/e22m4u/js-spy",
  14. "repository": {
  15. "type": "git",
  16. "url": "git+https://gitrepos.ru/e22m4u/js-spy.git"
  17. },
  18. "type": "module",
  19. "module": "./src/index.js",
  20. "main": "./dist/cjs/index.cjs",
  21. "exports": {
  22. "import": "./src/index.js",
  23. "require": "./dist/cjs/index.cjs"
  24. },
  25. "engines": {
  26. "node": ">=12"
  27. },
  28. "scripts": {
  29. "lint": "eslint ./src",
  30. "lint:fix": "eslint ./src --fix",
  31. "format": "prettier --write \"./src/**/*.js\"",
  32. "test": "npm run lint && c8 --reporter=text-summary mocha",
  33. "test:coverage": "npm run lint && c8 --reporter=text mocha",
  34. "build:cjs": "rimraf ./dist/cjs && node build-cjs.js",
  35. "prepare": "husky"
  36. },
  37. "devDependencies": {
  38. "@commitlint/cli": "~20.1.0",
  39. "@commitlint/config-conventional": "~20.0.0",
  40. "@eslint/js": "~9.39.1",
  41. "c8": "~10.1.3",
  42. "chai": "~6.2.1",
  43. "esbuild": "~0.27.0",
  44. "eslint": "~9.39.1",
  45. "eslint-config-prettier": "~10.1.8",
  46. "eslint-plugin-chai-expect": "~3.1.0",
  47. "eslint-plugin-import": "^2.32.0",
  48. "eslint-plugin-jsdoc": "^61.4.1",
  49. "eslint-plugin-mocha": "~11.2.0",
  50. "globals": "~16.5.0",
  51. "husky": "~9.1.7",
  52. "mocha": "~11.7.5",
  53. "prettier": "~3.7.3",
  54. "rimraf": "~6.1.2"
  55. }
  56. }