| { |
| "name": "comment-parser", |
| "version": "1.3.1", |
| "description": "Generic JSDoc-like comment parser", |
| "type": "module", |
| "main": "lib/index.cjs", |
| "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": { |
| "@types/jest": "^26.0.23", |
| "convert-extension": "^0.3.0", |
| "jest": "^27.0.5", |
| "prettier": "2.3.1", |
| "replace": "^1.2.1", |
| "rimraf": "^3.0.2", |
| "rollup": "^2.52.2", |
| "ts-jest": "^27.0.3", |
| "typescript": "^4.3.4" |
| }, |
| "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/ && cd es6 && replace \"from '(\\.[^']*)'\" \"from '\\$1.js'\" * -r --include=\"*.js\"", |
| "format": "prettier --write src tests", |
| "pretest": "rimraf coverage; npm run build", |
| "test": "prettier --check src tests && jest --verbose", |
| "preversion": "npm run build" |
| }, |
| "repository": { |
| "type": "git", |
| "url": "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" |
| } |