package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "@discoveryjs/json-ext",
  3. "version": "0.5.6",
  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. },
  22. "types": "./index.d.ts",
  23. "scripts": {
  24. "test": "mocha --reporter progress",
  25. "lint": "eslint src test",
  26. "lint-and-test": "npm run lint && npm test",
  27. "build": "rollup --config",
  28. "test:all": "npm run test:src && npm run test:dist",
  29. "test:src": "npm test",
  30. "test:dist": "cross-env MODE=dist npm test && cross-env MODE=dist-min npm test",
  31. "build-and-test": "npm run build && npm run test:dist",
  32. "coverage": "nyc npm test",
  33. "travis": "nyc npm run lint-and-test && npm run build-and-test && npm run coveralls",
  34. "coveralls": "nyc report --reporter=text-lcov | coveralls",
  35. "prepublishOnly": "npm run build"
  36. },
  37. "dependencies": {},
  38. "devDependencies": {
  39. "@rollup/plugin-commonjs": "^15.1.0",
  40. "@rollup/plugin-json": "^4.1.0",
  41. "@rollup/plugin-node-resolve": "^9.0.0",
  42. "chalk": "^4.1.0",
  43. "coveralls": "^3.1.0",
  44. "cross-env": "^7.0.3",
  45. "eslint": "^7.6.0",
  46. "mocha": "^8.1.1",
  47. "nyc": "^15.1.0",
  48. "rollup": "^2.28.2",
  49. "rollup-plugin-terser": "^7.0.2"
  50. },
  51. "engines": {
  52. "node": ">=10.0.0"
  53. },
  54. "files": [
  55. "dist",
  56. "src",
  57. "index.d.ts"
  58. ]
  59. }