package.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "path-to-regexp",
  3. "version": "8.2.0",
  4. "description": "Express style path to RegExp utility",
  5. "keywords": [
  6. "express",
  7. "regexp",
  8. "route",
  9. "routing"
  10. ],
  11. "repository": {
  12. "type": "git",
  13. "url": "https://github.com/pillarjs/path-to-regexp.git"
  14. },
  15. "license": "MIT",
  16. "exports": "./dist/index.js",
  17. "main": "dist/index.js",
  18. "typings": "dist/index.d.ts",
  19. "files": [
  20. "dist/"
  21. ],
  22. "scripts": {
  23. "bench": "vitest bench",
  24. "build": "ts-scripts build",
  25. "format": "ts-scripts format",
  26. "lint": "ts-scripts lint",
  27. "prepare": "ts-scripts install && npm run build",
  28. "size": "size-limit",
  29. "specs": "ts-scripts specs",
  30. "test": "ts-scripts test && npm run size"
  31. },
  32. "devDependencies": {
  33. "@borderless/ts-scripts": "^0.15.0",
  34. "@size-limit/preset-small-lib": "^11.1.2",
  35. "@types/node": "^22.7.2",
  36. "@types/semver": "^7.3.1",
  37. "@vitest/coverage-v8": "^2.1.1",
  38. "recheck": "^4.4.5",
  39. "size-limit": "^11.1.2",
  40. "typescript": "^5.5.3"
  41. },
  42. "engines": {
  43. "node": ">=16"
  44. },
  45. "publishConfig": {
  46. "access": "public"
  47. },
  48. "size-limit": [
  49. {
  50. "path": "dist/index.js",
  51. "limit": "2.2 kB"
  52. }
  53. ],
  54. "ts-scripts": {
  55. "dist": [
  56. "dist"
  57. ],
  58. "project": [
  59. "tsconfig.build.json"
  60. ]
  61. }
  62. }