-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 4.27 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
{
"name": "api-docs-gen",
"description": "API Documentation generator from `api-extractor` doc model",
"version": "0.4.0",
"author": {
"name": "kazuya kawaguchi",
"email": "kawakazu80@gmail.com"
},
"bin": {
"api-docs-gen": "./bin/run.js"
},
"bugs": {
"url": "https://github.com/kazupon/api-docs-gen/issues"
},
"changelog": {
"labels": {
"Type: Feature": ":star: Features",
"Type: Bug": ":bug: Bug Fixes",
"Type: Security": ":lock: Security Fixes",
"Type: Performance": ":chart_with_upwards_trend: Performance Fixes",
"Type: Improvement": ":zap: Improvement Features",
"Type: Breaking": ":boom: Breaking Change",
"Type: Deprecated": ":warning: Deprecated Features",
"Type: I18n": ":globe_with_meridians: Internationalization",
"Type: A11y": ":wheelchair: Accessibility",
"Type: Documentation": ":pencil: Documentation"
}
},
"dependencies": {
"@intlify/shared": "latest",
"@microsoft/api-extractor-model": "^7.12.0",
"@microsoft/tsdoc": "^0.14.0",
"@microsoft/tsdoc-config": "^0.16.0",
"chalk": "^4.1.1",
"debug": "^4.3.3",
"meow": "^9.0.0"
},
"devDependencies": {
"@kazupon/lerna-changelog": "^4.3.0",
"@microsoft/api-extractor": "^7.18.21",
"@types/debug": "^4.1.5",
"@types/jest": "^27.0.0",
"@types/node": "^16.11.0",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.0.0",
"jest-watch-typeahead": "^1.0.0",
"npm-run-all": "^4.1.5",
"opener": "^1.5.2",
"prettier": "^2.5.0",
"shipjs": "^0.26.0",
"ts-jest": "^27.0.0",
"typescript": "^4.5.2",
"vuepress": "^1.8.2"
},
"engines": {
"node": ">= 12"
},
"exports": {
".": {
"import": "./index.mjs",
"require": "./lib/index.js"
},
"./lib/*": "./lib/*",
"./package.json": "./package.json"
},
"files": [
"index.mjs",
"bin/*.js",
"dist/*.d.ts",
"lib/**/*.js"
],
"homepage": "https://github.com/kazupon/api-docs-gen#readme",
"keywords": [
"api-extractor",
"documentation",
"generator",
"tsdoc",
"typescript"
],
"license": "MIT",
"main": "lib/index.js",
"pnpm": {
"overrides": {
"typescript": "^4.5.2",
"@microsoft/api-extractor": "^7.18.21"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/kazupon/api-docs-gen.git"
},
"scripts": {
"build": "pnpm build:transpile && pnpm build:extract",
"build:docs": "node ./bin/run.js ./temp/api-docs-gen.api.json -c ./docsgen.config.js -o ./",
"build:extract": "api-extractor run -l -c ./api-extractor.json",
"build:transpile": "tsc -p .",
"clean": "npm-run-all clean:*",
"clean:cache:jest": "jest --clearCache",
"clean:coverage": "rm -rf ./coverage",
"clean:extract": "rm -rf ./temp ./dist ./ect/*.md",
"clean:lib": "rm -rf ./lib/*.*",
"coverage": "opener coverage/lcov-report/index.html",
"example": "pnpm example:build && pnpm example:extract && pnpm example:gen",
"example:build": "pnpm build --filter ./examples/packages",
"example:clean": "pnpm clean --filter ./examples/packages && rm -rf examples/docs/api/*.md",
"example:docs": "vuepress dev examples/docs",
"example:extract": "pnpm extract --filter ./examples/packages",
"example:gen": "node ./bin/run.js ./examples/packages/utilities/temp/utilities.api.json ./examples/packages/library1/temp/library1.api.json -o ./examples/docs/api",
"example:teardown": "rm -rf ./examples/packages/utilities/node_modules && rm -rf ./examples/packages/library1/node_modules",
"fix": "run-p \"lint:fix\" \"format:fix\"",
"format": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{js,json,html}'",
"format:fix": "pnpm format -- --write",
"lint": "eslint ./src ./test --ext .ts",
"lint:fix": "pnpm lint -- --fix",
"release:prepare": "shipjs prepare",
"release:trigger": "shipjs trigger",
"test": "pnpm lint && pnpm test:cover",
"test:cover": "pnpm test:unit -- --coverage",
"test:unit": "jest --env node",
"test:watch": "jest --env node --watch",
"watch": "tsc -p . --watch"
},
"types": "dist/api-docs-gen.d.ts"
}