package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "@e22m4u/js-path-trie",
  3. "version": "0.0.4",
  4. "description": "A router for Node.js based on a prefix tree",
  5. "type": "module",
  6. "module": "./src/index.js",
  7. "main": "./dist/cjs/index.cjs",
  8. "exports": {
  9. "import": "./src/index.js",
  10. "require": "./dist/cjs/index.cjs"
  11. },
  12. "engines": {
  13. "node": ">=16"
  14. },
  15. "scripts": {
  16. "lint": "tsc && eslint ./src",
  17. "lint:fix": "tsc && eslint ./src --fix",
  18. "format": "prettier --write \"./src/**/*.js\"",
  19. "test": "npm run lint && c8 --reporter=text-summary mocha",
  20. "test:coverage": "npm run lint && c8 --reporter=text mocha",
  21. "build:cjs": "node build-cjs.js",
  22. "prepare": "husky"
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git+https://github.com/e22m4u/js-path-trie.git"
  27. },
  28. "keywords": [
  29. "path",
  30. "trie",
  31. "router"
  32. ],
  33. "author": "e22m4u <e22m4u@yandex.ru>",
  34. "license": "MIT",
  35. "homepage": "https://github.com/e22m4u/js-path-trie",
  36. "dependencies": {
  37. "@e22m4u/js-format": "~0.1.0",
  38. "debug": "~4.3.7",
  39. "path-to-regexp": "~8.2.0"
  40. },
  41. "devDependencies": {
  42. "@commitlint/cli": "~19.5.0",
  43. "@commitlint/config-conventional": "~19.5.0",
  44. "@eslint/js": "~9.12.0",
  45. "c8": "~10.1.2",
  46. "chai": "~5.1.1",
  47. "esbuild": "~0.24.0",
  48. "eslint": "~9.12.0",
  49. "eslint-config-prettier": "~9.1.0",
  50. "eslint-plugin-chai-expect": "~3.1.0",
  51. "eslint-plugin-jsdoc": "~50.3.1",
  52. "eslint-plugin-mocha": "~10.5.0",
  53. "globals": "~15.10.0",
  54. "husky": "~9.1.6",
  55. "mocha": "~10.7.3",
  56. "prettier": "~3.3.3",
  57. "typescript": "~5.6.2"
  58. }
  59. }