package.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "name": "@e22m4u/js-format",
  3. "version": "0.0.8",
  4. "description": "Расширенная версия format из Node.js модуля util",
  5. "type": "module",
  6. "main": "src/index.js",
  7. "scripts": {
  8. "lint": "tsc && eslint .",
  9. "lint:fix": "tsc && eslint . --fix",
  10. "format": "prettier --write \"./src/**/*.js\"",
  11. "test": "npm run lint && c8 --reporter=text-summary mocha",
  12. "test:coverage": "npm run lint && c8 --reporter=text mocha",
  13. "prepare": "husky"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "https://github.com/e22m4u/js-format.git"
  18. },
  19. "keywords": [
  20. "format",
  21. "printf",
  22. "errorf"
  23. ],
  24. "author": "e22m4u <e22m4u@gmail.com>",
  25. "license": "MIT",
  26. "homepage": "https://github.com/e22m4u/js-format",
  27. "devDependencies": {
  28. "@commitlint/cli": "^18.6.0",
  29. "@commitlint/config-conventional": "^18.6.0",
  30. "c8": "^9.1.0",
  31. "chai": "^4.4.1",
  32. "chai-as-promised": "^7.1.1",
  33. "chai-spies": "^1.1.0",
  34. "chai-subset": "^1.6.0",
  35. "eslint": "^8.56.0",
  36. "eslint-config-prettier": "^9.1.0",
  37. "eslint-plugin-chai-expect": "^3.0.0",
  38. "eslint-plugin-mocha": "^10.2.0",
  39. "husky": "^9.0.6",
  40. "mocha": "^10.2.0",
  41. "prettier": "^3.2.4",
  42. "typescript": "^5.3.3"
  43. }
  44. }