package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "unplugin-utils",
  3. "version": "0.2.4",
  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. ".": {
  25. "require": "./dist/index.cjs",
  26. "import": "./dist/index.js"
  27. },
  28. "./package.json": "./package.json"
  29. },
  30. "publishConfig": {
  31. "access": "public"
  32. },
  33. "dependencies": {
  34. "pathe": "^2.0.2",
  35. "picomatch": "^4.0.2"
  36. },
  37. "devDependencies": {
  38. "@sxzz/eslint-config": "^5.0.1",
  39. "@sxzz/prettier-config": "^2.1.1",
  40. "@types/node": "^22.13.1",
  41. "@types/picomatch": "^3.0.2",
  42. "bumpp": "^10.0.2",
  43. "eslint": "^9.19.0",
  44. "oxc-transform": "^0.48.2",
  45. "prettier": "^3.4.2",
  46. "tsdown": "^0.5.7",
  47. "tsx": "^4.19.2",
  48. "typescript": "^5.7.3",
  49. "vitest": "^3.0.5"
  50. },
  51. "engines": {
  52. "node": ">=18.12.0"
  53. },
  54. "prettier": "@sxzz/prettier-config",
  55. "scripts": {
  56. "lint": "eslint --cache .",
  57. "lint:fix": "pnpm run lint --fix",
  58. "build": "tsdown",
  59. "dev": "tsdown --watch",
  60. "test": "vitest",
  61. "typecheck": "tsc --noEmit",
  62. "format": "prettier --cache --write .",
  63. "release": "bumpp && pnpm publish"
  64. }
  65. }