package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "unplugin",
  3. "type": "module",
  4. "version": "2.3.10",
  5. "description": "Unified plugin system for build tools",
  6. "license": "MIT",
  7. "homepage": "https://unplugin.unjs.io",
  8. "repository": {
  9. "type": "git",
  10. "url": "git+https://github.com/unjs/unplugin.git"
  11. },
  12. "sideEffects": false,
  13. "exports": {
  14. ".": {
  15. "import": "./dist/index.js",
  16. "require": "./dist/index.cjs"
  17. },
  18. "./dist/webpack/loaders/*": "./dist/webpack/loaders/*.cjs",
  19. "./dist/rspack/loaders/*": "./dist/rspack/loaders/*.cjs"
  20. },
  21. "main": "dist/index.js",
  22. "module": "dist/index.js",
  23. "types": "dist/index.d.ts",
  24. "files": [
  25. "dist"
  26. ],
  27. "engines": {
  28. "node": ">=18.12.0"
  29. },
  30. "dependencies": {
  31. "@jridgewell/remapping": "^2.3.5",
  32. "acorn": "^8.15.0",
  33. "picomatch": "^4.0.3",
  34. "webpack-virtual-modules": "^0.6.2"
  35. },
  36. "devDependencies": {
  37. "@antfu/eslint-config": "^5.2.1",
  38. "@antfu/ni": "^25.0.0",
  39. "@farmfe/cli": "^1.0.5",
  40. "@farmfe/core": "^1.7.11",
  41. "@rspack/cli": "^1.5.0",
  42. "@rspack/core": "^1.5.0",
  43. "@types/fs-extra": "^11.0.4",
  44. "@types/node": "^24.3.0",
  45. "@types/picomatch": "^4.0.2",
  46. "ansis": "^4.1.0",
  47. "bumpp": "^10.2.3",
  48. "esbuild": "^0.25.9",
  49. "esbuild-plugin-copy": "^2.1.1",
  50. "eslint": "^9.33.0",
  51. "eslint-plugin-format": "^1.0.1",
  52. "fast-glob": "^3.3.3",
  53. "fs-extra": "^11.3.1",
  54. "jiti": "^2.5.1",
  55. "lint-staged": "^16.1.5",
  56. "magic-string": "^0.30.17",
  57. "rolldown": "^1.0.0-beta.33",
  58. "rollup": "^4.46.4",
  59. "simple-git-hooks": "^2.13.1",
  60. "tsdown": "^0.14.1",
  61. "typescript": "~5.9.2",
  62. "unloader": "^0.5.0",
  63. "unplugin-unused": "^0.5.2",
  64. "vite": "^7.1.3",
  65. "vitest": "^3.2.4",
  66. "webpack": "^5.101.3",
  67. "webpack-cli": "^6.0.1",
  68. "unplugin": "2.3.10"
  69. },
  70. "resolutions": {
  71. "esbuild": "catalog:"
  72. },
  73. "simple-git-hooks": {
  74. "pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
  75. },
  76. "lint-staged": {
  77. "*": "eslint --fix"
  78. },
  79. "scripts": {
  80. "build": "tsdown",
  81. "dev": "tsdown --watch src",
  82. "lint": "eslint --cache .",
  83. "lint:fix": "nr lint --fix",
  84. "typecheck": "tsc --noEmit",
  85. "docs:dev": "pnpm -C docs run dev",
  86. "docs:build": "pnpm -C docs run build",
  87. "docs:gen-files": "pnpm -C docs run gen-files",
  88. "release": "bumpp",
  89. "test": "nr test:build && vitest run --pool=forks",
  90. "test:build": "jiti scripts/buildFixtures.ts"
  91. }
  92. }