package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "@e22m4u/js-format",
  3. "version": "0.1.4",
  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. "engines": {
  13. "node": ">=12"
  14. },
  15. "scripts": {
  16. "lint": "tsc && eslint ./src",
  17. "lint:fix": "tsc && eslint ./src --fix",
  18. "format": "prettier --write \"./src/**/*.js\"",
  19. "test": "npm run lint && c8 --reporter=text-summary mocha",
  20. "test:coverage": "npm run lint && c8 --reporter=text mocha",
  21. "build:cjs": "node build-cjs.js",
  22. "prepare": "husky"
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "https://github.com/e22m4u/js-format.git"
  27. },
  28. "keywords": [
  29. "sprintf",
  30. "format",
  31. "error"
  32. ],
  33. "author": "e22m4u <e22m4u@yandex.ru>",
  34. "license": "MIT",
  35. "homepage": "https://github.com/e22m4u/js-format",
  36. "devDependencies": {
  37. "@commitlint/cli": "~19.5.0",
  38. "@commitlint/config-conventional": "~19.5.0",
  39. "@eslint/js": "~9.12.0",
  40. "c8": "~10.1.2",
  41. "chai": "~5.1.1",
  42. "esbuild": "~0.24.0",
  43. "eslint": "~9.12.0",
  44. "eslint-config-prettier": "~9.1.0",
  45. "eslint-plugin-chai-expect": "~3.1.0",
  46. "eslint-plugin-mocha": "~10.5.0",
  47. "globals": "~15.10.0",
  48. "husky": "~9.1.6",
  49. "mocha": "~10.7.3",
  50. "prettier": "~3.3.3",
  51. "typescript": "~5.6.2"
  52. }
  53. }