package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {
  2. "name": "storybook-addon-rtl",
  3. "description": "Right-to-left addon for Storybook.",
  4. "author": "literalpie <benjaminkindle@yahoo.com>",
  5. "version": "1.0.0",
  6. "license": "MIT",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/literalpie/storybook-addon-rtl.git"
  10. },
  11. "main": "dist/index.js",
  12. "module": "dist/index.mjs",
  13. "types": "dist/index.d.ts",
  14. "files": [
  15. "dist/**/*",
  16. "README.md",
  17. "*.js",
  18. "*.d.ts"
  19. ],
  20. "keywords": [
  21. "storybook",
  22. "storybook-addon",
  23. "rtl",
  24. "directionality",
  25. "right-to-left",
  26. "ltr",
  27. "internationalization",
  28. "i18n",
  29. "storybook-addons"
  30. ],
  31. "exports": {
  32. ".": {
  33. "types": "./dist/index.d.ts",
  34. "node": "./dist/index.js",
  35. "require": "./dist/index.js",
  36. "import": "./dist/index.mjs"
  37. },
  38. "./manager": "./dist/manager.mjs",
  39. "./preview": "./dist/preview.mjs",
  40. "./package.json": "./package.json"
  41. },
  42. "scripts": {
  43. "clean": "rimraf ./dist",
  44. "prebuild": "pnpm run clean",
  45. "build": "tsup",
  46. "build:watch": "pnpm run build -- --watch",
  47. "test": "vitest",
  48. "start": "run-p build:watch 'storybook --quiet'",
  49. "prerelease": "zx scripts/prepublish-checks.mjs",
  50. "release": "pnpm run build && auto shipit",
  51. "eject-ts": "zx scripts/eject-typescript.mjs",
  52. "storybook": "storybook dev -p 6006 --no-open",
  53. "build-storybook": "storybook build",
  54. "format": "prettier . --check",
  55. "lint": "eslint .",
  56. "checks": "vitest --watch=false && pnpm run format && pnpm run lint"
  57. },
  58. "devDependencies": {
  59. "@storybook/addon-essentials": "7.6.12",
  60. "@storybook/addon-interactions": "7.6.12",
  61. "@storybook/addon-links": "7.6.12",
  62. "@storybook/components": "7.6.12",
  63. "@storybook/core-events": "7.6.12",
  64. "@storybook/manager": "^7.6.0",
  65. "@storybook/manager-api": "7.6.12",
  66. "@storybook/preview": "^7.6.0",
  67. "@storybook/preview-api": "7.6.12",
  68. "@storybook/react": "7.6.12",
  69. "@storybook/react-vite": "7.6.12",
  70. "@storybook/testing-library": "^0.2.2",
  71. "@storybook/theming": "7.6.12",
  72. "@storybook/types": "7.6.12",
  73. "@types/node": "^18.15.0",
  74. "@types/react": "^18.2.52",
  75. "@types/react-dom": "^18.2.18",
  76. "@typescript-eslint/eslint-plugin": "^7.0.2",
  77. "@vitejs/plugin-react": "^4.1.1",
  78. "auto": "^11.0.4",
  79. "boxen": "^7.1.1",
  80. "dedent": "^1.5.1",
  81. "eslint": "^8.57.0",
  82. "eslint-config-prettier": "^9.1.0",
  83. "eslint-plugin-react": "^7.33.2",
  84. "happy-dom": "^13.3.8",
  85. "npm-run-all": "^4.1.5",
  86. "prettier": "^3.0.3",
  87. "prompts": "^2.4.2",
  88. "react": "^18.2.0",
  89. "react-dom": "^18.2.0",
  90. "rimraf": "^5.0.5",
  91. "storybook": "7.6.12",
  92. "tsup": "^7.2.0",
  93. "typescript": "^5.2.2",
  94. "vite": "^4.5.0",
  95. "vitest": "^1.2.2",
  96. "zx": "^7.2.3"
  97. },
  98. "publishConfig": {
  99. "access": "public"
  100. },
  101. "bundler": {
  102. "exportEntries": [
  103. "src/index.ts"
  104. ],
  105. "managerEntries": [
  106. "src/manager.ts"
  107. ],
  108. "previewEntries": [
  109. "src/preview.ts"
  110. ]
  111. },
  112. "storybook": {
  113. "displayName": "Storybook Addon RTL",
  114. "supportedFrameworks": [
  115. "react",
  116. "vue",
  117. "angular",
  118. "preact",
  119. "web-components",
  120. "ember",
  121. "html",
  122. "svelte",
  123. "react-native"
  124. ],
  125. "icon": "https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png"
  126. }
  127. }