package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "dioc",
  3. "private": true,
  4. "version": "0.1.0",
  5. "type": "module",
  6. "files": [
  7. "dist",
  8. "index.d.ts"
  9. ],
  10. "main": "./dist/counter.umd.cjs",
  11. "module": "./dist/counter.js",
  12. "types": "./index.d.ts",
  13. "exports": {
  14. ".": {
  15. "types": "./dist/main.d.ts",
  16. "require": "./dist/index.cjs",
  17. "import": "./dist/index.js"
  18. },
  19. "./vue": {
  20. "types": "./dist/vue.d.ts",
  21. "require": "./dist/vue.cjs",
  22. "import": "./dist/vue.js"
  23. },
  24. "./testing": {
  25. "types": "./dist/testing.d.ts",
  26. "require": "./dist/testing.cjs",
  27. "import": "./dist/testing.js"
  28. }
  29. },
  30. "scripts": {
  31. "dev": "vite",
  32. "build": "vite build && tsc --emitDeclarationOnly",
  33. "prepare": "pnpm run build",
  34. "test": "vitest run",
  35. "do-test": "pnpm run test",
  36. "test:watch": "vitest"
  37. },
  38. "devDependencies": {
  39. "typescript": "^4.9.4",
  40. "vite": "^4.0.4",
  41. "vitest": "^0.29.3"
  42. },
  43. "dependencies": {
  44. "rxjs": "^7.8.1"
  45. },
  46. "peerDependencies": {
  47. "vue": "^3.2.25"
  48. },
  49. "peerDependenciesMeta": {
  50. "vue": {
  51. "optional": true
  52. }
  53. }
  54. }