|
35 | 35 | "prepack": "nuxt-module-build build", |
36 | 36 | "dev": "nuxi dev playground", |
37 | 37 | "dev:build": "nuxi build playground", |
38 | | - "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && husky", |
39 | | - "lint": "eslint", |
40 | | - "lint:all": "pnpm lint .", |
| 38 | + "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground", |
| 39 | + "prepare": "simple-git-hooks", |
| 40 | + "lint": "eslint .", |
41 | 41 | "release": "pnpm test && bumpp && npm publish", |
42 | 42 | "test": "pnpm vitest run" |
43 | 43 | }, |
44 | 44 | "dependencies": { |
45 | | - "@nuxt/kit": "^3.12.4", |
46 | | - "consola": "^3.2.3", |
| 45 | + "@nuxt/kit": "^3.15.4", |
| 46 | + "consola": "^3.4.0", |
47 | 47 | "html-validate": "~9.4.0", |
48 | | - "knitwork": "^1.1.0", |
49 | | - "pathe": "^2.0.0", |
50 | | - "prettier": "^3.3.3", |
51 | | - "std-env": "^3.7.0" |
| 48 | + "knitwork": "^1.2.0", |
| 49 | + "pathe": "^2.0.3", |
| 50 | + "prettier": "^3.5.2", |
| 51 | + "std-env": "^3.8.0" |
52 | 52 | }, |
53 | 53 | "devDependencies": { |
54 | 54 | "@nuxt/eslint-config": "1.1.0", |
55 | 55 | "@nuxt/module-builder": "1.0.0-alpha.1", |
56 | 56 | "@nuxt/test-utils": "3.17.0", |
57 | | - "@vitest/coverage-v8": "3.0.5", |
| 57 | + "@vitest/coverage-v8": "3.0.7", |
58 | 58 | "bumpp": "10.0.3", |
59 | 59 | "eslint": "9.21.0", |
60 | 60 | "husky": "9.1.7", |
61 | 61 | "lint-staged": "15.4.3", |
62 | 62 | "nuxt": "3.15.4", |
63 | | - "vitest": "3.0.5" |
| 63 | + "simple-git-hooks": "2.11.1", |
| 64 | + "vitest": "3.0.7" |
| 65 | + }, |
| 66 | + "simple-git-hooks": { |
| 67 | + "pre-commit": "npx lint-staged" |
| 68 | + }, |
| 69 | + "lint-staged": { |
| 70 | + "*.{js,ts,mjs,cjs,json,.*rc}": [ |
| 71 | + "npx eslint --fix" |
| 72 | + ] |
64 | 73 | }, |
65 | 74 | "resolutions": { |
66 | 75 | "@nuxt/content": "2.13.4", |
|
70 | 79 | "publishConfig": { |
71 | 80 | "access": "public" |
72 | 81 | }, |
73 | | - "packageManager": "pnpm@10.4.1" |
| 82 | + "packageManager": "pnpm@10.5.2" |
74 | 83 | } |
0 commit comments