Browse Source

Keep calm and commit

pull/58/head
zyronon 1 year ago
parent
commit
51b2708ca9
  1. 1
      .husky/pre-commit
  2. 4
      package.json

1
.husky/pre-commit

@ -0,0 +1 @@ @@ -0,0 +1 @@
pnpm run format

4
package.json

@ -8,7 +8,8 @@ @@ -8,7 +8,8 @@
"report": "vite build",
"preview": "vite preview",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
"format": "prettier --write src/"
"format": "prettier --write src/",
"prepare": "husky"
},
"dependencies": {
"@jambonn/vue-lazyload": "1.0.9",
@ -46,4 +47,5 @@ @@ -46,4 +47,5 @@
"vite": "4.5.3",
"vite-plugin-cdn-import": "0.3.5"
}
}

Loading…
Cancel
Save