package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "name": "dedent",
  3. "version": "1.5.3",
  4. "description": "A string tag that strips indentation from multi-line strings. ⬅️",
  5. "keywords": [
  6. "dedent",
  7. "tag",
  8. "multi-line string",
  9. "es6"
  10. ],
  11. "homepage": "https://github.com/dmnd/dedent",
  12. "bugs": {
  13. "url": "https://github.com/dmnd/dedent/issues"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "https://github.com/dmnd/dedent"
  18. },
  19. "license": "MIT",
  20. "author": {
  21. "name": "Desmond Brand",
  22. "email": "dmnd@desmondbrand.com",
  23. "url": "http://desmondbrand.com"
  24. },
  25. "type": "commonjs",
  26. "exports": {
  27. ".": {
  28. "types": {
  29. "import": "./dist/dedent.d.mts",
  30. "require": "./dist/dedent.d.ts"
  31. },
  32. "import": "./dist/dedent.mjs",
  33. "require": "./dist/dedent.js"
  34. }
  35. },
  36. "main": "./dist/dedent.js",
  37. "module": "./dist/dedent.mjs",
  38. "types": "./dist/dedent.d.mts",
  39. "files": [
  40. "dist/",
  41. "macro.js",
  42. "package.json",
  43. "LICENSE.md",
  44. "README.md"
  45. ],
  46. "scripts": {
  47. "build": "pnpm build:legacy && pnpm build:modern && pnpm build:types",
  48. "build:legacy": "BABEL_ENV=legacy babel src/dedent.ts --out-file dist/dedent.js",
  49. "build:modern": "BABEL_ENV=modern babel src/dedent.ts --out-file dist/dedent.mjs",
  50. "build:types": "tsup src/dedent.ts --dts-only",
  51. "format": "prettier \"**/*\" --ignore-unknown",
  52. "lint": "eslint . .*js --max-warnings 0 --report-unused-disable-directives",
  53. "lint:knip": "knip",
  54. "lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\"",
  55. "lint:package-json": "npmPkgJsonLint .",
  56. "lint:packages": "pnpm dedupe --check",
  57. "lint:spelling": "cspell \"**\" \".github/**/*\"",
  58. "prepare": "husky install",
  59. "should-semantic-release": "should-semantic-release --verbose",
  60. "test": "jest",
  61. "tsc": "tsc"
  62. },
  63. "lint-staged": {
  64. "*": "prettier --ignore-unknown --write"
  65. },
  66. "devDependencies": {
  67. "@babel/cli": "^7.21.5",
  68. "@babel/preset-env": "^7.23.3",
  69. "@babel/preset-typescript": "^7.23.3",
  70. "@release-it/conventional-changelog": "^8.0.1",
  71. "@types/babel-plugin-macros": "^3.1.0",
  72. "@types/eslint": "^8.44.7",
  73. "@types/jest": "^29.5.3",
  74. "@typescript-eslint/eslint-plugin": "^6.10.0",
  75. "@typescript-eslint/parser": "^6.10.0",
  76. "babel-plugin-add-module-exports": "^1.0.4",
  77. "babel-plugin-tester": "^11.0.4",
  78. "console-fail-test": "^0.2.3",
  79. "cspell": "^8.0.0",
  80. "eslint": "^8.53.0",
  81. "eslint-plugin-deprecation": "^2.0.0",
  82. "eslint-plugin-eslint-comments": "^3.2.0",
  83. "eslint-plugin-jest": "^27.6.0",
  84. "eslint-plugin-jsdoc": "^46.9.0",
  85. "eslint-plugin-jsonc": "^2.10.0",
  86. "eslint-plugin-markdown": "^3.0.1",
  87. "eslint-plugin-n": "^16.3.1",
  88. "eslint-plugin-no-only-tests": "^3.1.0",
  89. "eslint-plugin-perfectionist": "^2.3.0",
  90. "eslint-plugin-regexp": "^2.1.1",
  91. "eslint-plugin-yml": "^1.10.0",
  92. "husky": "^8.0.3",
  93. "jest": "^29.7.0",
  94. "jsonc-eslint-parser": "^2.4.0",
  95. "knip": "^2.41.0",
  96. "lint-staged": "^15.1.0",
  97. "markdownlint": "^0.31.1",
  98. "markdownlint-cli": "^0.37.0",
  99. "npm-package-json-lint": "^7.1.0",
  100. "npm-package-json-lint-config-default": "^6.0.0",
  101. "prettier": "^3.0.3",
  102. "prettier-plugin-curly": "^0.1.3",
  103. "prettier-plugin-packagejson": "^2.4.6",
  104. "release-it": "^17.0.0",
  105. "should-semantic-release": "^0.2.1",
  106. "tsup": "^7.2.0",
  107. "typescript": "^5.2.2",
  108. "yaml-eslint-parser": "^1.2.2"
  109. },
  110. "peerDependencies": {
  111. "babel-plugin-macros": "^3.1.0"
  112. },
  113. "peerDependenciesMeta": {
  114. "babel-plugin-macros": {
  115. "optional": true
  116. }
  117. },
  118. "packageManager": "pnpm@8.7.0"
  119. }