-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.08 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "commentjs",
"description": "Simple API Documentation Generator",
"version": "1.0.0",
"type": "module",
"author": "Denis Ciccale",
"homepage": "http://github.com/dciccale/comment.js",
"repository": {
"type": "git",
"url": "https://github.com/dciccale/comment.js.git"
},
"bugs": {
"url": "http://github.com/dciccale/comment.js/issues"
},
"license": "MIT",
"main": "./dist/src/comment.js",
"types": "./dist/src/comment.d.ts",
"exports": {
".": {
"types": "./dist/src/comment.d.ts",
"default": "./dist/src/comment.js"
}
},
"bin": {
"commentjs": "./dist/src/cli.js"
},
"files": [
"dist",
"themes",
"LICENSE.txt",
"README.md"
],
"scripts": {
"clean": "rimraf dist",
"build": "bun run clean && bun run build:css && bun run build:browser && tsc",
"build:browser": "bun build src/browser/toc-filter.ts --outfile themes/default/js/toc-filter.js --target browser && bun build src/browser/source-lines.ts --outfile themes/default/js/src.js --target browser",
"build:css": "stylus assets/styl/docs.styl --out themes/default/css --include-css",
"check": "tsc --noEmit && tsc -p tsconfig.test.json",
"coverage": "bun test --coverage",
"docs:example": "bun run build && node dist/src/cli.js -m -o docs/example-simple examples/example_simple/kimbo.ts",
"serve:docs": "bun scripts/serve-docs.ts docs/example-simple",
"test": "bun test",
"prepack": "bun run build",
"prepublishOnly": "bun run build && bun test"
},
"dependencies": {
"chalk": "^5.6.2",
"glob": "^13.0.6",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"rimraf": "^6.1.3"
},
"devDependencies": {
"@types/bun": "^1.3.14",
"@types/glob": "^9.0.0",
"@types/node": "^25.9.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"stylus": "^0.64.0",
"typescript": "^6.0.3"
},
"keywords": [
"documentation",
"javascript",
"comment",
"api"
],
"engines": {
"node": ">=26",
"bun": ">=1.3.9"
},
"packageManager": "bun@1.3.9",
"preferGlobal": true
}