package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "@e22m4u/js-format",
  3. "version": "0.1.3",
  4. "description": "The string interpolation utility for JavaScript",
  5. "type": "module",
  6. "module": "./src/index.js",
  7. "main": "./dist/cjs/index.cjs",
  8. "exports": {
  9. "import": "./src/index.js",
  10. "require": "./dist/cjs/index.cjs"
  11. },
  12. "scripts": {
  13. "lint": "tsc && eslint .",
  14. "lint:fix": "tsc && eslint . --fix",
  15. "format": "prettier --write \"./src/**/*.js\"",
  16. "test": "npm run lint && c8 --reporter=text-summary mocha",
  17. "test:coverage": "npm run lint && c8 --reporter=text mocha",
  18. "build:cjs": "node build-cjs.js",
  19. "prepare": "husky"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "https://github.com/e22m4u/js-format.git"
  24. },
  25. "keywords": [
  26. "sprintf",
  27. "format",
  28. "error"
  29. ],
  30. "author": "e22m4u <e22m4u@yandex.ru>",
  31. "license": "MIT",
  32. "homepage": "https://github.com/e22m4u/js-format",
  33. "devDependencies": {
  34. "@commitlint/cli": "~19.5.0",
  35. "@commitlint/config-conventional": "~19.5.0",
  36. "@eslint/js": "~9.12.0",
  37. "c8": "~10.1.2",
  38. "chai": "~5.1.1",
  39. "esbuild": "~0.24.0",
  40. "eslint": "~9.12.0",
  41. "eslint-config-prettier": "~9.1.0",
  42. "eslint-plugin-chai-expect": "~3.1.0",
  43. "eslint-plugin-mocha": "~10.5.0",
  44. "globals": "~15.10.0",
  45. "husky": "~9.1.6",
  46. "mocha": "~10.7.3",
  47. "prettier": "~3.3.3",
  48. "typescript": "~5.6.2"
  49. }
  50. }