package.json 1.47 KB
{
  "name": "klona",
  "version": "2.0.5",
  "repository": "lukeed/klona",
  "description": "A tiny (240B to 501B) and fast utility to \"deep clone\" Objects, Arrays, Dates, RegExps, and more!",
  "module": "dist/index.mjs",
  "unpkg": "dist/index.min.js",
  "main": "dist/index.js",
  "types": "index.d.ts",
  "license": "MIT",
  "author": {
    "name": "Luke Edwards",
    "email": "luke.edwards05@gmail.com",
    "url": "https://lukeed.com"
  },
  "files": [
    "*.d.ts",
    "dist",
    "full",
    "json",
    "lite"
  ],
  "exports": {
    ".": {
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./json": {
      "import": "./json/index.mjs",
      "require": "./json/index.js"
    },
    "./lite": {
      "import": "./lite/index.mjs",
      "require": "./lite/index.js"
    },
    "./full": {
      "import": "./full/index.mjs",
      "require": "./full/index.js"
    },
    "./package.json": "./package.json"
  },
  "modes": {
    "json": "src/json.js",
    "lite": "src/lite.js",
    "default": "src/index.js",
    "full": "src/full.js"
  },
  "engines": {
    "node": ">= 8"
  },
  "scripts": {
    "build": "bundt",
    "pretest": "npm run build",
    "postbuild": "echo \"lite full json\" | xargs -n1 cp -v index.d.ts",
    "test": "uvu -r esm test -i suites"
  },
  "keywords": [
    "clone",
    "copy",
    "deep",
    "extend",
    "recursive",
    "object"
  ],
  "devDependencies": {
    "bundt": "1.0.2",
    "esm": "3.2.25",
    "uvu": "0.5.2"
  }
}