package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "_args": [
  3. [
  4. "flatted@2.0.0",
  5. "/Users/lihai/jolijoli/pad_spa"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "flatted@2.0.0",
  10. "_id": "flatted@2.0.0",
  11. "_inBundle": false,
  12. "_integrity": "sha1-VRIrZTbqSWtLRIk+4mCBQdENmRY=",
  13. "_location": "/flatted",
  14. "_phantomChildren": {},
  15. "_requested": {
  16. "type": "version",
  17. "registry": true,
  18. "raw": "flatted@2.0.0",
  19. "name": "flatted",
  20. "escapedName": "flatted",
  21. "rawSpec": "2.0.0",
  22. "saveSpec": null,
  23. "fetchSpec": "2.0.0"
  24. },
  25. "_requiredBy": [
  26. "/eslint/flat-cache"
  27. ],
  28. "_resolved": "https://registry.npm.taobao.org/flatted/download/flatted-2.0.0.tgz",
  29. "_spec": "2.0.0",
  30. "_where": "/Users/lihai/jolijoli/pad_spa",
  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. "circular-json": "latest",
  40. "circular-json-es6": "latest",
  41. "coveralls": "latest",
  42. "istanbul": "latest",
  43. "jsan": "latest",
  44. "uglify-js": "latest"
  45. },
  46. "homepage": "https://github.com/WebReflection/flatted#readme",
  47. "keywords": [
  48. "circular",
  49. "JSON",
  50. "fast",
  51. "parser",
  52. "minimal"
  53. ],
  54. "license": "ISC",
  55. "main": "cjs/index.js",
  56. "module": "esm/index.js",
  57. "name": "flatted",
  58. "repository": {
  59. "type": "git",
  60. "url": "git+https://github.com/WebReflection/flatted.git"
  61. },
  62. "scripts": {
  63. "bench": "node test/bench.js",
  64. "build": "npm run cjs && npm test && npm run esm && npm run min && npm run size",
  65. "cjs": "cp index.js cjs/index.js; echo 'module.exports = Flatted;' >> cjs/index.js",
  66. "coveralls": "cat ./coverage/lcov.info | coveralls",
  67. "esm": "cp index.js esm/index.js; echo 'export default Flatted;' >> esm/index.js; echo 'export const parse = Flatted.parse;' >> esm/index.js; echo 'export const stringify = Flatted.stringify;' >> esm/index.js",
  68. "min": "echo '/*! (c) 2018, Andrea Giammarchi, (ISC) */'>min.js && uglifyjs index.js --support-ie8 -c -m >> min.js",
  69. "size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;cat min.js | brotli | wc -c",
  70. "test": "istanbul cover test/index.js"
  71. },
  72. "types": "types.d.ts",
  73. "unpkg": "min.js",
  74. "version": "2.0.0"
  75. }