Skip to content

Commit

Permalink
feature: force yarn when installing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
regevbr committed Mar 19, 2020
1 parent 210f87c commit 5a7e0c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"node": "^10 || ^12"
},
"scripts": {
"envcheck": "node -e 'if(!/yarn\\.js$/.test(process.env.npm_execpath))throw new Error(\"Use yarn\")'",
"preinstall": "yarn run envcheck",
"versionupdate": "yarn ncu && yarn install",
"clean:dist": "rm -rf dist && rm -f .buildcache",
"prebuild": "yarn run lint && yarn run clean:dist",
Expand Down Expand Up @@ -68,6 +70,7 @@
"lint-staged": "^10.0.8",
"npm-check-updates": "^4.0.4",
"prettier": "^1.19.1",
"semver": "^7.1.3",
"ts-jest": "^25.2.1",
"ts-node": "^8.7.0",
"typescript": "^3.8.3"
Expand Down

0 comments on commit 5a7e0c5

Please sign in to comment.