package.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "ansi-fragments",
  3. "version": "0.2.1",
  4. "main": "build/index.js",
  5. "license": "MIT",
  6. "description": "A tiny library with builders to help making logs/CLI pretty with a nice DX.",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/zamotany/ansi-fragments.git"
  10. },
  11. "keywords": [
  12. "cli",
  13. "ansi"
  14. ],
  15. "author": "Paweł Trysła <zamotany.oss@gmail.com>",
  16. "bugs": {
  17. "url": "https://github.com/zamotany/ansi-fragments/issues"
  18. },
  19. "homepage": "https://github.com/zamotany/ansi-fragments",
  20. "files": [
  21. "build/"
  22. ],
  23. "scripts": {
  24. "lint": "tslint -t stylish --project tsconfig.json",
  25. "test": "jest",
  26. "build": "tsc --build tsconfig.json",
  27. "clean": "del build",
  28. "prepare": "yarn clean && yarn build"
  29. },
  30. "dependencies": {
  31. "colorette": "^1.0.7",
  32. "slice-ansi": "^2.0.0",
  33. "strip-ansi": "^5.0.0"
  34. },
  35. "devDependencies": {
  36. "@callstack/tslint-config": "^0.1.0",
  37. "@types/jest": "^23.3.13",
  38. "@types/slice-ansi": "^2.0.0",
  39. "@types/strip-ansi": "^3.0.0",
  40. "del-cli": "^1.1.0",
  41. "jest": "^24.0.0",
  42. "ts-jest": "^23.10.5",
  43. "tslint": "^5.12.0",
  44. "typescript": "^3.2.2"
  45. },
  46. "jest": {
  47. "preset": "ts-jest",
  48. "rootDir": "./src"
  49. }
  50. }