package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "klona",
  3. "version": "2.0.6",
  4. "repository": "lukeed/klona",
  5. "description": "A tiny (240B to 501B) and fast utility to \"deep clone\" Objects, Arrays, Dates, RegExps, and more!",
  6. "module": "dist/index.mjs",
  7. "unpkg": "dist/index.min.js",
  8. "main": "dist/index.js",
  9. "types": "index.d.ts",
  10. "license": "MIT",
  11. "author": {
  12. "name": "Luke Edwards",
  13. "email": "luke.edwards05@gmail.com",
  14. "url": "https://lukeed.com"
  15. },
  16. "files": [
  17. "*.d.ts",
  18. "dist",
  19. "full",
  20. "json",
  21. "lite"
  22. ],
  23. "exports": {
  24. ".": {
  25. "types": "./index.d.ts",
  26. "import": "./dist/index.mjs",
  27. "require": "./dist/index.js"
  28. },
  29. "./json": {
  30. "types": "./index.d.ts",
  31. "import": "./json/index.mjs",
  32. "require": "./json/index.js"
  33. },
  34. "./lite": {
  35. "types": "./index.d.ts",
  36. "import": "./lite/index.mjs",
  37. "require": "./lite/index.js"
  38. },
  39. "./full": {
  40. "types": "./index.d.ts",
  41. "import": "./full/index.mjs",
  42. "require": "./full/index.js"
  43. },
  44. "./package.json": "./package.json"
  45. },
  46. "modes": {
  47. "json": "src/json.js",
  48. "lite": "src/lite.js",
  49. "default": "src/index.js",
  50. "full": "src/full.js"
  51. },
  52. "engines": {
  53. "node": ">= 8"
  54. },
  55. "scripts": {
  56. "build": "bundt",
  57. "pretest": "npm run build",
  58. "postbuild": "echo \"lite full json\" | xargs -n1 cp -v index.d.ts",
  59. "test": "uvu -r esm test -i suites"
  60. },
  61. "keywords": [
  62. "clone",
  63. "copy",
  64. "deep",
  65. "extend",
  66. "recursive",
  67. "object"
  68. ],
  69. "devDependencies": {
  70. "bundt": "1.0.2",
  71. "esm": "3.2.25",
  72. "uvu": "0.5.2"
  73. }
  74. }