chore: husky
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
yarn run lint-staged
|
||||
@@ -29,8 +29,7 @@
|
||||
"server-public": "http-server -p 3000 --cors",
|
||||
"server-root": "http-server ./ -p 3000 --cors",
|
||||
"server": "http-server ./build -p 3000 --cors",
|
||||
"lint": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md",
|
||||
"prepare": "husky install"
|
||||
"lint": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
@@ -113,7 +112,6 @@
|
||||
"@types/styled-components": "5.1.24",
|
||||
"@types/uuid": "8.3.4",
|
||||
"gh-pages": "3.2.3",
|
||||
"husky": "7.0.0",
|
||||
"lint-staged": "12.3.5",
|
||||
"node-sass": "*",
|
||||
"prettier": "2.5.1",
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
yarn run lint-staged
|
||||
@@ -18,8 +18,7 @@
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject",
|
||||
"lint": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md",
|
||||
"prepare": "husky install"
|
||||
"lint": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@codemirror/lang-markdown": "^0.19.6",
|
||||
@@ -52,7 +51,6 @@
|
||||
"@types/react": "^17.0.40",
|
||||
"@types/react-dom": "^17.0.13",
|
||||
"@uiw/react-codemirror": "4.5.1",
|
||||
"husky": "*",
|
||||
"katex": "^0.15.2",
|
||||
"lint-staged": "*",
|
||||
"marked": "^4.0.12",
|
||||
|
||||
Reference in New Issue
Block a user