package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "vite-plugin-cdn-import",
  3. "version": "0.3.5",
  4. "description": "Import packages from CDN for the vite plugin",
  5. "main": "dist/index.js",
  6. "module": "dist/index.mjs",
  7. "types": "dist/index.d.ts",
  8. "keywords": [
  9. "vite cdn plugin",
  10. "vite CDN extension"
  11. ],
  12. "files": [
  13. "dist"
  14. ],
  15. "publishConfig": {
  16. "access": "public",
  17. "registry": "https://registry.npmjs.org"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "git+https://github.com/mmf-fe/vite-plugin-cdn-import.git"
  22. },
  23. "scripts": {
  24. "dev": "npm run build -- --watch",
  25. "example:vue": "npm -C example/vue run dev",
  26. "example:react": "npm -C example/react run dev",
  27. "example:vue:build": "npm -C example/vue run build",
  28. "example:react:build": "npm -C example/react run build",
  29. "build": "tsup src/index.ts --dts --format cjs,esm"
  30. },
  31. "author": "vfasky<vfasky@me.com>",
  32. "license": "MIT",
  33. "devDependencies": {
  34. "@types/node": "^15.3.0",
  35. "tsup": "^4.10.1",
  36. "typescript": "^4.2.4",
  37. "vite": "^2.3.7"
  38. },
  39. "dependencies": {
  40. "rollup-plugin-external-globals": "^0.6.1"
  41. }
  42. }