-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 6.45 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
{
"name": "docgeni",
"version": "2.4.0",
"scripts": {
"ng": "ng",
"lerna": "lerna",
"docgeni": "cross-env DOCGENI_ENV=development NODE_ENV=development ts-node --project ./packages/cli/tsconfig.json ./packages/cli/bin/docgeni",
"start": "yarn run start:docs",
"start:docs": "yarn docgeni serve",
"build:a-lib": "ng build a-lib --configuration production",
"build": "yarn build:deps && yarn build:cli && yarn build:template && yarn update-package-json",
"build:template": "ng build template && yarn build-styles",
"build:preset": "ng build preset",
"build:toolkit": "yarn workspace @docgeni/toolkit run build",
"build:ngdoc": "yarn workspace @docgeni/ngdoc run build",
"build:core": "yarn workspace @docgeni/core run build && cpx \"./packages/core/src/**/*.json\" ./packages/core/lib",
"build:deps": "yarn build:toolkit && yarn build:ngdoc && yarn build:core",
"build:cli": "yarn workspace @docgeni/cli run build",
"sync-ng-cli-schema": "ts-node --project ./scripts/tsconfig.json ./scripts/transform-angular-builder-schema.ts",
"// test:mocha": "cross-env TS_NODE_PROJECT='./packages/cli/tsconfig.json' DOCGENI_ENV=test mocha --timeout 999999 packages/**/test/**/*.spec.ts --require ts-node/register/transpile-only",
"test-template": "ng test template",
"test": "cross-env TS_NODE_PROJECT='./packages/cli/tsconfig.json' DOCGENI_ENV=test node --require ts-node/register/transpile-only ./test/bootstrap.ts",
"test-coverage": "rimraf ./coverage && rimraf ./nyc_output && nyc yarn test",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"lint": "yarn lint:lib",
"lint:lib": "eslint",
"lint:ng": "ng lint",
"e2e": "ng e2e",
"build-docs": "cross-env DOCGENI_ENV=development ts-node --project ./packages/cli/tsconfig.json ./packages/cli/bin/docgeni build",
"build-docs:dev": "yarn build:deps && cross-env DOCGENI_ENV=development ts-node --project ./packages/cli/tsconfig.json ./packages/cli/bin/docgeni build --configuration development",
"build-gh-pages": "cross-env DOCGENI_ENV=development ts-node --project ./packages/cli/tsconfig.json ./packages/cli/bin/docgeni build --configuration production --base-href=/docgeni/",
"tsc": "tsc -p ./packages/docgeni",
"preinstall": "node scripts/check-yarn.js",
"sync-interfaces": "ts-node --project ./scripts/tsconfig.json ./scripts/sync-interfaces.ts",
"sync-template-version": "ts-node --project ./scripts/tsconfig.json ./scripts/sync-template-version.ts",
"update-package-json": "ts-node --project ./scripts/tsconfig.json ./scripts/update-package-json.ts",
"release": "yarn build && yarn release-only",
"release-only": "wpm release",
"pub": "wpm publish && yarn pub-only",
"pub-only": "lerna publish from-git && yarn pub-template",
"pub-next": "wpm publish && yarn pub-only-next",
"pub-only-next": "lerna publish from-package --dist-tag next && yarn pub-template-next",
"pub-docs": "yarn build-docs && cpx ./package.json ./dist/docgeni-site && yarn pub-docs-git",
"pub-docs-git": "wpm git-publish --source ./dist/docgeni-site --name docgeni-site --organization docgeni",
"pub-template": "cd dist/template && npm publish --access=public",
"pub-template-next": "cd dist/template && npm publish --access=public --tag=next",
"build-styles": "cpx \"./packages/template/src/**/*.scss\" ./dist/template && sass ./packages/template/src/styles/index.scss >> dist/template/styles/index.css",
"pretty": "pretty-quick --staged",
"install-examples": "cd examples/full && npm i && cd ../lite && npm i && cd ../../",
"prepare": "husky"
},
"private": true,
"packageManager": "[email protected]",
"engines": {
"node": ">=18.19.1",
"yarn": ">=1.22.0",
"npm": "Please use yarn instead of npm to install dependencies"
},
"workspaces": [
"./packages/cli",
"./packages/core",
"./packages/toolkit",
"./packages/template",
"./packages/ngdoc",
"./packages/create-docgeni"
],
"dependencies": {
"@angular/animations": "^18.2.0",
"@angular/common": "^18.2.0",
"@angular/compiler": "^18.2.0",
"@angular/core": "^18.2.0",
"@angular/forms": "^18.2.0",
"@angular/platform-browser": "^18.2.0",
"@angular/platform-browser-dynamic": "^18.2.0",
"@angular/router": "^18.2.0",
"chokidar": "^3.6.0",
"cosmiconfig": "^9.0.0",
"docsearch.js": "2.6.3",
"fancy-log": "^2.0.0",
"marked": "^4.0.12",
"rxjs": "^7.8.1",
"tslib": "^2.6.3",
"zone.js": "~0.14.10"
},
"devDependencies": {
"@angular-devkit/build-angular": "^18.2.0",
"@angular/cli": "^18.2.0",
"@angular/compiler-cli": "^18.2.0",
"@angular/language-service": "^18.2.0",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-angular": "^19.3.0",
"@eslint/compat": "^1.1.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@ngneat/spectator": "^19.0.0",
"@types/chai": "^4.2.11",
"@types/jasmine": "~5.1.4",
"@types/jasminewd2": "~2.0.13",
"@types/marked": "^4.0.2",
"@types/node": "^22.4.0",
"@types/watchpack": "^2.4.4",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "8.1.0",
"@typescript-eslint/experimental-utils": "5.62.0",
"@typescript-eslint/parser": "8.1.0",
"@worktile/pkg-manager": "^0.1.1",
"chai": "^4.2.0",
"coveralls": "^3.1.1",
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"eslint": "9.9.0",
"eslint-formatter-autolinkable-stylish": "1.4.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-no-null": "^1.0.2",
"husky": "^9.1.4",
"jasmine": "~5.2.0",
"jasmine-core": "~5.2.0",
"jasmine-spec-reporter": "^7.0.0",
"karma": "~6.4.4",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.1",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"lerna": "^8.1.8",
"mocha": "^10.7.3",
"ncp": "^2.0.0",
"ng-packagr": "^18.2.0",
"nyc": "^17.0.0",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"rimraf": "^6.0.1",
"temp": "^0.9.4",
"ts-node": "10.9.2",
"typemoq": "^2.1.0",
"typescript": "5.5.4"
},
"keywords": [
"angular",
"docgeni",
"docgen",
"documentation",
"docs",
"markdown",
"components",
"library",
"docs generator",
"docs generate",
"docs generator",
"documentation generator",
"static site generator"
],
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "pretty-quick --staged"
}
}
}