UNPKG

2.62 kBJSONView Raw
1{
2 "name": "comment-parser",
3 "version": "1.2.4",
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 "replace": "^1.2.1",
43 "rimraf": "^3.0.2",
44 "rollup": "^2.52.2",
45 "ts-jest": "^27.0.3",
46 "typescript": "^4.3.4"
47 },
48 "engines": {
49 "node": ">= 12.0.0"
50 },
51 "scripts": {
52 "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\"",
53 "format": "prettier --write src tests",
54 "pretest": "rimraf coverage; npm run build",
55 "test": "prettier --check src tests && jest --verbose",
56 "preversion": "npm run build"
57 },
58 "repository": {
59 "type": "git",
60 "url": "git@github.com:yavorskiy/comment-parser.git"
61 },
62 "keywords": [
63 "jsdoc",
64 "comments",
65 "parser"
66 ],
67 "author": "Sergiy Yavorsky <sergiy@yavorsky.me> (https://github.com/syavorsky)",
68 "contributors": [
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 "Jordan Harband (https://github.com/ljharb)",
76 "tengattack (https://github.com/tengattack)",
77 "Jayden Seric (https://github.com/jaydenseric)"
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 "dependencies": {}
85}