Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 

153 рядки
4.3 KiB

  1. {
  2. "name": "vue3-toastify",
  3. "version": "0.2.3",
  4. "type": "module",
  5. "description": "🎉 Vue3-Toastify allows you to add notifications to your app with ease. No more nonsense!",
  6. "keywords": [
  7. "vue",
  8. "vue3",
  9. "notification",
  10. "vue-notification",
  11. "vue3-notification",
  12. "alert",
  13. "toast",
  14. "toastify",
  15. "vue-toastify",
  16. "vue3-toastify",
  17. "vue-toast",
  18. "vue3-toast",
  19. "vue3-component"
  20. ],
  21. "homepage": "https://vue3-toastify.js-bridge.com",
  22. "bugs": {
  23. "url": "https://github.com/jerrywu001/vue3-toastify/issues"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "git+https://github.com/jerrywu001/vue3-toastify.git"
  28. },
  29. "license": "MIT",
  30. "author": "jerrywu001 <57242263@163.com>",
  31. "main": "./dist/index.js",
  32. "module": "./dist/index.mjs",
  33. "types": "./dist/index.d.ts",
  34. "exports": {
  35. ".": {
  36. "types": "./dist/index.d.ts",
  37. "import": "./dist/index.mjs",
  38. "require": "./dist/index.js"
  39. },
  40. "./*": [
  41. "./*",
  42. "./*.d.ts"
  43. ]
  44. },
  45. "typesVersions": {
  46. "*": {
  47. "*": [
  48. "./dist/*",
  49. "./*"
  50. ]
  51. }
  52. },
  53. "files": [
  54. "dist",
  55. "global.d.ts",
  56. "package.json",
  57. "README.md"
  58. ],
  59. "scripts": {
  60. "build": "vite build && npm run build:css",
  61. "dev": "pnpm -F playground run dev",
  62. "dev:use-bundle": "run-p tsup-w dev-pack",
  63. "docs": "pnpm -F docs run docs:dev",
  64. "build:docs": "pnpm -F docs run docs:build",
  65. "build:css": "npm run build:scss && npm run build:postcss && rimraf rf ./src/index.css",
  66. "build:scss": "sass --no-source-map --style=compressed src/styles/main.scss src/index.css",
  67. "build:postcss": "postcss src/index.css -o dist/index.css",
  68. "build:tsup": "tsup && npm run build:css",
  69. "preview:docs": "pnpm -F docs run docs:serve",
  70. "lint": "eslint \"**/*.{ts,tsx,vue}\"",
  71. "lint:inspector": "npx @eslint/config-inspector",
  72. "tsup-w": "tsup --watch",
  73. "dev-pack": "pnpm -F playground run dev:usepack",
  74. "prepare": "chmod a+x .husky/* && husky",
  75. "prepublishOnly": "npm run build",
  76. "release": "bumpp --commit --tag --push",
  77. "stylelint": "stylelint \"**/*.{css,less,scss,vue}\"",
  78. "test": "vitest",
  79. "test:ui": "vitest --ui",
  80. "typecheck": "tsc && vue-tsc"
  81. },
  82. "devDependencies": {
  83. "@babel/core": "^7.25.2",
  84. "@babel/plugin-transform-runtime": "^7.25.4",
  85. "@babel/plugin-transform-typescript": "^7.25.2",
  86. "@babel/preset-env": "^7.25.4",
  87. "@babel/preset-typescript": "^7.24.7",
  88. "@commitlint/cli": "^19.4.1",
  89. "@commitlint/config-conventional": "^19.4.1",
  90. "@swc/core": "^1.7.22",
  91. "@testing-library/jest-dom": "^6.5.0",
  92. "@testing-library/user-event": "^14.5.2",
  93. "@testing-library/vue": "^8.1.0",
  94. "@stylistic/eslint-plugin-js": "^2.7.2",
  95. "@stylistic/eslint-plugin-jsx": "^2.7.2",
  96. "@stylistic/eslint-plugin-plus": "^2.7.2",
  97. "@stylistic/eslint-plugin-ts": "^2.7.2",
  98. "@types/lodash.isequal": "^4.5.8",
  99. "@types/lz-string": "^1.5.0",
  100. "@types/node": "^20.16.3",
  101. "@typescript-eslint/parser": "^8.3.0",
  102. "@vitejs/plugin-vue": "^5.1.3",
  103. "@vitejs/plugin-vue-jsx": "^4.0.1",
  104. "@vitest/ui": "^2.0.5",
  105. "@vue/babel-plugin-jsx": "^1.2.2",
  106. "autoprefixer": "^10.4.20",
  107. "babel-loader": "^9.1.3",
  108. "browserslist-to-esbuild": "^2.1.1",
  109. "bumpp": "^9.5.2",
  110. "core-js": "^3.38.1",
  111. "cssnano": "^7.0.5",
  112. "esbuild-plugin-babel": "^0.2.3",
  113. "eslint-plugin-vue": "^9.27.0",
  114. "husky": "^9.1.5",
  115. "jsdom": "^25.0.0",
  116. "lint-staged": "^15.2.10",
  117. "npm": "^10.8.3",
  118. "npm-run-all": "^4.1.5",
  119. "postcss": "^8.4.43",
  120. "postcss-cli": "^11.0.0",
  121. "postcss-loader": "^8.1.1",
  122. "postcss-nested": "^6.2.0",
  123. "postcss-scss": "^4.0.9",
  124. "rimraf": "^5.0.10",
  125. "sass": "^1.77.8",
  126. "shelljs": "^0.8.5",
  127. "stylelint": "^16.9.0",
  128. "stylelint-config-recommended-vue": "^1.5.0",
  129. "stylelint-config-standard": "^36.0.1",
  130. "tsup": "^8.2.4",
  131. "typescript": "^5.5.4",
  132. "vite": "^5.4.2",
  133. "vite-plugin-eslint": "^1.8.1",
  134. "vite-plugin-dts": "^4.1.0",
  135. "vite-plugin-style-import": "^2.0.0",
  136. "vitest": "^2.0.5",
  137. "vue-tsc": "^2.1.4",
  138. "vue-eslint-parser": "^9.4.3"
  139. },
  140. "peerDependencies": {
  141. "vue": ">=3.2.0"
  142. },
  143. "peerDependenciesMeta": {
  144. "vue": {
  145. "optional": true
  146. }
  147. },
  148. "engines": {
  149. "node": ">=20",
  150. "npm": ">=9.0.0"
  151. }
  152. }