package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "author": {
  3. "email": "gajus@gajus.com",
  4. "name": "Gajus Kuizinas",
  5. "url": "http://gajus.com"
  6. },
  7. "dependencies": {
  8. "ajv": "^6.10.2",
  9. "lodash": "^4.17.14",
  10. "slice-ansi": "^2.1.0",
  11. "string-width": "^3.0.0"
  12. },
  13. "description": "Formats data into a string table.",
  14. "devDependencies": {
  15. "@babel/cli": "^7.5.0",
  16. "@babel/core": "^7.5.4",
  17. "@babel/node": "^7.5.0",
  18. "@babel/plugin-transform-flow-strip-types": "^7.4.4",
  19. "@babel/preset-env": "^7.5.4",
  20. "@babel/register": "^7.4.4",
  21. "ajv-cli": "^3.0.0",
  22. "ajv-keywords": "^3.4.1",
  23. "babel-plugin-istanbul": "^5.1.4",
  24. "babel-plugin-lodash": "^3.3.4",
  25. "babel-plugin-transform-export-default-name": "^2.0.4",
  26. "chai": "^4.2.0",
  27. "chalk": "^2.4.2",
  28. "coveralls": "^3.0.5",
  29. "eslint": "^5.13.0",
  30. "eslint-config-canonical": "^16.1.0",
  31. "flow-bin": "^0.102.0",
  32. "flow-copy-source": "^2.0.7",
  33. "gitdown": "^3.1.1",
  34. "husky": "^3.0.0",
  35. "mocha": "^6.1.4",
  36. "nyc": "^14.1.1",
  37. "semantic-release": "^15.13.18",
  38. "sinon": "^7.3.2"
  39. },
  40. "engines": {
  41. "node": ">=6.0.0"
  42. },
  43. "husky": {
  44. "hooks": {
  45. "post-commit": "npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify",
  46. "pre-commit": "npm run lint && npm run test && npm run build"
  47. }
  48. },
  49. "keywords": [
  50. "ascii",
  51. "text",
  52. "table",
  53. "align",
  54. "ansi"
  55. ],
  56. "license": "BSD-3-Clause",
  57. "main": "./dist/index.js",
  58. "name": "table",
  59. "nyc": {
  60. "include": [
  61. "src/**/*.js"
  62. ],
  63. "instrument": false,
  64. "reporter": [
  65. "text-lcov"
  66. ],
  67. "require": [
  68. "@babel/register"
  69. ],
  70. "sourceMap": false
  71. },
  72. "repository": {
  73. "type": "git",
  74. "url": "https://github.com/gajus/table"
  75. },
  76. "scripts": {
  77. "build": "rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && npm run create-validators && flow-copy-source src dist",
  78. "create-readme": "gitdown ./.README/README.md --output-file ./README.md",
  79. "create-validators": "ajv compile --all-errors --inline-refs=false -s src/schemas/config -c ajv-keywords/keywords/typeof -o dist/validateConfig.js && ajv compile --all-errors --inline-refs=false -s src/schemas/streamConfig -c ajv-keywords/keywords/typeof -o dist/validateStreamConfig.js",
  80. "lint": "npm run build && eslint ./src ./test && flow",
  81. "test": "mocha --require @babel/register"
  82. },
  83. "version": "5.4.6"
  84. }