package.json 1.3 KB

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