Blame view

node_modules/copy-anything/package.json 2.45 KB
7820380e   “wangming”   1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
  {
    "name": "copy-anything",
    "sideEffects": false,
    "version": "2.0.6",
    "description": "An optimised way to copy'ing an object. A small and simple integration",
    "module": "./dist/index.es.js",
    "main": "./dist/index.cjs",
    "types": "./dist/types/index.d.ts",
    "exports": {
      ".": {
        "import": "./dist/index.es.js",
        "require": "./dist/index.cjs",
        "types": "./dist/types/index.d.ts"
      }
    },
    "files": [
      "dist"
    ],
    "scripts": {
      "test": "vitest run",
      "lint": "tsc --noEmit && eslint ./src --ext .ts",
      "build": "rollup -c ./scripts/build.js",
      "release": "npm run lint && del dist && npm run build && np"
    },
    "dependencies": {
      "is-what": "^3.14.1"
    },
    "devDependencies": {
      "@typescript-eslint/eslint-plugin": "^5.10.1",
      "@typescript-eslint/parser": "^5.10.1",
      "del-cli": "^4.0.1",
      "eslint": "^8.7.0",
      "eslint-config-prettier": "^8.3.0",
      "eslint-plugin-tree-shaking": "^1.10.0",
      "np": "^7.6.0",
      "prettier": "^2.5.1",
      "rollup": "^2.66.0",
      "rollup-plugin-typescript2": "^0.31.1",
      "typescript": "^4.5.5",
      "vitest": "^0.2.1"
    },
    "keywords": [
      "copy",
      "clone",
      "json-stringify",
      "stringify-parse",
      "object",
      "copy-objects",
      "clone-objects",
      "json-stringify-json-parse",
      "deep-clone",
      "deep-copy",
      "typescript",
      "ts"
    ],
    "author": "Luca Ban - Mesqueeb",
    "funding": "https://github.com/sponsors/mesqueeb",
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/mesqueeb/copy-anything/issues"
    },
    "homepage": "https://github.com/mesqueeb/copy-anything#readme",
    "repository": {
      "type": "git",
      "url": "git+https://github.com/mesqueeb/copy-anything.git"
    },
    "np": {
      "yarn": false,
      "branch": "legacy"
    },
    "eslintConfig": {
      "ignorePatterns": [
        "node_modules",
        "dist",
        "scripts",
        "test"
      ],
      "root": true,
      "parser": "@typescript-eslint/parser",
      "plugins": [
        "@typescript-eslint",
        "tree-shaking"
      ],
      "extends": [
        "eslint:recommended",
        "plugin:@typescript-eslint/eslint-recommended",
        "plugin:@typescript-eslint/recommended",
        "prettier"
      ],
      "rules": {
        "@typescript-eslint/no-empty-function": "off",
        "@typescript-eslint/no-explicit-any": "off",
        "@typescript-eslint/ban-ts-ignore": "off",
        "tree-shaking/no-side-effects-in-initialization": "error",
        "@typescript-eslint/ban-ts-comment": "off"
      }
    }
  }