package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "@jridgewell/resolve-uri",
  3. "version": "3.0.5",
  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. "typings": "dist/types/resolve-uri.d.ts",
  17. "exports": {
  18. ".": {
  19. "browser": "./dist/resolve-uri.umd.js",
  20. "require": "./dist/resolve-uri.umd.js",
  21. "import": "./dist/resolve-uri.mjs"
  22. },
  23. "./package.json": "./package.json"
  24. },
  25. "files": [
  26. "dist"
  27. ],
  28. "engines": {
  29. "node": ">=6.0.0"
  30. },
  31. "scripts": {
  32. "prebuild": "rm -rf dist",
  33. "build": "run-s -n build:*",
  34. "build:rollup": "rollup -c rollup.config.js",
  35. "build:ts": "tsc --project tsconfig.build.json",
  36. "lint": "run-s -n lint:*",
  37. "lint:prettier": "npm run test:lint:prettier -- --write",
  38. "lint:ts": "npm run test:lint:ts -- --fix",
  39. "pretest": "run-s build:rollup",
  40. "test": "run-s -n test:lint test:only",
  41. "test:debug": "mocha --inspect-brk",
  42. "test:lint": "run-s -n test:lint:*",
  43. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  44. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  45. "test:only": "mocha",
  46. "test:coverage": "c8 mocha",
  47. "test:watch": "mocha --watch",
  48. "prepublishOnly": "npm run preversion",
  49. "preversion": "run-s test build"
  50. },
  51. "devDependencies": {
  52. "@rollup/plugin-typescript": "8.3.0",
  53. "@typescript-eslint/eslint-plugin": "5.10.0",
  54. "@typescript-eslint/parser": "5.10.0",
  55. "c8": "7.11.0",
  56. "eslint": "8.7.0",
  57. "eslint-config-prettier": "8.3.0",
  58. "mocha": "9.2.0",
  59. "npm-run-all": "4.1.5",
  60. "prettier": "2.5.1",
  61. "rollup": "2.66.0",
  62. "typescript": "4.5.5"
  63. }
  64. }