package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "unplugin-utils",
  3. "version": "0.3.0",
  4. "description": "A set of utility functions commonly used by unplugins.",
  5. "type": "module",
  6. "license": "MIT",
  7. "homepage": "https://github.com/sxzz/unplugin-utils#readme",
  8. "bugs": {
  9. "url": "https://github.com/sxzz/unplugin-utils/issues"
  10. },
  11. "repository": {
  12. "type": "git",
  13. "url": "git+https://github.com/sxzz/unplugin-utils.git"
  14. },
  15. "author": "三咲智子 Kevin Deng <sxzz@sxzz.moe>",
  16. "funding": "https://github.com/sponsors/sxzz",
  17. "files": [
  18. "dist"
  19. ],
  20. "main": "./dist/index.js",
  21. "module": "./dist/index.js",
  22. "types": "./dist/index.d.ts",
  23. "exports": {
  24. ".": "./dist/index.js",
  25. "./package.json": "./package.json"
  26. },
  27. "publishConfig": {
  28. "access": "public"
  29. },
  30. "dependencies": {
  31. "pathe": "^2.0.3",
  32. "picomatch": "^4.0.3"
  33. },
  34. "devDependencies": {
  35. "@sxzz/eslint-config": "^7.1.4",
  36. "@sxzz/prettier-config": "^2.2.4",
  37. "@types/node": "^24.3.0",
  38. "@types/picomatch": "^4.0.2",
  39. "@vitest/coverage-v8": "3.2.4",
  40. "bumpp": "^10.2.3",
  41. "eslint": "^9.33.0",
  42. "oxc-transform": "^0.82.2",
  43. "prettier": "^3.6.2",
  44. "tsdown": "^0.14.1",
  45. "tsx": "^4.20.4",
  46. "typescript": "^5.9.2",
  47. "vitest": "^3.2.4"
  48. },
  49. "engines": {
  50. "node": ">=20.19.0"
  51. },
  52. "prettier": "@sxzz/prettier-config",
  53. "tsdown": {
  54. "platform": "neutral",
  55. "exports": true
  56. },
  57. "scripts": {
  58. "lint": "eslint --cache .",
  59. "lint:fix": "pnpm run lint --fix",
  60. "build": "tsdown",
  61. "dev": "tsdown --watch",
  62. "test": "vitest",
  63. "typecheck": "tsc --noEmit",
  64. "format": "prettier --cache --write .",
  65. "release": "bumpp"
  66. }
  67. }