package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "@milkdown/exception",
  3. "type": "module",
  4. "version": "7.3.5",
  5. "license": "MIT",
  6. "repository": {
  7. "type": "git",
  8. "url": "git+https://github.com/Milkdown/milkdown.git",
  9. "directory": "packages/exception"
  10. },
  11. "sideEffects": false,
  12. "exports": {
  13. ".": {
  14. "import": "./lib/index.es.js",
  15. "types": "./lib/index.d.ts"
  16. }
  17. },
  18. "main": "./lib/index.es.js",
  19. "files": [
  20. "lib",
  21. "src"
  22. ],
  23. "dependencies": {
  24. "tslib": "^2.5.0"
  25. },
  26. "nx": {
  27. "targets": {
  28. "build": {
  29. "outputs": [
  30. "{projectRoot}/lib"
  31. ],
  32. "dependsOn": [
  33. {
  34. "target": "build",
  35. "projects": "dependencies"
  36. }
  37. ]
  38. },
  39. "tsc": {
  40. "outputs": [],
  41. "dependsOn": [
  42. {
  43. "target": "build",
  44. "projects": "dependencies"
  45. }
  46. ]
  47. }
  48. }
  49. },
  50. "scripts": {
  51. "start": "concurrently -n es,dts \"vite build --watch\" \"tsc --emitDeclarationOnly --watch\"",
  52. "test": "vitest",
  53. "tsc": "tsc --noEmit && echo",
  54. "build": "tsc --emitDeclarationOnly && vite build"
  55. },
  56. "types": "./lib/index.d.ts"
  57. }