-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
157 lines (157 loc) · 3.85 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": "vuepress-jsdoc",
"version": "5.0.0",
"description": "Generate jsdoc markdown files for vuepress",
"main": "dist/index.js",
"scripts": {
"test": "jest",
"test-coverage": "cross-env NODE_ENV=test jest --coverage",
"test-watch": "cross-env NODE_ENV=test jest --watchAll",
"lint": "eslint --ext .tsx,.ts,.json,.js src/ --fix",
"dev": "npm run build -- -w",
"build": "tsc",
"prepublishOnly": "npm i && npm run build",
"prepare": "husky install",
"version": "conventional-changelog -p karma -i CHANGELOG.md -s -r 0 && git add .",
"docs": "./bin/vuepress-jsdoc.js --source=./dist --partials=./example/partials/*.hbs --readme ./README.md --include=\"**/*.(ts|js)\" --exclude=\"**/*.d.ts,**/interfaces.*,**/constants.*\"",
"docs:dev": "npx concurrently --kill-others \"npm run dev\" \"npm run docs -- -w\" \"vuepress dev documentation\"",
"docs:build": "npm run build && npm run docs && vuepress build documentation"
},
"keywords": [
"jsdoc",
"static",
"documentation",
"vue",
"vuepress"
],
"engines": {
"node": ">=14"
},
"license": "MIT",
"author": "Philip Stapelfeldt <[email protected]>",
"repository": {
"url": "https://github.com/ph1p/vuepress-jsdoc.git",
"type": "git"
},
"prettier": {
"useTabs": false,
"singleQuote": true,
"tabWidth": 2,
"printWidth": 120,
"trailingComma": "none"
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 95,
"functions": 60,
"lines": 75,
"statements": -10
}
},
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"bail": true,
"verbose": true,
"collectCoverageFrom": [
"**/*.{js,jsx,ts,tsx}",
"!**/node_modules/**",
"!**/coverage/**",
"!**/example/**",
"!**/vendor/**"
],
"coverageDirectory": "./coverage"
},
"bin": {
"vuepress-jsdoc": "bin/vuepress-jsdoc.js"
},
"dependencies": {
"chokidar": "^3.5.3",
"commander": "^11.1.0",
"del": "^6.0.0",
"front-matter": "^4.0.2",
"jsdoc-to-markdown": "^8.0.0",
"kleur": "^4.1.5",
"micromatch": "^4.0.5",
"mkdirp": "^3.0.1",
"vue-docgen-cli": "^4.67.0"
},
"devDependencies": {
"@types/jest": "^29.5.10",
"@types/jsdoc-to-markdown": "^7.0.6",
"@types/micromatch": "^4.0.6",
"@types/mkdirp": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@vuepress/client": "^2.0.0-rc.0",
"babel-jest": "^29.7.0",
"cross-env": "^7.0.3",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.1.0",
"memfs": "^4.6.0",
"ts-jest": "^29.1.1",
"typescript": "^5.3.2",
"vue": "^3.3.8",
"vuepress": "^2.0.0-rc.0"
},
"lint-staged": {
"src/**/*.{css,scss,json}": [
"prettier --write",
"git add"
],
"src/**/*.{js,jsx,ts,tsx}": [
"eslint",
"prettier --write",
"git add"
]
},
"eslintConfig": {
"env": {
"commonjs": true,
"es6": true,
"node": true,
"jest": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"quotes": [
"error",
"single",
{
"allowTemplateLiterals": true
}
],
"no-console": 0,
"arrow-parens": [
"error",
"as-needed"
]
}
}
}