UNPKG

comment-parser

Version:
94 lines 3.07 kB
{ "name": "comment-parser", "version": "1.4.4", "description": "Generic JSDoc-like comment parser", "type": "module", "main": "lib/index.cjs", "publishConfig": { "access": "public" }, "exports": { ".": { "import": "./es6/index.js", "require": "./lib/index.cjs" }, "./primitives": { "import": "./es6/primitives.js", "require": "./lib/primitives.cjs" }, "./util": { "import": "./es6/util.js", "require": "./lib/util.cjs" }, "./parser/*": { "import": "./es6/parser/*.js", "require": "./lib/parser/*.cjs" }, "./stringifier/*": { "import": "./es6/stringifier/*.js", "require": "./lib/stringifier/*.cjs" }, "./transforms/*": { "import": "./es6/transforms/*.js", "require": "./lib/transforms/*.cjs" } }, "types": "lib/index.d.ts", "directories": { "test": "tests" }, "devDependencies": { "@changesets/cli": "^2.29.8", "@types/jest": "^30.0.0", "convert-extension": "^0.3.0", "jest": "^30.1.3", "prettier": "3.6.2", "rimraf": "^6.0.1", "rollup": "^4.52.0", "ts-jest": "^29.4.4", "typescript": "^5.9.2" }, "engines": { "node": ">= 12.0.0" }, "scripts": { "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/", "format": "prettier --write src tests", "pretest": "rimraf coverage; npm run build", "test": "prettier --check src tests && jest --verbose", "preversion": "npm run build", "postversion": "git add . && git commit -m \"chore: release v$(node -p \"require('./package.json').version\")\"", "prepare": "npm run build", "prepublishOnly": "npm run build", "release:add": "git pull origin master && changeset", "release:version": "git pull origin master && changeset version && npm install", "release:publish": "git pull origin master && npm run build && changeset publish && git push --follow-tags" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/yavorskiy/comment-parser.git" }, "keywords": [ "jsdoc", "comments", "parser" ], "author": "Sergiy Yavorsky <sergiy@yavorsky.me> (https://github.com/syavorsky)", "contributors": [ "Alex Grozav (https://github.com/alexgrozav)", "Alexej Yaroshevich (https://github.com/zxqfox)", "Andre Wachsmuth (https://github.com/blutorange)", "Brett Zamir (https://github.com/brettz9)", "Dieter Oberkofler (https://github.com/doberkofler)", "Evgeny Reznichenko (https://github.com/zxcabs)", "Javier \"Ciberma\" Mora (https://github.com/jhm-ciberman)", "Jayden Seric (https://github.com/jaydenseric)", "Jordan Harband (https://github.com/ljharb)", "tengattack (https://github.com/tengattack)" ], "license": "MIT", "bugs": { "url": "https://github.com/syavorsky/comment-parser/issues" }, "homepage": "https://github.com/syavorsky/comment-parser" }