forked from ph1p/vuepress-jsdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
154 lines (154 loc) · 3.73 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
{
"name": "vuepress-jsdoc",
"version": "4.2.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 --exclude=\"**/*.d.ts,**/interfaces.*,**/constants.*\"",
"docs:dev": "npx concurrently --kill-others \"npm run dev\" \"npm run docs && npx vuepress dev documentation\"",
"docs:build": "npm run build && npm run docs && npx 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": {
"chalk": "^4.1.2",
"chokidar": "^3.5.2",
"commander": "^8.3.0",
"del": "^6.0.0",
"front-matter": "^4.0.2",
"jsdoc-to-markdown": "^7.1.0",
"micromatch": "^4.0.4",
"mkdirp": "^1.0.4",
"vue-docgen-cli": "^4.41.3"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/jsdoc-to-markdown": "^7.0.1",
"@types/micromatch": "^4.0.2",
"@types/mkdirp": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"babel-jest": "^27.3.1",
"cross-env": "^7.0.3",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.2.4",
"eslint-plugin-prefer-arrow": "^1.2.3",
"husky": "^7.0.4",
"jest": "^27.3.1",
"lint-staged": "^12.0.2",
"memfs": "^3.3.0",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4"
},
"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"
]
}
}
}