package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "vite-plugin-commonjs",
  3. "version": "0.10.4",
  4. "description": "A pure JavaScript implementation of CommonJs",
  5. "main": "./dist/index.js",
  6. "types": "./dist/index.d.ts",
  7. "exports": {
  8. ".": {
  9. "types": "./dist/index.d.ts",
  10. "import": "./dist/index.mjs",
  11. "require": "./dist/index.js"
  12. },
  13. "./*": "./*"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "git+https://github.com/vite-plugin/vite-plugin-commonjs.git"
  18. },
  19. "author": "草鞋没号 <308487730@qq.com>",
  20. "license": "MIT",
  21. "scripts": {
  22. "dev": "vite build --watch",
  23. "build": "vite build",
  24. "test": "vitest run",
  25. "types": "tsc",
  26. "prepublishOnly": "npm run build && npm run test"
  27. },
  28. "dependencies": {
  29. "acorn": "^8.12.1",
  30. "magic-string": "^0.30.11",
  31. "vite-plugin-dynamic-import": "^1.6.0"
  32. },
  33. "devDependencies": {
  34. "@types/node": "^22.5.2",
  35. "fast-glob": "^3.3.2",
  36. "node-fetch": "^3.3.2",
  37. "typescript": "^5.6.2",
  38. "vite": "^4.4.5",
  39. "vite-plugin-utils": "^0.4.5",
  40. "vitest": "^2.1.1"
  41. },
  42. "keywords": [
  43. "vite",
  44. "plugin",
  45. "commonjs",
  46. "require"
  47. ],
  48. "files": [
  49. "dist"
  50. ]
  51. }