package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "bs-logger",
  3. "version": "0.2.6",
  4. "description": "Bare simple logger for NodeJS",
  5. "author": "Huafu Gandon <huafu.gandon@gmail.com>",
  6. "license": "MIT",
  7. "repository": "git+https://github.com/huafu/bs-logger.git",
  8. "main": "dist/index.js",
  9. "types": "dist/index.d.ts",
  10. "scripts": {
  11. "build": "tsc -p tsconfig.build.json",
  12. "clean": "rimraf dist coverage",
  13. "typecheck": "tsc -p . --noEmit",
  14. "lint": "tslint --project tsconfig.json --format stylish",
  15. "lint:fix": "tslint --fix --project tsconfig.json",
  16. "test": "jest --coverage",
  17. "test:watch": "jest --watch",
  18. "prebuild": "npm run clean",
  19. "posttest": "npm run typecheck && npm run lint",
  20. "prepare": "npm run build",
  21. "prepublishOnly": "npm run test",
  22. "preversion": "npm test",
  23. "version": "npm run changelog && git add CHANGELOG.md",
  24. "postversion": "git push && git push --tags",
  25. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
  26. "commitmsg": "commitlint -E GIT_PARAMS",
  27. "precommit": "lint-staged",
  28. "postcommit": "git reset"
  29. },
  30. "keywords": [
  31. "bare simple logger",
  32. "simple logger",
  33. "simple",
  34. "logger",
  35. "typescript",
  36. "lib",
  37. "library"
  38. ],
  39. "files": [
  40. "dist"
  41. ],
  42. "devDependencies": {
  43. "@commitlint/cli": "7.x",
  44. "@commitlint/config-conventional": "7.x",
  45. "@types/jest": "23.x",
  46. "@types/node": "10.x",
  47. "conventional-changelog-cli": "2.x",
  48. "husky": "0.x",
  49. "jest": "23.x",
  50. "lint-staged": "7.x",
  51. "prettier": "1.x",
  52. "rimraf": "2.x",
  53. "ts-jest": "23.x",
  54. "tslint": "5.x",
  55. "tslint-config-prettier": "1.x",
  56. "tslint-plugin-prettier": "2.x",
  57. "typescript": "3.x"
  58. },
  59. "dependencies": {
  60. "fast-json-stable-stringify": "2.x"
  61. },
  62. "lint-staged": {
  63. "linters": {
  64. "*.{ts,tsx}": [
  65. "tslint --fix",
  66. "git add"
  67. ]
  68. }
  69. },
  70. "engines": {
  71. "node": ">= 6"
  72. }
  73. }