package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "pathe",
  3. "version": "1.1.2",
  4. "description": "Universal filesystem path utils",
  5. "repository": "unjs/pathe",
  6. "license": "MIT",
  7. "sideEffects": false,
  8. "exports": {
  9. ".": {
  10. "types": "./dist/index.d.ts",
  11. "import": "./dist/index.mjs",
  12. "require": "./dist/index.cjs"
  13. },
  14. "./utils": {
  15. "types": "./dist/utils.d.ts",
  16. "import": "./dist/utils.mjs",
  17. "require": "./dist/utils.cjs"
  18. }
  19. },
  20. "main": "./dist/index.cjs",
  21. "types": "./dist/index.d.ts",
  22. "files": [
  23. "dist",
  24. "utils.d.ts"
  25. ],
  26. "devDependencies": {
  27. "@types/node": "^20.10.8",
  28. "@vitest/coverage-v8": "^1.1.3",
  29. "changelogen": "^0.5.5",
  30. "eslint": "^8.56.0",
  31. "eslint-config-unjs": "^0.2.1",
  32. "jiti": "^1.21.0",
  33. "prettier": "^3.1.1",
  34. "typescript": "^5.3.3",
  35. "unbuild": "^2.0.0",
  36. "vitest": "^1.1.3"
  37. },
  38. "packageManager": "pnpm@8.14.0",
  39. "scripts": {
  40. "build": "unbuild",
  41. "dev": "vitest",
  42. "lint": "eslint --ext .ts . && prettier -c src test",
  43. "lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w",
  44. "release": "pnpm test && pnpm build && changelogen --release && pnpm publish && git push --follow-tags",
  45. "test": "pnpm lint && vitest run --coverage",
  46. "test:types": "tsc --noEmit"
  47. }
  48. }