package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "loglevelnext",
  3. "version": "1.0.5",
  4. "description": "A modern logging library for Node.js and modern browsers that provides log level mapping to the console",
  5. "license": "MIT",
  6. "repository": "shellscape/loglevelnext",
  7. "author": "Andrew Powell <andrew@shellscape.org>",
  8. "homepage": "https://github.com/shellscape/loglevelnext",
  9. "main": "index.js",
  10. "engines": {
  11. "node": ">= 6"
  12. },
  13. "scripts": {
  14. "build": "npm run build:dev && npm run build:prod",
  15. "build:dev": "NODE_ENV=development webpack index.js",
  16. "build:prod": "NODE_ENV=production webpack index.js",
  17. "ci": "npm run cover -- --report lcovonly && npm run lint && npm run test",
  18. "check-node": "check-node-version --node 9",
  19. "cover": "istanbul cover node_modules/mocha/bin/_mocha",
  20. "lint": "eslint index.js lib test",
  21. "test": "npm run test:node && npm run test:browser",
  22. "test:browser": "if npm run check-node --silent; then mocha-chrome test/tests/browser/entry.html; else npm run test:browser:skip; fi",
  23. "test:browser:skip": "echo \"\\nSkipping Browser Test\\n\\n\\033[32mTests Completed Successfully\\033[0m\"",
  24. "test:node": "mocha --full-trace --check-leaks"
  25. },
  26. "files": [
  27. "dist/",
  28. "factory/",
  29. "lib/",
  30. "index.js"
  31. ],
  32. "keywords": [
  33. "browser",
  34. "console",
  35. "debug",
  36. "error",
  37. "level",
  38. "levels",
  39. "log",
  40. "logger",
  41. "logging",
  42. "loglevel",
  43. "persist",
  44. "persistent",
  45. "plugins",
  46. "prefix",
  47. "trace",
  48. "warn"
  49. ],
  50. "dependencies": {
  51. "es6-symbol": "^3.1.1",
  52. "object.assign": "^4.1.0"
  53. },
  54. "devDependencies": {
  55. "@babel/cli": "^7.0.0-beta.46",
  56. "@babel/core": "^7.0.0-beta.46",
  57. "@babel/polyfill": "^7.0.0-beta.46",
  58. "@babel/preset-env": "^7.0.0-beta.46",
  59. "@babel/register": "^7.0.0-beta.46",
  60. "assert": "^1.4.1",
  61. "babel-loader": "^8.0.0-beta.2",
  62. "better-assert": "github:devinrhode2/better-assert-browser",
  63. "chalk": "^2.3.0",
  64. "check-node-version": "^3.1.1",
  65. "codecov.io": "^0.1.6",
  66. "eslint": "^4.13.1",
  67. "eslint-config-webpack": "^1.2.5",
  68. "eslint-plugin-import": "^2.8.0",
  69. "istanbul": "^0.4.5",
  70. "mocha": "^5.1.1",
  71. "mocha-chrome": "^1.0.2",
  72. "sinon": "^4.1.3",
  73. "webpack": "^4.0.0-alpha.1",
  74. "webpack-cli": "^2.0.2"
  75. }
  76. }