package.json 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "_args": [
  3. [
  4. "flatted@3.2.7",
  5. "/Users/mac/projects/mime/mine"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "flatted@3.2.7",
  10. "_id": "flatted@3.2.7",
  11. "_inBundle": false,
  12. "_integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==",
  13. "_location": "/flatted",
  14. "_phantomChildren": {},
  15. "_requested": {
  16. "type": "version",
  17. "registry": true,
  18. "raw": "flatted@3.2.7",
  19. "name": "flatted",
  20. "escapedName": "flatted",
  21. "rawSpec": "3.2.7",
  22. "saveSpec": null,
  23. "fetchSpec": "3.2.7"
  24. },
  25. "_requiredBy": [
  26. "/flat-cache"
  27. ],
  28. "_resolved": "https://registry.npmmirror.com/flatted/-/flatted-3.2.7.tgz",
  29. "_spec": "3.2.7",
  30. "_where": "/Users/mac/projects/mime/mine",
  31. "author": {
  32. "name": "Andrea Giammarchi"
  33. },
  34. "bugs": {
  35. "url": "https://github.com/WebReflection/flatted/issues"
  36. },
  37. "description": "A super light and fast circular JSON parser.",
  38. "devDependencies": {
  39. "@babel/core": "^7.18.10",
  40. "@babel/preset-env": "^7.18.10",
  41. "@ungap/structured-clone": "^1.0.1",
  42. "ascjs": "^5.0.1",
  43. "c8": "^7.12.0",
  44. "circular-json": "^0.5.9",
  45. "circular-json-es6": "^2.0.2",
  46. "jsan": "^3.1.14",
  47. "rollup": "^2.78.1",
  48. "rollup-plugin-babel": "^4.4.0",
  49. "rollup-plugin-node-resolve": "^5.2.0",
  50. "rollup-plugin-terser": "^7.0.2",
  51. "terser": "^5.14.2"
  52. },
  53. "exports": {
  54. ".": {
  55. "types": "./types.d.ts",
  56. "import": "./esm/index.js",
  57. "default": "./cjs/index.js"
  58. },
  59. "./esm": "./esm.js",
  60. "./package.json": "./package.json"
  61. },
  62. "homepage": "https://github.com/WebReflection/flatted#readme",
  63. "keywords": [
  64. "circular",
  65. "JSON",
  66. "fast",
  67. "parser",
  68. "minimal"
  69. ],
  70. "license": "ISC",
  71. "main": "./cjs/index.js",
  72. "module": "./esm/index.js",
  73. "name": "flatted",
  74. "repository": {
  75. "type": "git",
  76. "url": "git+https://github.com/WebReflection/flatted.git"
  77. },
  78. "scripts": {
  79. "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",
  80. "cjs": "ascjs esm cjs",
  81. "coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info",
  82. "min": "terser index.js -c -m -o min.js",
  83. "rollup:babel": "rollup --config rollup/babel.config.js && sed -i.bck 's/^var /self./' index.js && rm -rf index.js.bck",
  84. "rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
  85. "rollup:esm": "rollup --config rollup/esm.config.js",
  86. "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",
  87. "test": "c8 node test/index.js",
  88. "test:php": "php php/test.php"
  89. },
  90. "type": "module",
  91. "types": "types.d.ts",
  92. "unpkg": "min.js",
  93. "version": "3.2.7"
  94. }