package.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "_from": "flatted@^3.1.0",
  3. "_id": "flatted@3.2.5",
  4. "_inBundle": false,
  5. "_integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==",
  6. "_location": "/flatted",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "flatted@^3.1.0",
  12. "name": "flatted",
  13. "escapedName": "flatted",
  14. "rawSpec": "^3.1.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^3.1.0"
  17. },
  18. "_requiredBy": [
  19. "/flat-cache"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz",
  22. "_shasum": "76c8584f4fc843db64702a6bd04ab7a8bd666da3",
  23. "_spec": "flatted@^3.1.0",
  24. "_where": "H:\\gs_nuxt\\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.16.0",
  36. "@babel/preset-env": "^7.16.0",
  37. "@ungap/structured-clone": "^0.3.4",
  38. "ascjs": "^5.0.1",
  39. "c8": "^7.10.0",
  40. "circular-json": "^0.5.9",
  41. "circular-json-es6": "^2.0.2",
  42. "drop-babel-typeof": "^1.0.3",
  43. "jsan": "^3.1.13",
  44. "rollup": "^2.59.0",
  45. "rollup-plugin-babel": "^4.4.0",
  46. "rollup-plugin-node-resolve": "^5.2.0",
  47. "rollup-plugin-terser": "^7.0.2",
  48. "terser": "^5.9.0"
  49. },
  50. "exports": {
  51. ".": {
  52. "import": "./esm/index.js",
  53. "default": "./cjs/index.js"
  54. },
  55. "./package.json": "./package.json"
  56. },
  57. "homepage": "https://github.com/WebReflection/flatted#readme",
  58. "keywords": [
  59. "circular",
  60. "JSON",
  61. "fast",
  62. "parser",
  63. "minimal"
  64. ],
  65. "license": "ISC",
  66. "main": "./cjs/index.js",
  67. "module": "./esm/index.js",
  68. "name": "flatted",
  69. "repository": {
  70. "type": "git",
  71. "url": "git+https://github.com/WebReflection/flatted.git"
  72. },
  73. "scripts": {
  74. "build": "npm run cjs && npm run rollup:es && npm run rollup:babel && npm run min && npm run test && npm run size",
  75. "cjs": "ascjs esm cjs",
  76. "coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info",
  77. "min": "terser index.js -c -m -o min.js",
  78. "rollup:babel": "rollup --config rollup/babel.config.js && sed -i.bck 's/^var /self./' index.js && rm -rf index.js.bck && drop-babel-typeof index.js",
  79. "rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
  80. "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",
  81. "test": "c8 node test/index.js",
  82. "test:php": "php php/test.php"
  83. },
  84. "type": "module",
  85. "types": "types.d.ts",
  86. "unpkg": "min.js",
  87. "version": "3.2.5"
  88. }