package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "@vuelidate/core",
  3. "description": "Simple, lightweight model-based validation for Vue.js",
  4. "version": "2.0.3",
  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/vuelidate"
  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. "test:unit": "jest",
  36. "lint": "eslint src test",
  37. "dev": "yarn build --watch"
  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. "@babel/core": "^7.15.0",
  53. "@babel/plugin-transform-runtime": "^7.15.0",
  54. "@babel/preset-env": "^7.15.0",
  55. "@vue/compiler-sfc": "^3.2.2",
  56. "core-js": "^3.16.1",
  57. "eslint-plugin-import": "^2.24.0",
  58. "eslint-plugin-promise": "^5.1.0",
  59. "flush-promises": "^1.0.2",
  60. "jest": "^27.0.6",
  61. "vue": "^3.2.2"
  62. },
  63. "publishConfig": {
  64. "access": "public"
  65. }
  66. }