package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "@e22m4u/js-format",
  3. "version": "0.1.7",
  4. "description": "The string interpolation utility for JavaScript",
  5. "type": "module",
  6. "types": "./src/index.d.ts",
  7. "module": "./src/index.js",
  8. "main": "./dist/cjs/index.cjs",
  9. "exports": {
  10. "types": "./src/index.d.ts",
  11. "import": "./src/index.js",
  12. "require": "./dist/cjs/index.cjs"
  13. },
  14. "engines": {
  15. "node": ">=12"
  16. },
  17. "scripts": {
  18. "lint": "tsc && eslint ./src",
  19. "lint:fix": "tsc && eslint ./src --fix",
  20. "format": "prettier --write \"./src/**/*.js\"",
  21. "test": "npm run lint && c8 --reporter=text-summary mocha",
  22. "test:coverage": "npm run lint && c8 --reporter=text mocha",
  23. "build:cjs": "rimraf ./dist/cjs && node --no-warnings=ExperimentalWarning build-cjs.js",
  24. "prepare": "husky"
  25. },
  26. "repository": {
  27. "type": "git",
  28. "url": "git+https://github.com/e22m4u/js-format.git"
  29. },
  30. "keywords": [
  31. "sprintf",
  32. "format",
  33. "error"
  34. ],
  35. "author": "e22m4u <e22m4u@yandex.ru>",
  36. "license": "MIT",
  37. "homepage": "https://github.com/e22m4u/js-format",
  38. "devDependencies": {
  39. "@commitlint/cli": "~19.7.1",
  40. "@commitlint/config-conventional": "~19.7.1",
  41. "@eslint/js": "~9.19.0",
  42. "c8": "~10.1.3",
  43. "chai": "~5.1.2",
  44. "esbuild": "~0.24.2",
  45. "eslint": "~9.19.0",
  46. "eslint-config-prettier": "~10.0.1",
  47. "eslint-plugin-chai-expect": "~3.1.0",
  48. "eslint-plugin-mocha": "~10.5.0",
  49. "globals": "~15.14.0",
  50. "husky": "~9.1.7",
  51. "mocha": "~11.1.0",
  52. "prettier": "~3.4.2",
  53. "rimraf": "~6.0.1",
  54. "typescript": "~5.7.3"
  55. }
  56. }