forked from gabriel-vivas-sonarsource/compodoc-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
179 lines (179 loc) · 6.87 KB
/
package.json
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "@compodoc/compodoc",
"version": "1.1.19",
"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",
"postinstall": "opencollective-postinstall || exit 0",
"*********BUILD********": "*******************",
"prebuild": "rimraf dist/*",
"build": "rollup -c rollup/rollup.config.js && 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",
"*********TEST********": "*******************",
"pretest": "tsc -p test/tsconfig.json && node test/dist/cli-clean-root-folder.js",
"test": "cross-env TS_NODE_PROJECT=test/tsconfig.json TS_NODE_DISABLE_WARNINGS=1 nyc --reporter=lcov mocha --config test/.mocharc.json && node test/dist/cli-revert-root-folder.js",
"posttest": "rimraf test/dist",
"test:watch": "npm-watch",
"test:simple-doc": "ts-node ./bin/index-cli.js -p ./test/fixtures/sample-files/tsconfig.simple.json -d doc -s --port 4000 & sleep 20",
"presaucelabs-test-e2e-mocha": "npm run test:simple-doc",
"saucelabs-test-e2e-mocha": "./node_modules/.bin/wdio wdio-saucelabs.conf.js",
"local-test-e2e-mocha": "./node_modules/.bin/wdio wdio.conf.js",
"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",
"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.js",
"lint-refactoring": "eslint src-refactored/**/*.ts"
},
"watch": {
"build": {
"patterns": [
"src/**/*.ts"
],
"extensions": "js,ts",
"quiet": true
},
"build-refactoring": {
"patterns": [
"src-refactored/**/*.ts"
],
"extensions": "js,ts",
"quiet": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/compodoc/compodoc.git"
},
"keywords": [
"angular2",
"angular",
"documentation",
"components",
"module",
"graph",
"dependencies",
"markdown"
],
"author": "Vindent Ogloblinsky ([email protected])",
"license": "MIT",
"bugs": {
"url": "https://github.com/compodoc/compodoc/issues"
},
"engines": {
"node": ">= 12.0.0"
},
"homepage": "https://github.com/compodoc/compodoc#readme",
"dependencies": {
"@angular-devkit/schematics": "^14.0.0",
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.16.11",
"@compodoc/live-server": "^1.2.3",
"@compodoc/ngd-transformer": "^2.1.0",
"chalk": "4.1.2",
"cheerio": "^1.0.0-rc.10",
"chokidar": "^3.5.3",
"colors": "1.4.0",
"commander": "^9.1.0",
"cosmiconfig": "^7.0.1",
"decache": "^4.6.1",
"fancy-log": "^2.0.0",
"findit2": "^2.2.3",
"fs-extra": "^10.0.1",
"glob": "^8.0.0",
"handlebars": "^4.7.7",
"html-entities": "^2.3.2",
"i18next": "^21.6.14",
"inside": "^1.0.0",
"json5": "^2.2.1",
"lodash": "^4.17.21",
"loglevel": "^1.8.0",
"loglevel-plugin-prefix": "^0.8.4",
"lunr": "^2.3.9",
"marked": "^4.0.12",
"minimist": "^1.2.6",
"opencollective-postinstall": "^2.0.3",
"os-name": "4.0.1",
"pdfjs-dist": "2.12.313",
"pdfmake": "^0.2.4",
"semver": "^7.3.5",
"traverse": "^0.6.6",
"ts-morph": "^15.0.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@rollup/plugin-typescript": "8.3.2",
"@types/chai": "4.3.1",
"@types/fs-extra": "9.0.13",
"@types/lodash": "4.14.182",
"@types/marked": "4.0.3",
"@types/mocha": "9.1.1",
"@types/node": "17.0.22",
"@types/semver": "7.3.9",
"@types/traverse": "0.6.32",
"@typescript-eslint/eslint-plugin": "5.27.1",
"@typescript-eslint/parser": "5.27.1",
"@wdio/cli": "7.20.1",
"@wdio/local-runner": "7.20.1",
"@wdio/mocha-framework": "7.20.0",
"@wdio/sauce-service": "7.20.1",
"@wdio/spec-reporter": "7.20.0",
"@wdio/sync": "7.20.1",
"auto-changelog": "2.4.0",
"chai": "4.3.6",
"chromedriver": "102.0.0",
"codecov": "3.8.3",
"cross-env": "7.0.3",
"eslint": "8.17.0",
"husky": "8.0.1",
"lcov-result-merger": "3.2.0",
"madge": "5.0.1",
"mocha": "10.0.0",
"nodemon": "2.0.16",
"npm-watch": "0.11.0",
"nyc": "15.1.0",
"prettier": "2.6.2",
"pretty-quick": "3.1.3",
"rimraf": "3.0.2",
"rollup": "2.75.5",
"rollup-plugin-typescript2": "0.32.1",
"sinon": "14.0.0",
"sonar-scanner": "3.1.0",
"source-map-support": "0.5.21",
"supertest": "6.2.3",
"ts-node": "10.8.1",
"tslib": "2.4.0",
"wdio-chromedriver-service": "7.3.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"
}