135 lines
6.2 KiB
JSON
135 lines
6.2 KiB
JSON
{
|
|
"name": "@compodoc/compodoc",
|
|
"version": "1.2.1",
|
|
"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",
|
|
"postinstall": "opencollective-postinstall || exit 0",
|
|
"*********BUILD********": "*******************",
|
|
"prebuild": "rimraf dist/*",
|
|
"build": "rollup -c rollup/rollup.config.mjs --bundleConfigAsCjs && 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",
|
|
"codecov": "codecov -f coverage/lcov_merged.info",
|
|
"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 TS_NODE_PROJECT=tsconfig.test.json TS_NODE_DISABLE_WARNINGS=1 nyc --reporter=lcov mocha --config test/.mocharc.json && node test/dist/test/src/cli-revert-root-folder.js",
|
|
"posttest": "rimraf test/dist",
|
|
"test:watch": "npm-watch build",
|
|
"*********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_modules/.bin/lcov-result-merger 'coverage/lcov-*.info' 'coverage/lcov_merged.info'",
|
|
"*********PUBLISH********": "*******************",
|
|
"prepublishOnly": "npm run build && npm run backup-package-json && npm run copy-libs",
|
|
"postpublish": "npm run restore-package-json",
|
|
"*********QUALITY********": "*******************",
|
|
"lint": "eslint src/**/*.ts",
|
|
"format:check": "prettier --config ./.prettierrc --list-different \"src/**/*.ts\"",
|
|
"format:write": "prettier --config ./.prettierrc --write \"src/**/*.ts\"",
|
|
"*********REFACTORING********": "*******************",
|
|
"test-refactoring": "cross-env nyc --nycrc-path=.nycrc-refactoring --reporter=lcov --report-dir=coverage-refactoring mocha --config src-refactored/.mocharc.json",
|
|
"build-refactoring": "rollup -c rollup/rollup.config-refactored.mjs --bundleConfigAsCjs",
|
|
"lint-refactoring": "eslint src-refactored/**/*.ts"
|
|
},
|
|
"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": "21.1.0",
|
|
"@babel/core": "7.28.6",
|
|
"@babel/plugin-transform-private-methods": "7.28.6",
|
|
"@babel/preset-env": "7.28.6",
|
|
"@compodoc/live-server": "^1.2.3",
|
|
"@compodoc/ngd-transformer": "^2.1.3",
|
|
"@polka/send-type": "^0.5.2",
|
|
"body-parser": "^2.2.2",
|
|
"bootstrap.native": "^5.1.6",
|
|
"cheerio": "1.1.2",
|
|
"chokidar": "^5.0.0",
|
|
"colors": "1.4.0",
|
|
"commander": "^14.0.2",
|
|
"cosmiconfig": "^9.0.0",
|
|
"decache": "^4.6.2",
|
|
"es6-shim": "^0.35.8",
|
|
"fancy-log": "^2.0.0",
|
|
"fast-glob": "^3.3.3",
|
|
"fs-extra": "^11.3.3",
|
|
"glob": "^13.0.0",
|
|
"handlebars": "^4.7.8",
|
|
"html-entities": "^2.6.0",
|
|
"i18next": "25.7.4",
|
|
"json5": "^2.2.3",
|
|
"lodash": "^4.17.21",
|
|
"loglevel": "^1.9.2",
|
|
"loglevel-plugin-prefix": "^0.8.4",
|
|
"lunr": "^2.3.9",
|
|
"marked": "7.0.3",
|
|
"minimist": "^1.2.8",
|
|
"neotraverse": "^0.6.18",
|
|
"opencollective-postinstall": "^2.0.3",
|
|
"os-name": "4.0.1",
|
|
"picocolors": "^1.1.1",
|
|
"polka": "^0.5.2",
|
|
"prismjs": "^1.30.0",
|
|
"semver": "^7.7.3",
|
|
"sirv": "^3.0.2",
|
|
"svg-pan-zoom": "^3.6.2",
|
|
"tablesort": "^5.7.0",
|
|
"ts-morph": "^27.0.2",
|
|
"uuid": "11.1.0",
|
|
"vis-network": "^10.0.2"
|
|
},
|
|
"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"
|
|
}
|
|
} |