package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "author": {
  3. "email": "gajus@gajus.com",
  4. "name": "Gajus Kuizinas",
  5. "url": "http://gajus.com"
  6. },
  7. "dependencies": {
  8. "ajv": "^8.0.1",
  9. "lodash.truncate": "^4.4.2",
  10. "slice-ansi": "^4.0.0",
  11. "string-width": "^4.2.3",
  12. "strip-ansi": "^6.0.1"
  13. },
  14. "description": "Formats data into a string table.",
  15. "devDependencies": {
  16. "@types/chai": "^4.2.16",
  17. "@types/lodash.mapvalues": "^4.6.6",
  18. "@types/lodash.truncate": "^4.4.6",
  19. "@types/mocha": "^9.0.0",
  20. "@types/node": "^14.14.37",
  21. "@types/sinon": "^10.0.0",
  22. "@types/slice-ansi": "^4.0.0",
  23. "ajv-cli": "^5.0.0",
  24. "ajv-keywords": "^5.0.0",
  25. "chai": "^4.2.0",
  26. "chalk": "^4.1.0",
  27. "coveralls": "^3.1.0",
  28. "eslint": "^7.32.0",
  29. "eslint-config-canonical": "^25.0.0",
  30. "gitdown": "^3.1.4",
  31. "husky": "^4.3.6",
  32. "js-beautify": "^1.14.0",
  33. "lodash.mapvalues": "^4.6.0",
  34. "mkdirp": "^1.0.4",
  35. "mocha": "^8.2.1",
  36. "nyc": "^15.1.0",
  37. "semantic-release": "^17.3.1",
  38. "sinon": "^12.0.1",
  39. "ts-node": "^9.1.1",
  40. "typescript": "4.5.2"
  41. },
  42. "engines": {
  43. "node": ">=10.0.0"
  44. },
  45. "husky": {
  46. "hooks": {
  47. "post-commit": "npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify",
  48. "pre-commit": "npm run build && npm run lint && npm run test"
  49. }
  50. },
  51. "keywords": [
  52. "ascii",
  53. "text",
  54. "table",
  55. "align",
  56. "ansi"
  57. ],
  58. "license": "BSD-3-Clause",
  59. "main": "./dist/src/index.js",
  60. "files": [
  61. "dist/src/"
  62. ],
  63. "name": "table",
  64. "repository": {
  65. "type": "git",
  66. "url": "https://github.com/gajus/table"
  67. },
  68. "scripts": {
  69. "prebuild": "rm -fr ./src/generated && mkdirp ./src/generated",
  70. "build": "npm run create-validators && tsc",
  71. "create-readme": "gitdown ./.README/README.md --output-file ./README.md",
  72. "create-validators": "ajv compile --all-errors --inline-refs=false -s src/schemas/config -s src/schemas/streamConfig -r src/schemas/shared -c ajv-keywords/dist/keywords/typeof -o | js-beautify > ./src/generated/validators.js",
  73. "lint": "eslint ./src ./test",
  74. "test": "nyc mocha && nyc check-coverage --lines 95"
  75. },
  76. "version": "6.8.1"
  77. }