package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "name": "defu",
  3. "version": "6.1.4",
  4. "description": "Recursively assign default properties. Lightweight and Fast!",
  5. "repository": "unjs/defu",
  6. "license": "MIT",
  7. "exports": {
  8. ".": {
  9. "types": "./dist/defu.d.ts",
  10. "import": "./dist/defu.mjs",
  11. "require": "./lib/defu.cjs"
  12. }
  13. },
  14. "main": "./lib/defu.cjs",
  15. "module": "./dist/defu.mjs",
  16. "types": "./dist/defu.d.ts",
  17. "files": [
  18. "dist",
  19. "lib"
  20. ],
  21. "devDependencies": {
  22. "@types/node": "^20.10.6",
  23. "@vitest/coverage-v8": "^1.1.3",
  24. "changelogen": "^0.5.5",
  25. "eslint": "^8.56.0",
  26. "eslint-config-unjs": "^0.2.1",
  27. "expect-type": "^0.17.3",
  28. "prettier": "^3.1.1",
  29. "typescript": "^5.3.3",
  30. "unbuild": "^2.0.0",
  31. "vitest": "^1.1.3"
  32. },
  33. "packageManager": "pnpm@8.10.2",
  34. "scripts": {
  35. "build": "unbuild",
  36. "dev": "vitest",
  37. "lint": "eslint --ext .ts src && prettier -c src test",
  38. "lint:fix": "eslint --ext .ts src --fix && prettier -w src test",
  39. "release": "pnpm test && changelogen --release && git push --follow-tags && pnpm publish",
  40. "test": "pnpm lint && pnpm vitest run",
  41. "test:types": "tsc --noEmit"
  42. }
  43. }