package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "envinfo",
  3. "version": "7.14.0",
  4. "description": "Info about your dev environment for debugging purposes",
  5. "repository": "https://github.com/tabrindle/envinfo",
  6. "author": "tabrindle@gmail.com",
  7. "license": "MIT",
  8. "files": [
  9. "dist/"
  10. ],
  11. "main": "dist/envinfo.js",
  12. "bin": {
  13. "envinfo": "dist/cli.js"
  14. },
  15. "engines": {
  16. "node": ">=4"
  17. },
  18. "scripts": {
  19. "build": "webpack --progress",
  20. "check:format": "prettier -l src/**/*.js --verbose",
  21. "compress": "gzexe envinfo-* && upx envinfo-win.exe",
  22. "contributors:add": "all-contributors add",
  23. "contributors:generate": "all-contributors generate",
  24. "postcompress": "tar -czvf envinfo-linux.tar.gz envinfo-linux && tar -czvf envinfo-macos.tar.gz envinfo-macos && zip -r -X envinfo-win.zip envinfo-win.exe",
  25. "executable": "pkg package.json",
  26. "format": "prettier --write src/**/*.js",
  27. "lint": "eslint src",
  28. "lint-fix": "eslint src --fix",
  29. "preversion": "npm run test && webpack && git add .",
  30. "postversion": "npm run executable && npm run compress && npm run release",
  31. "release": "github-release upload --owner=tabrindle --repo=envinfo --tag=${npm_package_version} 'envinfo-linux.tar.gz' 'envinfo-macos.tar.gz' 'envinfo-win.zip'",
  32. "start": "node -r esm src/cli.js",
  33. "test": "jest --env=node && eslint src && prettier -l src/**/*.js"
  34. },
  35. "husky": {
  36. "hooks": {
  37. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS && npm run lint"
  38. }
  39. },
  40. "keywords": [
  41. "development",
  42. "env",
  43. "environment",
  44. "info",
  45. "issues",
  46. "reporting",
  47. "diagnostics"
  48. ],
  49. "pkg": {
  50. "scripts": "dist/*.js",
  51. "targets": [
  52. "linux",
  53. "macos",
  54. "win"
  55. ]
  56. },
  57. "jest": {
  58. "testEnvironment": "node"
  59. },
  60. "dependencies": {},
  61. "devDependencies": {
  62. "@babel/core": "^7.2.2",
  63. "@babel/plugin-proposal-optional-chaining": "^7.2.0",
  64. "@babel/polyfill": "^7.2.5",
  65. "@babel/preset-env": "^7.3.1",
  66. "@commitlint/cli": "^8.3.5",
  67. "@commitlint/config-conventional": "^8.3.4",
  68. "all-contributors-cli": "^4.11.1",
  69. "babel-core": "7.0.0-bridge.0",
  70. "babel-eslint": "^10.0.1",
  71. "babel-jest": "23.6.0",
  72. "babel-loader": "^8.0.5",
  73. "eslint": "^5.13.0",
  74. "eslint-config-airbnb-base": "^12.1.0",
  75. "eslint-config-prettier": "^2.7.0",
  76. "eslint-plugin-import": "^2.8.0",
  77. "eslint-plugin-prettier": "^2.3.1",
  78. "esm": "^3.2.22",
  79. "github-release-cli": "^0.4.1",
  80. "glob": "^7.1.6",
  81. "husky": "^4.2.5",
  82. "jest": "^22.4.3",
  83. "minimist": "^1.2.5",
  84. "os-name": "^3.1.0",
  85. "pkg": "^4.5.1",
  86. "prettier": "^1.19.1",
  87. "prettier-eslint-cli": "^4.1.1",
  88. "webpack": "^5.90.1",
  89. "webpack-cli": "^5.1.4",
  90. "which": "^1.2.14",
  91. "yamlify-object": "^0.5.1"
  92. },
  93. "resolutions": {
  94. "lodash": "4.17.15"
  95. }
  96. }