-
Notifications
You must be signed in to change notification settings - Fork 110
/
package.json
23 lines (23 loc) · 1.1 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
{
"private": true,
"scripts": {
"bad-linebreaks": "node -e 'import(\"./scripts/bad-linebreaks.mjs\").then(bl => bl.processFiles(false))'",
"bad-linebreaks:fix": "node -e 'import(\"./scripts/bad-linebreaks.mjs\").then(bl => bl.processFiles(true))'",
"bad-linebreaks-test": "node ./scripts/bad-linebreaks-test.mjs",
"check-delegates": "node -e 'import(\"./scripts/check-delegates.mjs\").then(cd => cd.checkDelegates())'",
"check-delegates-test": "node ./scripts/check-delegates-test.mjs",
"fix:all": "npm run lint:fix && npm run mdlint:fix && npm run bad-linebreaks:fix",
"lint": "eslint . --ext .js,.mjs,.cjs",
"lint:fix": "npm run lint -- --fix",
"mdlint": "markdownlint-cli2",
"mdlint:fix": "markdownlint-cli2 --fix",
"//": "markdownlint most likely to fail, so run that first",
"test": "npm run mdlint && npm run bad-linebreaks-test && npm run bad-linebreaks && npm run lint && npm run check-delegates-test && npm run check-delegates"
},
"devDependencies": {
"eslint": "^8.47.0",
"glob": "^10.3.3",
"markdownlint-cli2": "^0.9.0",
"marked": "^7.0.4"
}
}