package.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "ufo",
  3. "version": "1.4.0",
  4. "description": "URL utils for humans",
  5. "repository": "unjs/ufo",
  6. "license": "MIT",
  7. "sideEffects": false,
  8. "exports": {
  9. ".": {
  10. "types": "./dist/index.d.ts",
  11. "require": "./dist/index.cjs",
  12. "import": "./dist/index.mjs"
  13. },
  14. "./*": "./*"
  15. },
  16. "main": "./dist/index.cjs",
  17. "module": "./dist/index.mjs",
  18. "types": "./dist/index.d.ts",
  19. "files": [
  20. "dist"
  21. ],
  22. "scripts": {
  23. "build": "automd && unbuild",
  24. "automd": "automd",
  25. "dev": "vitest",
  26. "lint": "eslint --ext .ts . && prettier -c src test",
  27. "lint:fix": "eslint --fix --ext .ts . && prettier -w src test",
  28. "prepack": "pnpm build",
  29. "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
  30. "test": "pnpm lint && vitest run --typecheck"
  31. },
  32. "devDependencies": {
  33. "@types/node": "^20.11.16",
  34. "@vitest/coverage-v8": "^1.2.2",
  35. "automd": "^0.1.1",
  36. "changelogen": "^0.5.5",
  37. "eslint": "^8.56.0",
  38. "eslint-config-unjs": "^0.2.1",
  39. "jiti": "^1.21.0",
  40. "prettier": "^3.2.5",
  41. "typescript": "^5.3.3",
  42. "unbuild": "^2.0.0",
  43. "untyped": "^1.4.2",
  44. "vitest": "^1.2.2"
  45. },
  46. "packageManager": "pnpm@8.15.1"
  47. }