-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.82 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 2.82 KB
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
{
"name": "@eslint/markdown",
"version": "7.4.0",
"description": "The official ESLint language plugin for Markdown",
"license": "MIT",
"author": {
"name": "Brandon Mills",
"url": "https://github.com/btmills"
},
"type": "module",
"main": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"./types": {
"types": "./dist/esm/types.d.ts"
}
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"repository": "eslint/markdown",
"bugs": {
"url": "https://github.com/eslint/markdown/issues"
},
"homepage": "https://github.com/eslint/markdown#readme",
"keywords": [
"eslint",
"eslintplugin",
"markdown",
"lint",
"linter"
],
"workspaces": [
"examples/*"
],
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"*.md": [
"eslint --fix",
"eslint --fix -c eslint.config-content.js"
],
"!(*.{js,md})": "prettier --write --ignore-unknown",
"{src/rules/*.js,tools/update-rules-docs.js,README.md}": [
"npm run build:update-rules-docs",
"git add README.md"
]
},
"scripts": {
"lint": "eslint && eslint -c eslint.config-content.js",
"lint:fix": "eslint --fix && eslint --fix -c eslint.config-content.js",
"fmt": "prettier --write .",
"fmt:check": "prettier --check .",
"build:rules": "node tools/build-rules.js",
"build:update-rules-docs": "node tools/update-rules-docs.js",
"build": "npm run build:rules && tsc && npm run build:update-rules-docs",
"prepare": "npm run build",
"test": "mocha \"tests/**/*.test.js\" --timeout 30000",
"test:coverage": "c8 npm test",
"test:jsr": "npx jsr@latest publish --dry-run",
"test:types": "tsc -p tests/types/tsconfig.json"
},
"devDependencies": {
"@eslint/js": "^9.36.0",
"@eslint/json": "^0.13.2",
"@types/mdast": "^4.0.4",
"@types/unist": "^3.0.3",
"c8": "^10.1.3",
"dedent": "^1.5.3",
"eslint": "^9.36.0",
"eslint-config-eslint": "^13.0.0",
"eslint-plugin-eslint-plugin": "^6.3.2",
"globals": "^16.4.0",
"lint-staged": "^15.2.9",
"mocha": "^11.6.0",
"prettier": "^3.3.3",
"semver": "^7.7.3",
"typescript": "^5.9.2",
"yorkie": "^2.0.0"
},
"dependencies": {
"@eslint/core": "^0.16.0",
"@eslint/plugin-kit": "^0.4.0",
"github-slugger": "^2.0.0",
"mdast-util-from-markdown": "^2.0.2",
"mdast-util-frontmatter": "^2.0.1",
"mdast-util-gfm": "^3.1.0",
"micromark-extension-frontmatter": "^2.0.0",
"micromark-extension-gfm": "^3.0.0",
"micromark-util-normalize-identifier": "^2.0.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
}