| { |
| "author": "Andrea Giammarchi", |
| "bugs": { |
| "url": "https://github.com/WebReflection/flatted/issues" |
| }, |
| "description": "A super light and fast circular JSON parser.", |
| "devDependencies": { |
| "circular-json": "latest", |
| "circular-json-es6": "latest", |
| "coveralls": "latest", |
| "istanbul": "latest", |
| "jsan": "latest", |
| "uglify-js": "latest" |
| }, |
| "homepage": "https://github.com/WebReflection/flatted#readme", |
| "keywords": [ |
| "circular", |
| "JSON", |
| "fast", |
| "parser", |
| "minimal" |
| ], |
| "license": "ISC", |
| "main": "cjs/index.js", |
| "module": "esm/index.js", |
| "name": "flatted", |
| "repository": { |
| "type": "git", |
| "url": "git+https://github.com/WebReflection/flatted.git" |
| }, |
| "scripts": { |
| "bench": "node test/bench.js", |
| "build": "npm run cjs && npm test && npm run esm && npm run min && npm run size", |
| "cjs": "cp index.js cjs/index.js; echo 'module.exports = Flatted;' >> cjs/index.js", |
| "coveralls": "cat ./coverage/lcov.info | coveralls", |
| "esm": "cp index.js esm/index.js; echo 'export default Flatted;' >> esm/index.js; echo 'export var parse = Flatted.parse;' >> esm/index.js; echo 'export var stringify = Flatted.stringify;' >> esm/index.js", |
| "min": "echo '/*! (c) 2018, Andrea Giammarchi, (ISC) */'>min.js && uglifyjs index.js --support-ie8 -c -m >> min.js", |
| "size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;cat min.js | brotli | wc -c", |
| "test": "istanbul cover test/index.js" |
| }, |
| "types": "types.d.ts", |
| "unpkg": "min.js", |
| "version": "2.0.1" |
| } |