A simple, zero dependency tool for setting up git hooks for small projects. Latest version: 2.12.1, last published: a month ago. Start using simple-git-hooks in your project by running `npm i simple-git-hooks`. There are 62 other projects in the npm regi
npx simple-git-hooks 添加prepare脚本,可以在install时自动注册已经配置的git-hooks,第一次使用时需要手动运行一次npm run prepare npm pkgsetscripts.prepare="npx simple-git-hooks" 使用husky运行 pnpm dlx husky-init&&pnpm add -D @whdev/verify-commit#ORnpx husky-init&&npm i -D @whdev/verify-commit...
npm hooks You can use any of the test/version/publish relatednpm lifecycle hooksin your package.json to add extra behavior. For example, here we build the documentation before tagging the release: {"name":"my-awesome-package","scripts": {"version":"./build-docs && git add docs"} } ...
"postinstall": "npx simple-git-hooks" }, "dependencies": { "@dcloudio/uni-app": "3.0.0-4020920240930001", @@ -121,7 +122,6 @@ "vue-tsc": "^1.0.24" }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged", "preserveUnused": true "pre-commit": "pnpm lint-staged" } ...
As of version 3.1.0 Fetch Inject supports use with SvelteKit. Use it inside yourloadfunctions to run Fetch requests client- and server-side. Or drop it inside yourhooksin order to inject resources into the document like so: exportconsthandle:Handle=sequence(async({event,resolve})=>{constrespo...
Probot 是一个基于 Node.js 构建 GitHub Apps 的框架。它旨在消除所有繁琐的事情,如接收和验证 webhooks 以及做认证动作,这样你就可以专注于你想要实现的功能。Probot 应用程序非常容易编写、部署和分享。大多数流行的 Probot 应用被托管,所以你不需要做任何部署和管理工作。这里有几个基于 Probot 构建的应用: ...
"simple-git": "^3.0.0", "eslint-plugin-react-hooks": "^4.1.2", "react-infinite-scroll-component": "^6.1.0", "@types/react": "^18.0.0", "chalk": "^4.0.0", "@docsearch/css": "^3.0.0", "xhr-mock": "^2.4.1", "react-sortable-hoc": "^2.0.0", "increase-memory-limit...
; git=git ; git-tag-version=true ; commit-hooks=true ; global=false ; globalconfig=/usr/local/etc/npmrc ; global-style=false ; group=20 ; ham-it-up=false ; heading=npm ; if-present=false ; ignore-prepublish=false ; ignore-scripts=false ...
git clone git@github.com:riot/riot.git && cd riot 2) Set up your git branch git checkout -b feature/my-awesome-patch 3) Install the npm dependencies npm i 4) Build and test riot using the Makefile # To build and test riot $ make riot # To build without testing $ make raw...
circle delhi git graphql inspiration interview preparation javascript jest js json json parsing life tips Machine learning motivation node node.js productivity python react react hooks reactjs react memo typescript unit testing useEffect useRef useState Visual Studio Code vscode webdev...