@compodoc/compodoc
Version:
The missing documentation tool for your Angular application
128 lines • 5.63 kB
JSON
{
"name": "@compodoc/compodoc",
"version": "2.0.0",
"description": "The missing documentation tool for your Angular application",
"main": "dist/index.js",
"bin": {
"compodoc": "./bin/index-cli.js"
},
"scripts": {
"start": "npm run test:watch",
"copy-libs": "node tools/copy-libs.js",
"*********BUILD********": "*******************",
"prebuild": "rimraf dist/*",
"build": "tsdown && npm run build-schematics",
"build-schematics": "tsc --project schematics/tsconfig.json && cp schematics/collection.json dist",
"*********UTILS********": "*******************",
"changelog": "auto-changelog -o CH.md --template tools/changelog-template.hbs -u",
"angularexpo": "npm run pretest && node tools/tests-angularexpo.js",
"download-api-list": "node tools/download-api-list.js",
"backup-package-json": "node tools/backup-package-json.js",
"restore-package-json": "node tools/restore-package-json.js",
"madge": "./node_modules/.bin/madge --warning -i dist/madge.png src-refactored/index-cli.ts",
"*********TEMPLATE PLAYGROUND********": "*******************",
"build-template-playground": "node tools/build-template-playground.js",
"start-playground": "npm run build && npm run build-template-playground && node -e \"const { TemplatePlaygroundServer } = require('./dist/template-playground-server.js'); const server = new TemplatePlaygroundServer(); server.start().then(() => console.log('✅ Template Playground started at http://localhost:3001')).catch(e => console.error('❌ Error:', e.message));\"",
"playground": "npm run start-playground",
"dev:playground": "node scripts/start-playground.js",
"playground:simple": "node scripts/start-playground-simple.js",
"*********TEST********": "*******************",
"pretest": "npm run build && tsc -p tsconfig.test.json && node test/dist/test/src/cli-clean-root-folder.js && git checkout README.md CHANGELOG.md CONTRIBUTING.md",
"test": "cross-env NODE_ENV=test TS_NODE_PROJECT=tsconfig.test.json TS_NODE_DISABLE_WARNINGS=1 c8 --reporter=lcov --report-dir=coverage mocha --config test/.mocharc.json && node test/dist/test/src/cli-revert-root-folder.js",
"posttest": "rimraf test/dist",
"test:watch": "tsdown --watch",
"*********TEST E2E********": "*******************",
"test:simple-doc": "ts-node ./bin/index-cli.js -p ./test/fixtures/sample-files/tsconfig.simple.json -d doc -s --port 4000",
"test-e2e-playwright": "npx playwright test",
"premerge-lcov": "mv coverage-refactoring/lcov.info coverage/lcov-refactoring.info",
"merge-lcov": "node tools/merge-lcov.js",
"*********PUBLISH********": "*******************",
"prepublishOnly": "npm run build && npm run backup-package-json && npm run copy-libs",
"postpublish": "npm run restore-package-json",
"*********QUALITY********": "*******************",
"lint": "biome lint src/",
"format:check": "biome format src/",
"format:write": "biome format --write src/",
"*********REFACTORING********": "*******************",
"test-refactoring": "cross-env c8 --reporter=lcov --report-dir=coverage-refactoring mocha --config src-refactored/.mocharc.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/compodoc/compodoc.git"
},
"keywords": [
"angular2",
"angular",
"documentation",
"components",
"module",
"graph",
"dependencies",
"markdown"
],
"author": "Vindent Ogloblinsky (vincent.ogloblinsky@gmail.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/compodoc/compodoc/issues"
},
"engines": {
"node": "^20.19.0 || ^22.12.0 || >=24.0.0"
},
"homepage": "https://github.com/compodoc/compodoc#readme",
"dependencies": {
"@angular-devkit/schematics": "22.0.4",
"@compodoc/ngd-transformer": "^2.1.3",
"body-parser": "^2.3.0",
"bootstrap.native": "^5.1.10",
"cheerio": "1.2.0",
"chokidar": "^5.0.0",
"commander": "^15.0.0",
"cosmiconfig": "^9.0.2",
"es6-shim": "^0.35.8",
"fs-extra": "^11.3.5",
"handlebars": "^4.7.9",
"html-entities": "^2.6.0",
"i18next": "26.3.3",
"json5": "^2.2.3",
"loglevel": "^1.9.2",
"loglevel-plugin-prefix": "^0.8.4",
"lunr": "^2.3.9",
"marked": "18.0.5",
"neotraverse": "^1.0.1",
"picocolors": "^1.1.1",
"polka": "^0.5.2",
"prismjs": "^1.30.0",
"semver": "^7.8.5",
"sirv": "^3.0.2",
"svg-pan-zoom": "^3.6.2",
"tablesort": "^5.7.1",
"tinyglobby": "^0.2.17",
"ts-morph": "^28.0.0",
"uuid": "14.0.1",
"vis-network": "^10.1.0"
},
"overrides": {
"mocha": {
"diff": "8.0.4",
"serialize-javascript": "7.0.5"
}
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/compodoc",
"logo": "https://opencollective.com/compodoc/logo.txt"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --pattern \"**/*.ts\""
}
},
"schematics": "./dist/collection.json",
"ng-add": {
"save": "devDependencies"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/compodoc"
}
}