package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "@jridgewell/resolve-uri",
  3. "version": "3.1.2",
  4. "description": "Resolve a URI relative to an optional base URI",
  5. "keywords": [
  6. "resolve",
  7. "uri",
  8. "url",
  9. "path"
  10. ],
  11. "author": "Justin Ridgewell <justin@ridgewell.name>",
  12. "license": "MIT",
  13. "repository": "https://github.com/jridgewell/resolve-uri",
  14. "main": "dist/resolve-uri.umd.js",
  15. "module": "dist/resolve-uri.mjs",
  16. "types": "dist/types/resolve-uri.d.ts",
  17. "exports": {
  18. ".": [
  19. {
  20. "types": "./dist/types/resolve-uri.d.ts",
  21. "browser": "./dist/resolve-uri.umd.js",
  22. "require": "./dist/resolve-uri.umd.js",
  23. "import": "./dist/resolve-uri.mjs"
  24. },
  25. "./dist/resolve-uri.umd.js"
  26. ],
  27. "./package.json": "./package.json"
  28. },
  29. "files": [
  30. "dist"
  31. ],
  32. "engines": {
  33. "node": ">=6.0.0"
  34. },
  35. "scripts": {
  36. "prebuild": "rm -rf dist",
  37. "build": "run-s -n build:*",
  38. "build:rollup": "rollup -c rollup.config.js",
  39. "build:ts": "tsc --project tsconfig.build.json",
  40. "lint": "run-s -n lint:*",
  41. "lint:prettier": "npm run test:lint:prettier -- --write",
  42. "lint:ts": "npm run test:lint:ts -- --fix",
  43. "pretest": "run-s build:rollup",
  44. "test": "run-s -n test:lint test:only",
  45. "test:debug": "mocha --inspect-brk",
  46. "test:lint": "run-s -n test:lint:*",
  47. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  48. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  49. "test:only": "mocha",
  50. "test:coverage": "c8 mocha",
  51. "test:watch": "mocha --watch",
  52. "prepublishOnly": "npm run preversion",
  53. "preversion": "run-s test build"
  54. },
  55. "devDependencies": {
  56. "@jridgewell/resolve-uri-latest": "npm:@jridgewell/resolve-uri@*",
  57. "@rollup/plugin-typescript": "8.3.0",
  58. "@typescript-eslint/eslint-plugin": "5.10.0",
  59. "@typescript-eslint/parser": "5.10.0",
  60. "c8": "7.11.0",
  61. "eslint": "8.7.0",
  62. "eslint-config-prettier": "8.3.0",
  63. "mocha": "9.2.0",
  64. "npm-run-all": "4.1.5",
  65. "prettier": "2.5.1",
  66. "rollup": "2.66.0",
  67. "typescript": "4.5.5"
  68. }
  69. }