版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

76 line
2.0 KiB

  1. {
  2. "name": "unplugin",
  3. "version": "1.3.1",
  4. "packageManager": "pnpm@7.29.1",
  5. "description": "Unified plugin system for build tools",
  6. "license": "MIT",
  7. "repository": "unjs/unplugin",
  8. "sideEffects": false,
  9. "exports": {
  10. ".": {
  11. "types": "./dist/index.d.ts",
  12. "require": "./dist/index.js",
  13. "import": "./dist/index.mjs"
  14. },
  15. "./dist/webpack/loaders/*": "./dist/webpack/loaders/*.js",
  16. "./dist/rspack/loaders/*": "./dist/rspack/loaders/*.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 .",
  28. "lint:fix": "nr lint --fix",
  29. "prepublishOnly": "nr build",
  30. "release": "bumpp --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.2",
  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.36.0",
  43. "@antfu/ni": "^0.20.0",
  44. "@rspack/core": "^0.1.0",
  45. "@types/express": "^4.17.17",
  46. "@types/fs-extra": "^11.0.1",
  47. "@types/node": "^18.15.0",
  48. "@types/webpack-sources": "^3.2.0",
  49. "bumpp": "^9.0.0",
  50. "conventional-changelog-cli": "^2.2.2",
  51. "enhanced-resolve": "^5.12.0",
  52. "esbuild": "^0.17.11",
  53. "eslint": "^8.36.0",
  54. "fast-glob": "^3.2.12",
  55. "fs-extra": "^11.1.0",
  56. "jiti": "^1.17.2",
  57. "lint-staged": "^13.2.0",
  58. "magic-string": "^0.30.0",
  59. "picocolors": "^1.0.0",
  60. "rollup": "^3.19.1",
  61. "simple-git-hooks": "^2.8.1",
  62. "tsup": "^6.6.3",
  63. "typescript": "^4.9.5",
  64. "vite": "^4.1.4",
  65. "vitest": "^0.29.2",
  66. "webpack": "^5.76.1",
  67. "webpack-cli": "4.10.0"
  68. },
  69. "simple-git-hooks": {
  70. "pre-commit": "pnpm lint-staged"
  71. },
  72. "lint-staged": {
  73. "*": "eslint --fix"
  74. }
  75. }