package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "unplugin",
  3. "type": "commonjs",
  4. "version": "1.16.1",
  5. "packageManager": "pnpm@8.15.9",
  6. "description": "Unified plugin system for build tools",
  7. "license": "MIT",
  8. "repository": {
  9. "type": "git",
  10. "url": "git+https://github.com/unjs/unplugin.git"
  11. },
  12. "sideEffects": false,
  13. "exports": {
  14. ".": {
  15. "types": {
  16. "import": "./dist/index.d.mts",
  17. "require": "./dist/index.d.ts"
  18. },
  19. "import": "./dist/index.mjs",
  20. "require": "./dist/index.js"
  21. },
  22. "./dist/webpack/loaders/*": "./dist/webpack/loaders/*.js",
  23. "./dist/rspack/loaders/*": "./dist/rspack/loaders/*.js"
  24. },
  25. "main": "dist/index.js",
  26. "module": "dist/index.mjs",
  27. "types": "dist/index.d.ts",
  28. "files": [
  29. "dist"
  30. ],
  31. "engines": {
  32. "node": ">=14.0.0"
  33. },
  34. "scripts": {
  35. "build": "tsup",
  36. "dev": "tsup --watch src",
  37. "lint": "eslint --cache .",
  38. "lint:fix": "nr lint --fix",
  39. "typecheck": "tsc --noEmit",
  40. "docs:dev": "pnpm -C docs run dev",
  41. "docs:build": "pnpm -C docs run build",
  42. "docs:gen-files": "pnpm -C docs run gen-files",
  43. "prepublishOnly": "nr build",
  44. "release": "bumpp --all -x 'npx conventional-changelog -p angular -i CHANGELOG.md -s' && npm publish",
  45. "test": "nr test:build && vitest run --pool=forks",
  46. "test:build": "jiti scripts/buildFixtures.ts"
  47. },
  48. "dependencies": {
  49. "acorn": "^8.14.0",
  50. "webpack-virtual-modules": "^0.6.2"
  51. },
  52. "devDependencies": {
  53. "@ampproject/remapping": "^2.3.0",
  54. "@antfu/eslint-config": "^3.8.0",
  55. "@antfu/ni": "^0.23.0",
  56. "@farmfe/cli": "1.0.3",
  57. "@farmfe/core": "1.3.12",
  58. "@rspack/cli": "^1.0.14",
  59. "@rspack/core": "^1.0.14",
  60. "@types/fs-extra": "^11.0.4",
  61. "@types/node": "^22.8.1",
  62. "@types/webpack-sources": "^3.2.3",
  63. "bumpp": "^9.7.1",
  64. "conventional-changelog-cli": "^5.0.0",
  65. "esbuild": "^0.24.0",
  66. "esbuild-plugin-copy": "^2.1.1",
  67. "eslint": "^9.13.0",
  68. "fast-glob": "^3.3.2",
  69. "fs-extra": "^11.2.0",
  70. "jiti": "^2.3.3",
  71. "lint-staged": "^15.2.10",
  72. "magic-string": "^0.30.12",
  73. "picocolors": "^1.1.1",
  74. "rolldown": "^0.13.2",
  75. "rollup": "^4.24.2",
  76. "simple-git-hooks": "^2.11.1",
  77. "tsup": "^8.3.5",
  78. "typescript": "^5.6.3",
  79. "unplugin": "workspace:*",
  80. "unplugin-unused": "^0.2.3",
  81. "vite": "^5.4.10",
  82. "vitest": "^2.1.4",
  83. "webpack": "^5.95.0",
  84. "webpack-cli": "4.10.0"
  85. },
  86. "simple-git-hooks": {
  87. "pre-commit": "pnpm lint-staged"
  88. },
  89. "lint-staged": {
  90. "*": "eslint --fix"
  91. }
  92. }