Merge pull request #410 from shocknet/avoid-npm
Avoids accidentally running npm
This commit is contained in:
commit
6943014001
2 changed files with 4 additions and 0 deletions
1
.npmrc
Normal file
1
.npmrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
engine-strict = true
|
||||
|
|
@ -110,5 +110,8 @@
|
|||
"hooks": {
|
||||
"pre-commit": "yarn lint && yarn typecheck && yarn lint-staged"
|
||||
}
|
||||
},
|
||||
"engines": {
|
||||
"npm": "Use yarn!"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue