package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "@discoveryjs/json-ext",
  3. "version": "0.5.7",
  4. "description": "A set of utilities that extend the use of JSON",
  5. "keywords": [
  6. "json",
  7. "utils",
  8. "stream",
  9. "async",
  10. "promise",
  11. "stringify",
  12. "info"
  13. ],
  14. "author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",
  15. "license": "MIT",
  16. "repository": "discoveryjs/json-ext",
  17. "main": "./src/index",
  18. "browser": {
  19. "./src/stringify-stream.js": "./src/stringify-stream-browser.js",
  20. "./src/text-decoder.js": "./src/text-decoder-browser.js",
  21. "./src/version.js": "./dist/version.js"
  22. },
  23. "types": "./index.d.ts",
  24. "scripts": {
  25. "test": "mocha --reporter progress",
  26. "lint": "eslint src test",
  27. "lint-and-test": "npm run lint && npm test",
  28. "build": "rollup --config",
  29. "test:all": "npm run test:src && npm run test:dist",
  30. "test:src": "npm test",
  31. "test:dist": "cross-env MODE=dist npm test && cross-env MODE=dist-min npm test",
  32. "build-and-test": "npm run build && npm run test:dist",
  33. "coverage": "c8 --reporter=lcovonly npm test",
  34. "prepublishOnly": "npm run lint && npm test && npm run build-and-test"
  35. },
  36. "devDependencies": {
  37. "@rollup/plugin-commonjs": "^15.1.0",
  38. "@rollup/plugin-json": "^4.1.0",
  39. "@rollup/plugin-node-resolve": "^9.0.0",
  40. "c8": "^7.10.0",
  41. "chalk": "^4.1.0",
  42. "cross-env": "^7.0.3",
  43. "eslint": "^8.10.0",
  44. "mocha": "^8.4.0",
  45. "rollup": "^2.28.2",
  46. "rollup-plugin-terser": "^7.0.2"
  47. },
  48. "engines": {
  49. "node": ">=10.0.0"
  50. },
  51. "files": [
  52. "dist",
  53. "src",
  54. "index.d.ts"
  55. ]
  56. }