bwin 0.4.5-dev-b22d60e → 0.4.5-dev-c89b00c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +0 -2
  2. package/package.json +12 -2
package/README.md CHANGED
@@ -15,7 +15,6 @@ Install dependencies, then:
15
15
 
16
16
  ```sh
17
17
  pnpm install # first time only
18
-
19
18
  pnpm dev # start the dev server
20
19
  pnpm test # run the tests
21
20
  ```
@@ -29,4 +28,3 @@ Create a `.env.local` to set the default minimum width/height (in pixels) for a
29
28
  VITE_DEFAULT_SASH_MIN_WIDTH=100
30
29
  VITE_DEFAULT_SASH_MIN_HEIGHT=100
31
30
  ```
32
-
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "bwin",
3
3
  "description": "A tiling window manager for web browsers",
4
4
  "type": "module",
5
- "version": "0.4.5-dev-b22d60e",
5
+ "version": "0.4.5-dev-c89b00c",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/bhjsdev/bwin.git"
@@ -30,16 +30,26 @@
30
30
  },
31
31
  "./bwin.css": "./dist/bwin.css"
32
32
  },
33
+ "simple-git-hooks": {
34
+ "pre-commit": "pnpm exec lint-staged"
35
+ },
36
+ "lint-staged": {
37
+ "*.{js,html,css,json,md,yml,yaml}": "prettier --write"
38
+ },
33
39
  "devDependencies": {
34
40
  "jsdom": "^29.1.1",
41
+ "lint-staged": "^17.0.7",
35
42
  "prettier": "^3.8.3",
36
43
  "prettier-plugin-brace-style": "^0.10.1",
44
+ "simple-git-hooks": "^2.13.1",
37
45
  "vite": "^8.0.13",
38
46
  "vitest": "^4.1.6"
39
47
  },
40
48
  "scripts": {
41
49
  "dev": "vite",
42
50
  "build": "vite build",
43
- "test": "vitest"
51
+ "test": "vitest",
52
+ "format": "prettier --write .",
53
+ "format:check": "prettier --check ."
44
54
  }
45
55
  }