package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "@vuelidate/validators",
  3. "version": "2.0.3",
  4. "description": "Validators for Vuelidate",
  5. "main": "dist/index.cjs",
  6. "types": "index.d.ts",
  7. "module": "dist/index.mjs",
  8. "unpkg": "dist/index.iife.min.js",
  9. "jsdelivr": "dist/index.iife.min.js",
  10. "repository": {
  11. "url": "https://github.com/vuelidate/vuelidate",
  12. "type": "git",
  13. "directory": "packages/validators"
  14. },
  15. "license": "MIT",
  16. "files": [
  17. "dist",
  18. "index.d.ts"
  19. ],
  20. "exports": {
  21. ".": {
  22. "import": {
  23. "types": "./dist/index.d.mts",
  24. "default": "./dist/index.mjs"
  25. },
  26. "require": {
  27. "types": "./dist/index.d.cts",
  28. "default": "./dist/index.cjs"
  29. }
  30. },
  31. "./*": "./*"
  32. },
  33. "scripts": {
  34. "build": "rollup -c rollup.config.mjs",
  35. "dev": "yarn build --watch",
  36. "test:unit": "jest",
  37. "lint": "eslint src"
  38. },
  39. "dependencies": {
  40. "vue-demi": "^0.13.11"
  41. },
  42. "peerDependencies": {
  43. "@vue/composition-api": "^1.0.0-rc.1",
  44. "vue": "^2.0.0 || >=3.0.0"
  45. },
  46. "peerDependenciesMeta": {
  47. "@vue/composition-api": {
  48. "optional": true
  49. }
  50. },
  51. "devDependencies": {
  52. "flush-promises": "^1.0.2"
  53. },
  54. "sideEffects": [
  55. "./src/utils/common.js"
  56. ],
  57. "publishConfig": {
  58. "access": "public"
  59. }
  60. }