package.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "@compodoc/compodoc",
  3. "version": "1.1.26",
  4. "description": "The missing documentation tool for your Angular application",
  5. "main": "dist/index.js",
  6. "bin": {
  7. "compodoc": "./bin/index-cli.js"
  8. },
  9. "scripts": {
  10. "start": "npm run test:watch",
  11. "copy-libs": "node tools/copy-libs.js",
  12. "postinstall": "opencollective-postinstall || exit 0",
  13. "*********BUILD********": "*******************",
  14. "prebuild": "rimraf dist/*",
  15. "build": "rollup -c rollup/rollup.config.mjs --bundleConfigAsCjs && npm run build-schematics",
  16. "build-schematics": "tsc --project schematics/tsconfig.json && cp schematics/collection.json dist",
  17. "*********UTILS********": "*******************",
  18. "changelog": "auto-changelog -o CH.md --template tools/changelog-template.hbs -u",
  19. "angularexpo": "npm run pretest && node tools/tests-angularexpo.js",
  20. "download-api-list": "node tools/download-api-list.js",
  21. "codecov": "codecov -f coverage/lcov_merged.info",
  22. "backup-package-json": "node tools/backup-package-json.js",
  23. "restore-package-json": "node tools/restore-package-json.js",
  24. "madge": "./node_modules/.bin/madge --warning -i dist/madge.png src-refactored/index-cli.ts",
  25. "*********TEST********": "*******************",
  26. "pretest": "tsc -p tsconfig.test.json && node test/dist/cli-clean-root-folder.js",
  27. "test": "cross-env TS_NODE_PROJECT=tsconfig.test.json TS_NODE_DISABLE_WARNINGS=1 nyc --reporter=lcov mocha --config test/.mocharc.json && node test/dist/cli-revert-root-folder.js",
  28. "posttest": "rimraf test/dist",
  29. "test:watch": "npm-watch build",
  30. "test:simple-doc": "ts-node ./bin/index-cli.js -p ./test/fixtures/sample-files/tsconfig.simple.json -d doc -s --port 4000 & sleep 20",
  31. "presaucelabs-test-e2e-mocha": "npm run test:simple-doc",
  32. "saucelabs-test-e2e-mocha": "./node_modules/.bin/wdio wdio-saucelabs.conf.js",
  33. "local-test-e2e-mocha": "./node_modules/.bin/wdio wdio.conf.js",
  34. "premerge-lcov": "mv coverage-refactoring/lcov.info coverage/lcov-refactoring.info",
  35. "merge-lcov": "./node_modules/.bin/lcov-result-merger 'coverage/lcov-*.info' 'coverage/lcov_merged.info'",
  36. "*********PUBLISH********": "*******************",
  37. "prepublishOnly": "npm run build && npm run backup-package-json && npm run copy-libs",
  38. "postpublish": "npm run restore-package-json",
  39. "*********QUALITY********": "*******************",
  40. "lint": "eslint src/**/*.ts",
  41. "format:check": "prettier --config ./.prettierrc --list-different \"src/**/*.ts\"",
  42. "format:write": "prettier --config ./.prettierrc --write \"src/**/*.ts\"",
  43. "*********REFACTORING********": "*******************",
  44. "test-refactoring": "cross-env nyc --nycrc-path=.nycrc-refactoring --reporter=lcov --report-dir=coverage-refactoring mocha --config src-refactored/.mocharc.json",
  45. "build-refactoring": "rollup -c rollup/rollup.config-refactored.mjs --bundleConfigAsCjs",
  46. "lint-refactoring": "eslint src-refactored/**/*.ts"
  47. },
  48. "repository": {
  49. "type": "git",
  50. "url": "git+https://github.com/compodoc/compodoc.git"
  51. },
  52. "keywords": [
  53. "angular2",
  54. "angular",
  55. "documentation",
  56. "components",
  57. "module",
  58. "graph",
  59. "dependencies",
  60. "markdown"
  61. ],
  62. "author": "Vindent Ogloblinsky (vincent.ogloblinsky@gmail.com)",
  63. "license": "MIT",
  64. "bugs": {
  65. "url": "https://github.com/compodoc/compodoc/issues"
  66. },
  67. "engines": {
  68. "node": ">= 16.0.0"
  69. },
  70. "homepage": "https://github.com/compodoc/compodoc#readme",
  71. "dependencies": {
  72. "@angular-devkit/schematics": "18.2.8",
  73. "@babel/core": "7.25.8",
  74. "@babel/plugin-transform-private-methods": "7.25.7",
  75. "@babel/preset-env": "7.25.8",
  76. "@compodoc/live-server": "^1.2.3",
  77. "@compodoc/ngd-transformer": "^2.1.3",
  78. "bootstrap.native": "^5.0.13",
  79. "cheerio": "1.0.0-rc.12",
  80. "chokidar": "^4.0.1",
  81. "colors": "1.4.0",
  82. "commander": "^12.1.0",
  83. "cosmiconfig": "^9.0.0",
  84. "decache": "^4.6.2",
  85. "es6-shim": "^0.35.8",
  86. "fancy-log": "^2.0.0",
  87. "fast-glob": "^3.3.2",
  88. "fs-extra": "^11.2.0",
  89. "glob": "^11.0.0",
  90. "handlebars": "^4.7.8",
  91. "html-entities": "^2.5.2",
  92. "i18next": "^23.16.0",
  93. "json5": "^2.2.3",
  94. "lodash": "^4.17.21",
  95. "loglevel": "^1.9.2",
  96. "loglevel-plugin-prefix": "^0.8.4",
  97. "lunr": "^2.3.9",
  98. "marked": "7.0.3",
  99. "minimist": "^1.2.8",
  100. "neotraverse": "^0.6.18",
  101. "opencollective-postinstall": "^2.0.3",
  102. "os-name": "4.0.1",
  103. "picocolors": "^1.1.0",
  104. "prismjs": "^1.29.0",
  105. "semver": "^7.6.3",
  106. "svg-pan-zoom": "^3.6.1",
  107. "tablesort": "^5.3.0",
  108. "ts-morph": "^24.0.0",
  109. "uuid": "^10.0.0",
  110. "vis": "^4.21.0-EOL"
  111. },
  112. "collective": {
  113. "type": "opencollective",
  114. "url": "https://opencollective.com/compodoc",
  115. "logo": "https://opencollective.com/compodoc/logo.txt"
  116. },
  117. "husky": {
  118. "hooks": {
  119. "pre-commit": "pretty-quick --staged --pattern \"**/*.ts\""
  120. }
  121. },
  122. "schematics": "./dist/collection.json",
  123. "ng-add": {
  124. "save": "devDependencies"
  125. }
  126. }