package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "unplugin",
  3. "version": "1.0.1",
  4. "packageManager": "pnpm@7.18.1",
  5. "description": "Unified plugin system for build tools",
  6. "license": "MIT",
  7. "repository": "unjs/unplugin",
  8. "sideEffects": false,
  9. "exports": {
  10. ".": {
  11. "require": "./dist/index.js",
  12. "import": "./dist/index.mjs",
  13. "types": "./dist/index.d.ts"
  14. },
  15. "./dist/webpack/loaders/load": "./dist/webpack/loaders/load.js",
  16. "./dist/webpack/loaders/transform": "./dist/webpack/loaders/transform.js"
  17. },
  18. "main": "dist/index.js",
  19. "module": "dist/index.mjs",
  20. "types": "dist/index.d.ts",
  21. "files": [
  22. "dist"
  23. ],
  24. "scripts": {
  25. "build": "tsup",
  26. "dev": "tsup --watch src",
  27. "lint": "eslint --cache --ext ts .",
  28. "lint:fix": "nr lint --fix",
  29. "prepublishOnly": "nr build",
  30. "release": "bumpp --commit --push --tag --all -x 'npx conventional-changelog -p angular -i CHANGELOG.md -s' && npm publish",
  31. "test": "nr lint && nr test:build && vitest run",
  32. "test:build": "jiti scripts/buildFixtures.ts"
  33. },
  34. "dependencies": {
  35. "acorn": "^8.8.1",
  36. "chokidar": "^3.5.3",
  37. "webpack-sources": "^3.2.3",
  38. "webpack-virtual-modules": "^0.5.0"
  39. },
  40. "devDependencies": {
  41. "@ampproject/remapping": "^2.2.0",
  42. "@antfu/eslint-config": "^0.33.1",
  43. "@antfu/ni": "^0.18.8",
  44. "@types/express": "^4.17.14",
  45. "@types/fs-extra": "^9.0.13",
  46. "@types/node": "^18.11.13",
  47. "@types/webpack-sources": "^3.2.0",
  48. "bumpp": "^8.2.1",
  49. "conventional-changelog-cli": "^2.2.2",
  50. "enhanced-resolve": "^5.12.0",
  51. "esbuild": "^0.16.4",
  52. "eslint": "^8.29.0",
  53. "fast-glob": "^3.2.12",
  54. "fs-extra": "^11.1.0",
  55. "jiti": "^1.16.0",
  56. "magic-string": "^0.27.0",
  57. "picocolors": "^1.0.0",
  58. "rollup": "^3.7.3",
  59. "tsup": "^6.5.0",
  60. "typescript": "^4.9.4",
  61. "vite": "^4.0.0",
  62. "vitest": "^0.25.7",
  63. "webpack": "^5.75.0",
  64. "webpack-cli": "^5.0.1"
  65. }
  66. }