package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "consola",
  3. "version": "3.2.3",
  4. "description": "Elegant Console Wrapper",
  5. "keywords": [
  6. "console",
  7. "logger",
  8. "reporter",
  9. "elegant",
  10. "cli",
  11. "universal",
  12. "unified",
  13. "prompt",
  14. "clack",
  15. "format",
  16. "error",
  17. "stacktrace"
  18. ],
  19. "repository": "unjs/consola",
  20. "license": "MIT",
  21. "type": "module",
  22. "exports": {
  23. ".": {
  24. "node": {
  25. "types": "./dist/index.d.ts",
  26. "import": "./dist/index.mjs",
  27. "require": "./lib/index.cjs"
  28. },
  29. "default": {
  30. "types": "./dist/browser.d.ts",
  31. "import": "./dist/browser.mjs"
  32. }
  33. },
  34. "./browser": {
  35. "types": "./dist/browser.d.ts",
  36. "import": "./dist/browser.mjs"
  37. },
  38. "./basic": {
  39. "node": {
  40. "types": "./dist/basic.d.ts",
  41. "import": "./dist/basic.mjs",
  42. "require": "./dist/basic.cjs"
  43. },
  44. "default": {
  45. "types": "./dist/browser.d.ts",
  46. "import": "./dist/browser.mjs"
  47. }
  48. },
  49. "./core": {
  50. "types": "./dist/core.d.ts",
  51. "import": "./dist/core.mjs",
  52. "require": "./dist/core.cjs"
  53. },
  54. "./utils": {
  55. "types": "./dist/utils.d.ts",
  56. "import": "./dist/utils.mjs",
  57. "require": "./dist/utils.cjs"
  58. }
  59. },
  60. "main": "./lib/index.cjs",
  61. "module": "./dist/index.mjs",
  62. "browser": "./dist/browser.mjs",
  63. "types": "./dist/index.d.ts",
  64. "files": [
  65. "dist",
  66. "lib",
  67. "*.d.ts"
  68. ],
  69. "scripts": {
  70. "build": "unbuild",
  71. "dev": "vitest",
  72. "lint": "eslint . && prettier -c src examples test",
  73. "lint:fix": "eslint . --fix && prettier -w src examples test",
  74. "release": "pnpm test && pnpm build && changelogen --release --push && npm publish",
  75. "test": "pnpm lint && pnpm vitest run --coverage"
  76. },
  77. "devDependencies": {
  78. "@clack/core": "^0.3.2",
  79. "@types/node": "^20.3.3",
  80. "@vitest/coverage-v8": "^0.32.2",
  81. "changelogen": "^0.5.3",
  82. "defu": "^6.1.2",
  83. "eslint": "^8.44.0",
  84. "eslint-config-unjs": "^0.2.1",
  85. "is-unicode-supported": "^1.3.0",
  86. "jiti": "^1.18.2",
  87. "lodash": "^4.17.21",
  88. "prettier": "^3.0.0",
  89. "sentencer": "^0.2.1",
  90. "sisteransi": "^1.0.5",
  91. "std-env": "^3.3.3",
  92. "string-width": "^6.1.0",
  93. "typescript": "^5.1.6",
  94. "unbuild": "^1.2.1",
  95. "vitest": "^0.32.2"
  96. },
  97. "engines": {
  98. "node": "^14.18.0 || >=16.10.0"
  99. },
  100. "packageManager": "pnpm@8.6.5"
  101. }