Commit eabaee97 by HoMeTown

feat: 提交

parent 4933c6d2
node_modules
dist
\ No newline at end of file
dist/*
node_modules/*
config/*
public/*
scripts/*
package.json
package-lock.json
.gitignore
README.md
.eslintrc
lint-staged.config.mjs
\ No newline at end of file
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
pnpm lint
......@@ -12,7 +12,8 @@
"deploy:test": "pnpm build:test && sh ./scripts/deploy.test.sh",
"lint": "eslint src --fix --ext .ts,.tsx",
"build": "rsbuild build",
"preview": "rsbuild preview"
"preview": "rsbuild preview",
"prepare": "husky install"
},
"dependencies": {
"@nutui/nutui-react": "^2.2.0",
......@@ -33,12 +34,15 @@
"@typescript-eslint/parser": "^6.13.1",
"eslint": "^8.54.0",
"eslint-plugin-react": "^7.33.2",
"husky": "^8.0.3",
"lint-staged": "^15.1.0",
"postcss-px-to-viewport": "^1.1.1",
"typescript": "^5.3.2"
},
"husky": {
"hooks": {
"pre-commit": "pnpm lint"
}
"lint-staged": {
"src/**/*.{ts,tsx}":
[
"eslint --fix"
]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment