-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
118 lines (118 loc) · 6.15 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
{
"name": "markdownlint-cli2",
"version": "0.15.0",
"description": "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library",
"author": {
"name": "David Anson",
"url": "https://dlaa.me/"
},
"license": "MIT",
"type": "commonjs",
"main": "./markdownlint-cli2.js",
"exports": {
".": "./markdownlint-cli2.js",
"./markdownlint": "./export-markdownlint.js",
"./markdownlint/helpers": "./export-markdownlint-helpers.js",
"./parsers": "./parsers/parsers.js",
"./parsers/jsonc": "./parsers/jsonc-parse.js",
"./parsers/yaml": "./parsers/yaml-parse.js"
},
"bin": {
"markdownlint-cli2": "markdownlint-cli2.js"
},
"homepage": "https://github.com/DavidAnson/markdownlint-cli2",
"repository": {
"type": "git",
"url": "git+https://github.com/DavidAnson/markdownlint-cli2.git"
},
"bugs": "https://github.com/DavidAnson/markdownlint-cli2/issues",
"funding": "https://github.com/sponsors/DavidAnson",
"scripts": {
"build-docker-image": "VERSION=$(node -e \"process.stdout.write(require('./package.json').version)\") && docker build -t davidanson/markdownlint-cli2:v$VERSION -f docker/Dockerfile --label org.opencontainers.image.version=v$VERSION .",
"build-docker-image-rules": "VERSION=$(node -e \"process.stdout.write(require('./package.json').version)\") && docker build -t davidanson/markdownlint-cli2-rules:v$VERSION -f docker/Dockerfile-rules --build-arg VERSION=v$VERSION --label org.opencontainers.image.version=v$VERSION .",
"ci": "npm-run-all --continue-on-error --parallel test-cover lint schema && git diff --exit-code",
"lint": "eslint --max-warnings 0",
"lint-dockerfile": "docker run --rm -i hadolint/hadolint:latest-alpine < docker/Dockerfile",
"lint-watch": "git ls-files | entr npm run lint",
"playwright-install-bare": "npm run playwright-install-npm && playwright install",
"playwright-install-npm": "npm install --no-save [email protected]",
"playwright-test": "playwright test --config ./webworker/playwright.config.mjs",
"playwright-test-docker": "docker run --rm --volume $PWD:/home/workdir --workdir /home/workdir --ipc=host mcr.microsoft.com/playwright:v1.48.2 npm run playwright-test",
"schema": "cpy ./node_modules/markdownlint/schema/markdownlint-config-schema.json ./schema --flat",
"test": "ava --timeout=1m test/append-to-array-test.js test/fs-mock-test.js test/fs-virtual-test.js test/markdownlint-cli2-test.js test/markdownlint-cli2-test-exec.js test/markdownlint-cli2-test-exports.js test/markdownlint-cli2-test-fs.js test/markdownlint-cli2-test-main.js test/merge-options-test.js test/resolve-and-require-test.js",
"test-cover": "c8 --100 npm test",
"test-docker-hub-image": "VERSION=$(node -e \"process.stdout.write(require('./package.json').version)\") && docker image rm davidanson/markdownlint-cli2:v$VERSION davidanson/markdownlint-cli2:latest || true && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2:v$VERSION \"*.md\" && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2:latest \"*.md\"",
"test-docker-hub-image-rules": "VERSION=$(node -e \"process.stdout.write(require('./package.json').version)\") && docker image rm davidanson/markdownlint-cli2-rules:v$VERSION davidanson/markdownlint-cli2-rules:latest || true && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2-rules:v$VERSION \"*.md\" && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2-rules:latest \"*.md\"",
"test-docker-image": "VERSION=$(node -e \"process.stdout.write(require('./package.json').version)\") && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2:v$VERSION \"*.md\"",
"test-docker-image-rules": "VERSION=$(node -e \"process.stdout.write(require('./package.json').version)\") && docker run --rm -v $PWD:/workdir davidanson/markdownlint-cli2-rules:v$VERSION \"*.md\"",
"test-invoke-as-cli": "markdownlint-cli2 CHANGELOG.md",
"test-watch": "git ls-files | entr npm run test",
"update-snapshots": "ava --timeout=1m --update-snapshots test/markdownlint-cli2-test-exec.js test/markdownlint-cli2-test-fs.js test/markdownlint-cli2-test-main.js",
"webworker": "cd webworker && webpack --mode none",
"webworker-install": "npm install --no-package-lock --no-save path-browserify setimmediate stream-browserify util webpack-cli && cpy ./node_modules/setimmediate/setImmediate.js ./webworker --flat"
},
"engines": {
"node": ">=18"
},
"files": [
"append-to-array.js",
"CHANGELOG.md",
"export-markdownlint.js",
"export-markdownlint-helpers.js",
"LICENSE",
"markdownlint-cli2.js",
"merge-options.js",
"parsers/parsers.js",
"parsers/jsonc-parse.js",
"parsers/yaml-parse.js",
"README.md",
"resolve-and-require.js",
"schema/markdownlint-cli2-config-schema.json",
"schema/markdownlint-config-schema.json",
"schema/ValidatingConfiguration.md"
],
"dependencies": {
"globby": "14.0.2",
"js-yaml": "4.1.0",
"jsonc-parser": "3.3.1",
"markdownlint": "0.36.1",
"markdownlint-cli2-formatter-default": "0.0.5",
"micromatch": "4.0.8"
},
"devDependencies": {
"@eslint/js": "9.14.0",
"@iktakahiro/markdown-it-katex": "4.0.1",
"@playwright/test": "1.48.2",
"@stylistic/eslint-plugin": "2.10.1",
"ajv": "8.17.1",
"ava": "6.2.0",
"c8": "10.1.2",
"cpy": "11.1.0",
"cpy-cli": "5.0.0",
"del": "8.0.0",
"eslint": "9.14.0",
"eslint-plugin-jsdoc": "50.4.3",
"eslint-plugin-n": "17.13.1",
"eslint-plugin-unicorn": "56.0.0",
"nano-spawn": "0.2.0",
"markdown-it-emoji": "3.0.0",
"markdown-it-for-inline": "2.0.1",
"markdownlint-cli2-formatter-codequality": "0.0.5",
"markdownlint-cli2-formatter-json": "0.0.8",
"markdownlint-cli2-formatter-junit": "0.0.12",
"markdownlint-cli2-formatter-pretty": "0.0.7",
"markdownlint-cli2-formatter-sarif": "0.0.2",
"markdownlint-cli2-formatter-summarize": "0.0.7",
"markdownlint-cli2-formatter-template": "0.0.2",
"markdownlint-rule-extended-ascii": "0.1.0",
"npm-run-all": "4.1.5"
},
"keywords": [
"markdown",
"lint",
"cli",
"md",
"CommonMark",
"markdownlint"
]
}