4 "description": "A super light and fast circular JSON parser.",
7 "main": "./cjs/index.js",
9 "build": "npm run cjs && npm run rollup:es && npm run rollup:babel && npm run min && npm run test && npm run size",
10 "cjs": "ascjs esm cjs",
11 "rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
12 "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",
13 "min": "terser index.js -c -m -o min.js",
14 "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",
15 "test": "c8 node test/index.js",
16 "test:php": "php php/test.php",
17 "coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info"
21 "url": "git+https://github.com/WebReflection/flatted.git"
30 "author": "Andrea Giammarchi",
33 "url": "https://github.com/WebReflection/flatted/issues"
35 "homepage": "https://github.com/WebReflection/flatted#readme",
37 "@babel/core": "^7.16.0",
38 "@babel/preset-env": "^7.16.0",
39 "@ungap/structured-clone": "^0.3.4",
42 "circular-json": "^0.5.9",
43 "circular-json-es6": "^2.0.2",
44 "drop-babel-typeof": "^1.0.3",
47 "rollup-plugin-babel": "^4.4.0",
48 "rollup-plugin-node-resolve": "^5.2.0",
49 "rollup-plugin-terser": "^7.0.2",
52 "module": "./esm/index.js",
55 "import": "./esm/index.js",
56 "default": "./cjs/index.js"