package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "author": {
  3. "email": "gajus@gajus.com",
  4. "name": "Gajus Kuizinas",
  5. "url": "http://gajus.com"
  6. },
  7. "ava": {
  8. "babel": {
  9. "compileAsTests": [
  10. "test/helpers/**/*"
  11. ]
  12. },
  13. "files": [
  14. "test/roarr/**/*"
  15. ],
  16. "require": [
  17. "@babel/register"
  18. ]
  19. },
  20. "dependencies": {
  21. "boolean": "^3.0.1",
  22. "detect-node": "^2.0.4",
  23. "globalthis": "^1.0.1",
  24. "json-stringify-safe": "^5.0.1",
  25. "semver-compare": "^1.0.0",
  26. "sprintf-js": "^1.1.2"
  27. },
  28. "description": "JSON logger for Node.js and browser.",
  29. "devDependencies": {
  30. "@ava/babel": "^1.0.1",
  31. "@babel/cli": "^7.11.6",
  32. "@babel/core": "^7.11.6",
  33. "@babel/node": "^7.10.5",
  34. "@babel/plugin-transform-flow-strip-types": "^7.10.4",
  35. "@babel/preset-env": "^7.11.5",
  36. "@babel/register": "^7.11.5",
  37. "ava": "^3.12.1",
  38. "babel-plugin-istanbul": "^6.0.0",
  39. "babel-plugin-transform-export-default-name": "^2.0.4",
  40. "coveralls": "^3.1.0",
  41. "domain-parent": "^1.0.0",
  42. "eslint": "^7.9.0",
  43. "eslint-config-canonical": "^24.1.1",
  44. "flow-bin": "^0.133.0",
  45. "flow-copy-source": "^2.0.9",
  46. "gitdown": "^3.1.3",
  47. "husky": "^4.3.0",
  48. "nyc": "^15.1.0",
  49. "semantic-release": "^17.1.1"
  50. },
  51. "engines": {
  52. "node": ">=8.0"
  53. },
  54. "husky": {
  55. "hooks": {
  56. "pre-commit": "npm run lint && npm run test && npm run build",
  57. "pre-push": "gitdown ./.README/README.md --output-file ./README.md --check"
  58. }
  59. },
  60. "keywords": [
  61. "log",
  62. "logger",
  63. "json"
  64. ],
  65. "main": "./dist/log.js",
  66. "name": "roarr",
  67. "nyc": {
  68. "include": [
  69. "src/**/*.js"
  70. ],
  71. "instrument": false,
  72. "reporter": [
  73. "text-lcov"
  74. ],
  75. "require": [
  76. "@babel/register"
  77. ],
  78. "sourceMap": false
  79. },
  80. "license": "BSD-3-Clause",
  81. "repository": {
  82. "type": "git",
  83. "url": "git@github.com:gajus/roarr.git"
  84. },
  85. "scripts": {
  86. "build": "rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist",
  87. "create-readme": "gitdown ./.README/README.md --output-file ./README.md",
  88. "dev": "NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch",
  89. "lint": "eslint ./src ./test && flow",
  90. "test": "NODE_ENV=test ava --serial --verbose"
  91. },
  92. "version": "2.15.4"
  93. }