package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "_args": [
  3. [
  4. "path-to-regexp@6.2.0",
  5. "J:\\Github\\CURD-TS"
  6. ]
  7. ],
  8. "_from": "path-to-regexp@6.2.0",
  9. "_id": "path-to-regexp@6.2.0",
  10. "_inBundle": false,
  11. "_integrity": "sha1-97OAMzYQTDRoia3s5hRmkjBkXzg=",
  12. "_location": "/path-to-regexp",
  13. "_phantomChildren": {},
  14. "_requested": {
  15. "type": "version",
  16. "registry": true,
  17. "raw": "path-to-regexp@6.2.0",
  18. "name": "path-to-regexp",
  19. "escapedName": "path-to-regexp",
  20. "rawSpec": "6.2.0",
  21. "saveSpec": null,
  22. "fetchSpec": "6.2.0"
  23. },
  24. "_requiredBy": [
  25. "/"
  26. ],
  27. "_resolved": "http://192.168.250.101:4873/path-to-regexp/-/path-to-regexp-6.2.0.tgz",
  28. "_spec": "6.2.0",
  29. "_where": "J:\\Github\\CURD-TS",
  30. "bugs": {
  31. "url": "https://github.com/pillarjs/path-to-regexp/issues"
  32. },
  33. "description": "Express style path to RegExp utility",
  34. "devDependencies": {
  35. "@size-limit/preset-small-lib": "^4.5.6",
  36. "@types/jest": "^26.0.9",
  37. "@types/node": "^14.0.27",
  38. "@types/semver": "^7.3.1",
  39. "husky": "^4.2.5",
  40. "jest": "^26.2.2",
  41. "lint-staged": "^10.2.11",
  42. "prettier": "^2.0.5",
  43. "rimraf": "^3.0.0",
  44. "semver": "^7.3.2",
  45. "size-limit": "^4.5.6",
  46. "ts-jest": "^26.1.4",
  47. "tslint": "^6.1.3",
  48. "tslint-config-prettier": "^1.18.0",
  49. "tslint-config-standard": "^9.0.0",
  50. "typescript": "^4.0.3"
  51. },
  52. "files": [
  53. "dist/",
  54. "dist.es2015/"
  55. ],
  56. "homepage": "https://github.com/pillarjs/path-to-regexp#readme",
  57. "husky": {
  58. "hooks": {
  59. "pre-commit": "lint-staged"
  60. }
  61. },
  62. "jest": {
  63. "roots": [
  64. "<rootDir>/src/"
  65. ],
  66. "transform": {
  67. "\\.tsx?$": "ts-jest"
  68. },
  69. "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
  70. "moduleFileExtensions": [
  71. "ts",
  72. "tsx",
  73. "js",
  74. "jsx",
  75. "json",
  76. "node"
  77. ]
  78. },
  79. "keywords": [
  80. "express",
  81. "regexp",
  82. "route",
  83. "routing"
  84. ],
  85. "license": "MIT",
  86. "lint-staged": {
  87. "*.{js,jsx,ts,tsx,json,md,yml,yaml}": "npm run prettier"
  88. },
  89. "main": "dist/index.js",
  90. "module": "dist.es2015/index.js",
  91. "name": "path-to-regexp",
  92. "publishConfig": {
  93. "access": "public"
  94. },
  95. "repository": {
  96. "type": "git",
  97. "url": "git+https://github.com/pillarjs/path-to-regexp.git"
  98. },
  99. "scripts": {
  100. "build": "rimraf dist/ dist.es2015/ && tsc && tsc -P tsconfig.es2015.json",
  101. "format": "npm run prettier -- \"{.,src/**}/*.{js,jsx,ts,tsx,json,md,yml,yaml}\"",
  102. "lint": "tslint \"src/**/*\" --project tsconfig.json",
  103. "prepare": "npm run build",
  104. "prettier": "prettier --write",
  105. "size": "size-limit",
  106. "specs": "jest --coverage",
  107. "test": "npm run build && npm run lint && npm run specs && npm run size"
  108. },
  109. "sideEffects": false,
  110. "size-limit": [
  111. {
  112. "path": "dist/index.js",
  113. "limit": "2 kB"
  114. }
  115. ],
  116. "typings": "dist/index.d.ts",
  117. "version": "6.2.0"
  118. }