package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "_from": "flatted@^3.2.9",
  3. "_id": "flatted@3.3.3",
  4. "_inBundle": false,
  5. "_integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
  6. "_location": "/flatted",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "flatted@^3.2.9",
  12. "name": "flatted",
  13. "escapedName": "flatted",
  14. "rawSpec": "^3.2.9",
  15. "saveSpec": null,
  16. "fetchSpec": "^3.2.9"
  17. },
  18. "_requiredBy": [
  19. "/flat-cache"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/flatted/-/flatted-3.3.3.tgz",
  22. "_shasum": "67c8fad95454a7c7abebf74bb78ee74a44023358",
  23. "_spec": "flatted@^3.2.9",
  24. "_where": "E:\\vue_project\\el-table-column\\node_modules\\flat-cache",
  25. "author": {
  26. "name": "Andrea Giammarchi"
  27. },
  28. "bugs": {
  29. "url": "https://github.com/WebReflection/flatted/issues"
  30. },
  31. "bundleDependencies": false,
  32. "deprecated": false,
  33. "description": "A super light and fast circular JSON parser.",
  34. "devDependencies": {
  35. "@babel/core": "^7.26.9",
  36. "@babel/preset-env": "^7.26.9",
  37. "@rollup/plugin-babel": "^6.0.4",
  38. "@rollup/plugin-terser": "^0.4.4",
  39. "@ungap/structured-clone": "^1.3.0",
  40. "ascjs": "^6.0.3",
  41. "c8": "^10.1.3",
  42. "circular-json": "^0.5.9",
  43. "circular-json-es6": "^2.0.2",
  44. "jsan": "^3.1.14",
  45. "rollup": "^4.34.8",
  46. "terser": "^5.39.0",
  47. "typescript": "^5.7.3"
  48. },
  49. "exports": {
  50. ".": {
  51. "types": "./types/index.d.ts",
  52. "import": "./esm/index.js",
  53. "default": "./cjs/index.js"
  54. },
  55. "./esm": "./esm.js",
  56. "./package.json": "./package.json"
  57. },
  58. "files": [
  59. "LICENSE",
  60. "README.md",
  61. "cjs/",
  62. "es.js",
  63. "esm.js",
  64. "esm/",
  65. "index.js",
  66. "min.js",
  67. "php/flatted.php",
  68. "python/flatted.py",
  69. "types/"
  70. ],
  71. "homepage": "https://github.com/WebReflection/flatted#readme",
  72. "keywords": [
  73. "circular",
  74. "JSON",
  75. "fast",
  76. "parser",
  77. "minimal"
  78. ],
  79. "license": "ISC",
  80. "main": "./cjs/index.js",
  81. "module": "./esm/index.js",
  82. "name": "flatted",
  83. "repository": {
  84. "type": "git",
  85. "url": "git+https://github.com/WebReflection/flatted.git"
  86. },
  87. "scripts": {
  88. "build": "npm run cjs && npm run rollup:esm && npm run rollup:es && npm run rollup:babel && npm run min && npm run test && npm run size",
  89. "cjs": "ascjs esm cjs",
  90. "coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info",
  91. "min": "terser index.js -c -m -o min.js",
  92. "rollup:babel": "rollup --config rollup/babel.config.js && sed -i.bck 's/^var /self./' index.js && rm -rf index.js.bck",
  93. "rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
  94. "rollup:esm": "rollup --config rollup/esm.config.js",
  95. "size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;cat min.js | brotli | wc -c; cat es.js | brotli | wc -c; cat esm.js | brotli | wc -c",
  96. "test": "c8 node test/index.js",
  97. "test:php": "php php/test.php",
  98. "test:py": "python python/test.py",
  99. "ts": "tsc -p ."
  100. },
  101. "type": "module",
  102. "types": "./types/index.d.ts",
  103. "unpkg": "min.js",
  104. "version": "3.3.3"
  105. }