-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.89 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.89 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
{
"name": "safeword",
"private": true,
"type": "module",
"packageManager": "bun@1.3.14",
"workspaces": [
"packages/*"
],
"scripts": {
"test": "bun run --cwd packages/cli test",
"test:done": "bun run --cwd packages/cli test:done",
"test:smoke:fast": "bun run --cwd packages/cli test:smoke:fast",
"test:smoke": "bun run --cwd packages/cli test:smoke",
"test:smoke:live": "bun run --cwd packages/cli test:smoke:live",
"typecheck": "bun run --cwd packages/cli typecheck",
"lint": "eslint . && bun run lint:gherkin && bun run --cwd packages/cli typecheck",
"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",
"lint:gherkin": "bun packages/cli/src/cli.ts lint-gherkin",
"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",
"test:bdd": "cucumber-js --tags 'not @wip'"
},
"devDependencies": {
"@cucumber/cucumber": "^13.0.0",
"@types/node": "^26.0.1",
"dependency-cruiser": "^18.0.0",
"eslint": "^10.5.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"jiti": "^2.7.0",
"knip": "6.20.0",
"lint-staged": "^17.0.8",
"markdownlint-cli2": "^0.22.1",
"prettier": "^3.8.4",
"prettier-plugin-sh": "^0.18.1",
"shellcheck": "^4.1.0",
"tsx": "^4.22.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,mts,cjs,cts}": [
"eslint --fix --config eslint.config.ts",
"prettier --write"
],
"*.{vue,svelte,astro}": [
"eslint --fix --config eslint.config.ts",
"prettier --write"
],
"*.{json,css,scss,html,yaml,yml,graphql}": [
"prettier --write"
],
"*.md": [
"markdownlint-cli2 --fix",
"prettier --write"
],
"*.sh": [
"shellcheck"
],
"*.feature": [
"bun packages/cli/src/cli.ts lint-gherkin"
]
},
"overrides": {
"@felipecrs/decompress-tarxz": "5.0.6",
"@types/estree": "^1.0.9",
"@xhmikosr/decompress-unzip": "8.2.1",
"esbuild": "^0.28.1",
"file-type": "^21.3.2",
"js-yaml": "^4.3.0",
"markdown-it": "^14.2.0",
"turbo": "2.9.18",
"yaml": "^2.9.0",
"zod-validation-error": "^4.0.0"
},
"version": "0.0.1"
}