package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "vue3-carousel",
  3. "version": "0.8.1",
  4. "type": "module",
  5. "scripts": {
  6. "build": "rollup -c",
  7. "dev": "rollup -cw",
  8. "docs:dev": "vitepress dev docs",
  9. "docs:build": "vitepress build docs",
  10. "docs:serve": "vitepress serve docs",
  11. "release": "sh scripts/new-release.sh",
  12. "lint": "eslint . --ext .ts",
  13. "lint:fix": "yarn lint --fix",
  14. "prettier": "prettier . --check",
  15. "prettier:fix": "yarn prettier --write",
  16. "test": "vitest",
  17. "test:watch": "npm run test -- --watchAll"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "https://github.com/ismail9k/vue3-carousel.git"
  22. },
  23. "exports": {
  24. ".": {
  25. "types": "./dist/carousel.d.ts",
  26. "import": "./dist/carousel.es.js",
  27. "require": "./dist/carousel.js",
  28. "browser": "./dist/carousel.min.js"
  29. },
  30. "./dist/carousel": {
  31. "types": "./dist/carousel.d.ts",
  32. "import": "./dist/carousel.es.js",
  33. "require": "./dist/carousel.js",
  34. "browser": "./dist/carousel.min.js"
  35. },
  36. "./dist/carousel.min.js": {
  37. "import": "./dist/carousel.es.min.js",
  38. "require": "./dist/carousel.min.js"
  39. },
  40. "./dist/*.css": {
  41. "import": "./dist/*.css",
  42. "require": "./dist/*.css"
  43. }
  44. },
  45. "main": "dist/carousel.js",
  46. "module": "dist/carousel.es.js",
  47. "style": "dist/carousel.css",
  48. "types": "dist/carousel.d.ts",
  49. "unpkg": "dist/carousel.min.js",
  50. "jsdelivr": "dist/carousel.min.js",
  51. "devDependencies": {
  52. "@rollup/plugin-terser": "^0.4.4",
  53. "@rollup/plugin-typescript": "^12.1.1",
  54. "@stackblitz/sdk": "^1.11.0",
  55. "@typescript-eslint/eslint-plugin": "^5.38.1",
  56. "@typescript-eslint/parser": "^5.38.1",
  57. "@vue/test-utils": "^2.4.6",
  58. "eslint": "^7.32.0",
  59. "eslint-config-prettier": "^8.5.0",
  60. "eslint-import-resolver-typescript": "^3.5.1",
  61. "eslint-plugin-import": "^2.26.0",
  62. "eslint-plugin-prettier": "^4.2.1",
  63. "eslint-plugin-vue": "^8.3.0",
  64. "jsdom": "^25.0.1",
  65. "prettier": "^2.3.2",
  66. "rollup": "^4.22.4",
  67. "rollup-plugin-css-only": "^4.5.2",
  68. "rollup-plugin-delete": "^2.0.0",
  69. "rollup-plugin-dts": "^6.1.0",
  70. "rollup-plugin-typescript-paths": "^1.5.0",
  71. "typescript": "^5.4.3",
  72. "vite-tsconfig-paths": "^5.0.1",
  73. "vitepress": "^1.3.4",
  74. "vitest": "^2.1.4",
  75. "vue": "^3.2.0"
  76. },
  77. "peerDependencies": {
  78. "vue": "^3.2.0"
  79. },
  80. "browserslist": [
  81. "> 1%",
  82. "last 2 versions",
  83. "not dead"
  84. ],
  85. "license": "MIT"
  86. }