-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.29 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 3.29 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
108
109
110
111
112
113
114
115
{
"name": "@eslint/markdown",
"version": "8.0.1",
"description": "The official ESLint language plugin for Markdown",
"license": "MIT",
"author": {
"name": "Brandon Mills",
"url": "https://github.com/btmills"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"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",
"lint:types": "attw --pack --profile esm-only",
"lint:unused": "knip",
"fmt": "prettier --write .",
"fmt:check": "prettier --check .",
"build": "npm run build:rules && npm run build:types && npm run build:update-rules-docs",
"build:rules": "node tools/build-rules.js",
"build:types": "tsc",
"build:update-rules-docs": "node tools/update-rules-docs.js",
"prepare": "npm run build",
"test": "mocha \"tests/**/*.test.js\" --timeout 30000",
"test:coverage": "c8 npm test",
"test:jsr": "npx -y jsr@latest publish --dry-run",
"test:types": "tsc -p tests/types/tsconfig.json",
"test:types:5.x": "npx -p typescript@5.x -y -- tsc -p tests/types/tsconfig.json",
"test:types:5.3": "npx -p typescript@5.3 -y -- tsc -p tests/types/tsconfig.legacy.json",
"test:types:all": "npm run test:types && npm run test:types:5.x && npm run test:types:5.3"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@eslint/js": "^10.0.1",
"@eslint/json": "^1.2.0",
"@types/mdast": "^4.0.4",
"@types/unist": "^3.0.3",
"c8": "^11.0.0",
"dedent": "^1.7.1",
"eslint": "^10.0.3",
"eslint-v9": "npm:eslint@9.x",
"eslint-config-eslint": "^14.0.0",
"eslint-plugin-eslint-plugin": "^7.3.2",
"globals": "^17.1.0",
"knip": "^6.0.0",
"lint-staged": "^16.0.0",
"mocha": "^11.7.5",
"prettier": "3.8.3",
"semver": "^7.7.3",
"typescript": "^6.0.3",
"yorkie": "^2.0.0"
},
"dependencies": {
"@eslint/core": "^1.2.1",
"@eslint/plugin-kit": "^0.7.1",
"github-slugger": "^2.0.0",
"mdast-util-from-markdown": "^2.0.2",
"mdast-util-frontmatter": "^2.0.1",
"mdast-util-gfm": "^3.1.0",
"mdast-util-math": "^3.0.0",
"micromark-extension-frontmatter": "^2.0.0",
"micromark-extension-gfm": "^3.0.0",
"micromark-extension-math": "^3.1.0",
"micromark-util-normalize-identifier": "^2.0.1"
},
"engines": {
"node": "^20.19.0 || ^22.13.0 || >=24"
}
}