-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 3.27 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 3.27 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
{
"name": "pickier",
"type": "module",
"version": "0.1.28",
"private": true,
"description": "Format, lint and more in a fraction of seconds.",
"author": "Chris Breuer <chris@stacksjs.org>",
"license": "MIT",
"homepage": "https://github.com/pickier/pickier#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/pickier/pickier.git"
},
"bugs": {
"url": "https://github.com/pickier/pickier/issues"
},
"bin": {
"pickier": "packages/pickier/pickier"
},
"scripts": {
"build": "for dir in packages/*; do if [ -f \"$dir/package.json\" ]; then if [ \"$dir\" = \"packages/zig\" ] && ! command -v zig >/dev/null 2>&1; then echo \"Skipping $dir (zig not installed)\"; else echo \"Building $dir\" && bun run --cwd $dir build; fi; fi; done",
"lint": "./packages/pickier/pickier run . --mode lint",
"lint:fix": "./packages/pickier/pickier run . --mode lint --fix",
"eslint:lint": "bunx --bun eslint .",
"eslint:fix": "bunx --bun eslint .",
"pickier": "./packages/pickier/pickier run . --mode auto",
"pickier:lint": "./packages/pickier/pickier run . --mode lint",
"pickier:lint:fix": "./packages/pickier/pickier run . --mode lint --fix",
"pickier:format:check": "./packages/pickier/pickier run . --mode format --check",
"pickier:format:write": "./packages/pickier/pickier run . --mode format --write",
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
"changelog": "bunx logsmith --verbose",
"changelog:generate": "bunx logsmith --output CHANGELOG.md",
"release": "bun --bun run changelog:generate && ./packages/pickier/pickier run CHANGELOG.md --mode lint --fix && bunx --bun bumpx prompt --recursive",
"release:patch": "bun --bun run changelog:generate && ./packages/pickier/pickier run CHANGELOG.md --mode lint --fix && bunx --bun bumpx patch --recursive --yes",
"publish:patch": "bun --bun run changelog:generate && ./packages/pickier/pickier run CHANGELOG.md --mode lint --fix && bunx --bun bumpx patch --recursive --yes",
"test": "bun run --cwd packages/pickier test",
"test:core": "bun run --cwd packages/pickier test:core",
"test:format": "bun run --cwd packages/pickier test:format",
"test:lint": "bun run --cwd packages/pickier test:lint",
"test:rules": "bun run --cwd packages/pickier test:rules",
"test:plugin": "bun run --cwd packages/pickier test:plugin",
"test:watch": "bun run --cwd packages/pickier test:watch",
"dev:docs": "bun --bun vitepress dev docs",
"build:docs": "bun --bun vitepress build docs",
"preview:docs": "bun --bun vitepress preview docs",
"typecheck": "bun --bun tsc --noEmit"
},
"devDependencies": {
"@stacksjs/bumpx": "^0.2.4",
"@stacksjs/bunpress": "^0.1.0",
"@stacksjs/clarity": "^0.3.24",
"@stacksjs/gitlint": "^0.1.5",
"@stacksjs/logsmith": "^0.2.1",
"@types/bun": "^1.3.3",
"buddy-bot": "^0.9.16",
"bun-git-hooks": "^0.3.1",
"bun-plugin-dtsx": "^0.9.14",
"typescript": "^6.0.3"
},
"overrides": {
"@stacksjs/clapp": "^0.2.6"
},
"git-hooks": {
"pre-commit": {
"staged-lint": {
"*.{js,ts,json,yaml,yml,md}": "./packages/pickier/pickier run --mode lint --fix"
}
},
"commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG"
},
"workspaces": [
"packages/*"
]
}