package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {
  2. "_from": "copy-anything@^2.0.1",
  3. "_id": "copy-anything@2.0.6",
  4. "_inBundle": false,
  5. "_integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==",
  6. "_location": "/copy-anything",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "copy-anything@^2.0.1",
  12. "name": "copy-anything",
  13. "escapedName": "copy-anything",
  14. "rawSpec": "^2.0.1",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.0.1"
  17. },
  18. "_requiredBy": [
  19. "/less"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/copy-anything/-/copy-anything-2.0.6.tgz",
  22. "_shasum": "092454ea9584a7b7ad5573062b2a87f5900fc480",
  23. "_spec": "copy-anything@^2.0.1",
  24. "_where": "D:\\yf\\项目\\智慧工地\\代码库\\zhgd-front\\crm_web\\node_modules\\less",
  25. "author": {
  26. "name": "Luca Ban - Mesqueeb"
  27. },
  28. "bugs": {
  29. "url": "https://github.com/mesqueeb/copy-anything/issues"
  30. },
  31. "bundleDependencies": false,
  32. "dependencies": {
  33. "is-what": "^3.14.1"
  34. },
  35. "deprecated": false,
  36. "description": "An optimised way to copy'ing an object. A small and simple integration",
  37. "devDependencies": {
  38. "@typescript-eslint/eslint-plugin": "^5.10.1",
  39. "@typescript-eslint/parser": "^5.10.1",
  40. "del-cli": "^4.0.1",
  41. "eslint": "^8.7.0",
  42. "eslint-config-prettier": "^8.3.0",
  43. "eslint-plugin-tree-shaking": "^1.10.0",
  44. "np": "^7.6.0",
  45. "prettier": "^2.5.1",
  46. "rollup": "^2.66.0",
  47. "rollup-plugin-typescript2": "^0.31.1",
  48. "typescript": "^4.5.5",
  49. "vitest": "^0.2.1"
  50. },
  51. "eslintConfig": {
  52. "ignorePatterns": [
  53. "node_modules",
  54. "dist",
  55. "scripts",
  56. "test"
  57. ],
  58. "root": true,
  59. "parser": "@typescript-eslint/parser",
  60. "plugins": [
  61. "@typescript-eslint",
  62. "tree-shaking"
  63. ],
  64. "extends": [
  65. "eslint:recommended",
  66. "plugin:@typescript-eslint/eslint-recommended",
  67. "plugin:@typescript-eslint/recommended",
  68. "prettier"
  69. ],
  70. "rules": {
  71. "@typescript-eslint/no-empty-function": "off",
  72. "@typescript-eslint/no-explicit-any": "off",
  73. "@typescript-eslint/ban-ts-ignore": "off",
  74. "tree-shaking/no-side-effects-in-initialization": "error",
  75. "@typescript-eslint/ban-ts-comment": "off"
  76. }
  77. },
  78. "exports": {
  79. ".": {
  80. "import": "./dist/index.es.js",
  81. "require": "./dist/index.cjs",
  82. "types": "./dist/types/index.d.ts"
  83. }
  84. },
  85. "files": [
  86. "dist"
  87. ],
  88. "funding": "https://github.com/sponsors/mesqueeb",
  89. "homepage": "https://github.com/mesqueeb/copy-anything#readme",
  90. "keywords": [
  91. "copy",
  92. "clone",
  93. "json-stringify",
  94. "stringify-parse",
  95. "object",
  96. "copy-objects",
  97. "clone-objects",
  98. "json-stringify-json-parse",
  99. "deep-clone",
  100. "deep-copy",
  101. "typescript",
  102. "ts"
  103. ],
  104. "license": "MIT",
  105. "main": "./dist/index.cjs",
  106. "module": "./dist/index.es.js",
  107. "name": "copy-anything",
  108. "np": {
  109. "yarn": false,
  110. "branch": "legacy"
  111. },
  112. "repository": {
  113. "type": "git",
  114. "url": "git+https://github.com/mesqueeb/copy-anything.git"
  115. },
  116. "scripts": {
  117. "build": "rollup -c ./scripts/build.js",
  118. "lint": "tsc --noEmit && eslint ./src --ext .ts",
  119. "release": "npm run lint && del dist && npm run build && np",
  120. "test": "vitest run"
  121. },
  122. "sideEffects": false,
  123. "types": "./dist/types/index.d.ts",
  124. "version": "2.0.6"
  125. }