mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
chore(readme): fix readme file, update husky config
This commit is contained in:
parent
05df88702a
commit
a0c8f2fad0
3
.github/workflows/linux-tests.yml
vendored
3
.github/workflows/linux-tests.yml
vendored
@ -6,6 +6,9 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
HUSKY: 0
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18.x, 20.x, 22.x]
|
||||
|
||||
3
.github/workflows/windows-tests.yml
vendored
3
.github/workflows/windows-tests.yml
vendored
@ -7,6 +7,9 @@ jobs:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
env:
|
||||
HUSKY: 0
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18.x, 20.x, 22.x]
|
||||
|
||||
1
.husky/commit-msg
Normal file
1
.husky/commit-msg
Normal file
@ -0,0 +1 @@
|
||||
npx commitlint --edit
|
||||
@ -4,8 +4,7 @@
|
||||
[](https://www.npmjs.com/package/env-cmd)
|
||||
[](https://www.npmjs.com/package/env-cmd)
|
||||
[](https://github.com/toddbluhm/env-cmd/blob/master/LICENSE)
|
||||
[](https://github.com/toddbluhm/ts-standard)
|
||||
[](https://dependabot.com/)
|
||||
[](https://github.com/typescript-eslint/typescript-eslint)
|
||||
|
||||
# env-cmd
|
||||
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
"env-cmd": "bin/env-cmd.js"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "husky",
|
||||
"test": "mocha -r ts-node/register ./test/**/*.ts",
|
||||
"test-cover": "nyc npm test",
|
||||
"coveralls": "coveralls < coverage/lcov.info",
|
||||
@ -102,11 +103,6 @@
|
||||
"devDependencyPin": "fix: pin devDependecy ${dependency}"
|
||||
}
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
||||
}
|
||||
},
|
||||
"commitlint": {
|
||||
"extends": [
|
||||
"@commitlint/config-conventional"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user