package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "comment-parser",
  3. "version": "1.4.1",
  4. "description": "Generic JSDoc-like comment parser",
  5. "type": "module",
  6. "main": "lib/index.cjs",
  7. "exports": {
  8. ".": {
  9. "import": "./es6/index.js",
  10. "require": "./lib/index.cjs"
  11. },
  12. "./primitives": {
  13. "import": "./es6/primitives.js",
  14. "require": "./lib/primitives.cjs"
  15. },
  16. "./util": {
  17. "import": "./es6/util.js",
  18. "require": "./lib/util.cjs"
  19. },
  20. "./parser/*": {
  21. "import": "./es6/parser/*.js",
  22. "require": "./lib/parser/*.cjs"
  23. },
  24. "./stringifier/*": {
  25. "import": "./es6/stringifier/*.js",
  26. "require": "./lib/stringifier/*.cjs"
  27. },
  28. "./transforms/*": {
  29. "import": "./es6/transforms/*.js",
  30. "require": "./lib/transforms/*.cjs"
  31. }
  32. },
  33. "types": "lib/index.d.ts",
  34. "directories": {
  35. "test": "tests"
  36. },
  37. "devDependencies": {
  38. "@types/jest": "^26.0.23",
  39. "convert-extension": "^0.3.0",
  40. "jest": "^27.0.5",
  41. "prettier": "2.3.1",
  42. "rimraf": "^3.0.2",
  43. "rollup": "^2.52.2",
  44. "ts-jest": "^27.0.3",
  45. "typescript": "^4.9.5"
  46. },
  47. "engines": {
  48. "node": ">= 12.0.0"
  49. },
  50. "scripts": {
  51. "build": "rimraf lib es6 browser; tsc -p tsconfig.json && tsc -p tsconfig.node.json && rollup -o browser/index.js -f iife --context window -n CommentParser es6/index.js && convert-extension cjs lib/",
  52. "format": "prettier --write src tests",
  53. "pretest": "rimraf coverage; npm run build",
  54. "test": "prettier --check src tests && jest --verbose",
  55. "preversion": "npm run build"
  56. },
  57. "repository": {
  58. "type": "git",
  59. "url": "git@github.com:yavorskiy/comment-parser.git"
  60. },
  61. "keywords": [
  62. "jsdoc",
  63. "comments",
  64. "parser"
  65. ],
  66. "author": "Sergiy Yavorsky <sergiy@yavorsky.me> (https://github.com/syavorsky)",
  67. "contributors": [
  68. "Alex Grozav (https://github.com/alexgrozav)",
  69. "Alexej Yaroshevich (https://github.com/zxqfox)",
  70. "Andre Wachsmuth (https://github.com/blutorange)",
  71. "Brett Zamir (https://github.com/brettz9)",
  72. "Dieter Oberkofler (https://github.com/doberkofler)",
  73. "Evgeny Reznichenko (https://github.com/zxcabs)",
  74. "Javier \"Ciberma\" Mora (https://github.com/jhm-ciberman)",
  75. "Jayden Seric (https://github.com/jaydenseric)",
  76. "Jordan Harband (https://github.com/ljharb)",
  77. "tengattack (https://github.com/tengattack)"
  78. ],
  79. "license": "MIT",
  80. "bugs": {
  81. "url": "https://github.com/syavorsky/comment-parser/issues"
  82. },
  83. "homepage": "https://github.com/syavorsky/comment-parser"
  84. }