forked from ichoosetoaccept/awesome-windsurf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.94 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
{
"name": "awesome-windsurf",
"description": "A curated hub of awesome Windsurf resources",
"version": "2024.12.10",
"private": false,
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@kie/act-js": "^2.6.2",
"cspell": "^8.17.1",
"eslint": "^9.17.0",
"husky": "^9.1.7",
"jsonlint": "^1.6.3",
"lint-staged": "^15.3.0",
"markdown-link-check": "^3.13.6",
"markdownlint-cli2": "^0.17.0",
"prettier": "^3.1.1",
"remark-cli": "^12.0.1",
"remark-lint-fenced-code-flag": "^4.0.0",
"shellcheck": "^3.0.0",
"yaml-lint": "^1.7.0"
},
"scripts": {
"postinstall": "husky",
"check-links": "find . -name '*.md' -not -path './node_modules/*' -print0 | xargs -0 -n1 npx markdown-link-check --verbose -c .markdown-link-check.json",
"fix:md": "markdownlint-cli2 --fix \"**/*.md\"",
"spell-check": "cspell \"**/*.md\"",
"check-codeblocks": "remark . --quiet --frail",
"lint:js": "eslint --ext .js .",
"lint:json": "find . -name '*.json' -not -path './node_modules/*' -exec jsonlint -q {} \\;",
"lint:yaml": "find . -regex '.*\\.ya?ml$' -not -path './node_modules/*' -exec yamllint {} \\;",
"lint:shell": "find .husky -type f -not -path '*/_*' -exec shellcheck {} \\;",
"lint:all": "npm run lint:js && npm run lint:json && npm run lint:yaml && npm run lint:shell && npm run fix:md && npm run spell-check && npm run check-codeblocks",
"test:workflow": "cd .github/tests && ./test-workflow-wrapper.sh",
"test:workflows": "for w in create-release-tag publish-release auto-label markdownlint link-check; do WORKFLOW=$w EVENT=manual-release npm run test:workflow || exit 1; done"
},
"lint-staged": {
"*.md": [
"markdownlint-cli2",
"cspell",
"remark --quiet --frail"
],
"*.js": [
"eslint"
],
"!(.windsurfrules)*.json": [
"jsonlint -q"
],
"*.{yml,yaml}": [
"yamllint"
],
".husky/*": [
"shellcheck"
]
}
}