package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "@vitejs/plugin-vue",
  3. "version": "1.10.2",
  4. "license": "MIT",
  5. "author": "Evan You",
  6. "files": [
  7. "dist"
  8. ],
  9. "main": "dist/index.js",
  10. "types": "dist/index.d.ts",
  11. "scripts": {
  12. "dev": "rimraf dist && run-p dev-types dev-watch",
  13. "dev-types": "tsc -p . -w --incremental --emitDeclarationOnly",
  14. "dev-watch": "esbuild src/index.ts --watch --bundle --platform=node --target=node12 --external:@vue/compiler-sfc --external:vue/compiler-sfc --external:vite --outfile=dist/index.js",
  15. "build": "rimraf dist && run-s build-bundle build-types",
  16. "build-bundle": "esbuild src/index.ts --bundle --platform=node --target=node12 --external:@vue/compiler-sfc --external:vue/compiler-sfc --external:vite --outfile=dist/index.js",
  17. "build-types": "tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp",
  18. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . --lerna-package plugin-vue",
  19. "release": "node ../../scripts/release.cjs"
  20. },
  21. "engines": {
  22. "node": ">=12.0.0"
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git+https://github.com/vitejs/vite.git",
  27. "directory": "packages/plugin-vue"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/vitejs/vite/issues"
  31. },
  32. "homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-vue#readme",
  33. "peerDependencies": {
  34. "vite": "^2.5.10"
  35. },
  36. "devDependencies": {
  37. "@rollup/pluginutils": "^4.1.1",
  38. "@types/hash-sum": "^1.0.0",
  39. "@vue/compiler-sfc": "^3.2.23",
  40. "debug": "^4.3.2",
  41. "hash-sum": "^2.0.0",
  42. "rollup": "^2.59.0",
  43. "slash": "^4.0.0",
  44. "source-map": "^0.6.1",
  45. "vue": "^3.2.23"
  46. }
  47. }