forked from gajus/eslint-plugin-jsdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 4.34 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
{
"author": {
"email": "[email protected]",
"name": "Gajus Kuizinas",
"url": "http://gajus.com"
},
"dependencies": {
"@es-joy/jsdoccomment": "~0.42.0",
"are-docs-informative": "^0.0.2",
"comment-parser": "1.4.1",
"debug": "^4.3.4",
"escape-string-regexp": "^4.0.0",
"esquery": "^1.5.0",
"is-builtin-module": "^3.2.1",
"semver": "^7.6.0",
"spdx-expression-parse": "^4.0.0"
},
"description": "JSDoc linting rules for ESLint.",
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/eslint-parser": "^7.23.10",
"@babel/node": "^7.23.9",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/plugin-transform-flow-strip-types": "^7.23.3",
"@babel/preset-env": "^7.23.9",
"@es-joy/escodegen": "^3.5.1",
"@es-joy/jsdoc-eslint-parser": "^0.21.1",
"@hkdobrev/run-if-changed": "^0.3.1",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/github": "^9.2.6",
"@semantic-release/npm": "^11.0.2",
"@types/chai": "^4.3.11",
"@types/debug": "^4.1.12",
"@types/eslint": "^8.56.2",
"@types/esquery": "^1.5.3",
"@types/estree": "^1.0.5",
"@types/json-schema": "^7.0.15",
"@types/lodash.defaultsdeep": "^4.6.9",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.16",
"@types/semver": "^7.5.6",
"@types/spdx-expression-parse": "^3.0.5",
"@typescript-eslint/parser": "^6.21.0",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-istanbul": "^6.1.1",
"c8": "^9.1.0",
"camelcase": "^6.3.0",
"chai": "^4.3.10",
"cross-env": "^7.0.3",
"decamelize": "^5.0.1",
"eslint": "9.0.0-alpha.0",
"eslint-config-canonical": "~42.8.1",
"espree": "^10.0.0",
"gitdown": "^3.1.5",
"glob": "^10.3.10",
"globals": "^13.24.0",
"husky": "^9.0.10",
"jsdoc-type-pratt-parser": "^4.0.0",
"json-schema": "^0.4.0",
"lint-staged": "^15.2.2",
"lodash.defaultsdeep": "^4.6.1",
"mocha": "^10.2.0",
"open-editor": "^3.0.0",
"replace": "^1.2.2",
"rimraf": "^5.0.5",
"semantic-release": "^23.0.0",
"typescript": "5.3.3"
},
"engines": {
"node": ">=18"
},
"keywords": [
"eslint",
"plugin",
"jsdoc"
],
"license": "BSD-3-Clause",
"lint-staged": {
".eslintignore": [
"npm run lint-fix",
"git add ."
],
"*.js": "npm run lint-arg -- --fix"
},
"type": "module",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"import": "./src/index.js",
"require": "./dist/index.cjs"
},
"name": "eslint-plugin-jsdoc",
"mocha": {
"reporter": "dot",
"recursive": true,
"timeout": 12000
},
"c8": {
"branches": 100,
"check-coverage": true,
"exclude": [
"src/rules/checkExamples.js"
],
"functions": 100,
"include": [
"src/"
],
"instrument": false,
"lines": 100,
"reporter": "text-summary",
"sourceMap": false,
"statements": 100
},
"peerDependencies": {
"eslint": "^7.0.0 || ^8.0.0 || ^9.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gajus/eslint-plugin-jsdoc"
},
"run-if-changed": {
"package-lock.json": "npm run install-offline"
},
"scripts": {
"tsc": "tsc",
"tsc-build": "tsc -p tsconfig-prod.json",
"build": "rimraf ./dist && cross-env NODE_ENV=production babel ./src --out-file-extension .cjs --out-dir ./dist --copy-files --source-maps --ignore ./src/bin/*.js --no-copy-ignored && replace 'require\\(\"\\.(.*?)\\.[^.]*?\"\\)' 'require(\".$1.cjs\")' 'dist' -r --include=\"*.cjs\" && pnpm tsc-build",
"check-docs": "babel-node ./src/bin/generateDocs.js --check",
"create-docs": "npm run create-options && babel-node ./src/bin/generateDocs.js",
"create-rule": "babel-node ./src/bin/generateRule.js",
"create-options": "node ./src/bin/generateOptions.mjs",
"install-offline": "pnpm install --prefer-offline --no-audit",
"lint": "npm run lint-arg -- .",
"lint-arg": "eslint",
"lint-fix": "npm run lint-arg -- --fix .",
"prepare": "husky install",
"test-no-cov": "cross-env BABEL_ENV=test mocha",
"test": "c8 npm run test-no-cov",
"test-cov": "cross-env TIMING=1 c8 --reporter text npm run test-no-cov",
"test-index": "npm run test-no-cov -- test/rules/index.js"
},
"version": "1.0.0"
}