-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 2.07 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 2.07 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
{
"name": "safeword",
"private": true,
"type": "module",
"packageManager": "bun@1.3.12",
"workspaces": [
"packages/*"
],
"scripts": {
"test": "bun run --cwd packages/cli test",
"lint": "test -f packages/cli/dist/presets/typescript/index.js || bun run --cwd packages/cli build && eslint .",
"format": "prettier --write .",
"lint:md": "markdownlint-cli2 \"**/*.md\" \"#**/node_modules\" \"#examples\" \"#dist\"",
"lint:sh": "shellcheck **/*.sh .safeword/hooks/* packages/cli/templates/hooks/* packages/cli/templates/scripts/* 2>/dev/null || true",
"format:sh": "shfmt -w -i 2 -ci **/*.sh .safeword/hooks/* packages/cli/templates/hooks/* packages/cli/templates/scripts/* 2>/dev/null || echo 'shfmt not installed (brew install shfmt)'",
"format:check": "prettier --check .",
"knip": "knip",
"prepare": "husky && bun run --cwd packages/cli build",
"lint:eslint": "eslint .",
"deps": "depcruise packages/*/src --config .dependency-cruiser.cjs",
"deps:graph": "depcruise packages/*/src --config .dependency-cruiser.cjs --output-type dot | dot -T svg > dependency-graph.svg",
"deps:validate": "depcruise packages/*/src --config .dependency-cruiser.cjs --output-type err"
},
"devDependencies": {
"dependency-cruiser": "^17.3.9",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"knip": "6.4.1",
"lint-staged": "^16.4.0",
"markdownlint-cli2": "^0.22.0",
"prettier": "^3.8.3",
"prettier-plugin-sh": "^0.18.1",
"shellcheck": "^4.1.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,mts,cjs,cts}": [
"eslint --fix",
"prettier --write"
],
"*.{vue,svelte,astro}": [
"eslint --fix",
"prettier --write"
],
"*.{json,css,scss,html,yaml,yml,graphql}": [
"prettier --write"
],
"*.md": [
"markdownlint-cli2 --fix",
"prettier --write"
],
"*.sh": [
"shellcheck"
]
},
"dependencies": {
"eslint-plugin-jsdoc": "^62.9.0"
},
"overrides": {
"zod-validation-error": "^4.0.0"
},
"version": "0.0.1"
}