feat: ban npm to solve potential bugs (#296)

Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
This commit is contained in:
turbodog03
2021-09-17 17:07:31 +08:00
committed by GitHub
parent 69794fe29d
commit 08eaf298c1
2 changed files with 5 additions and 4 deletions

View File

@ -32,7 +32,8 @@
"build": "craco build",
"test": "craco test",
"eject": "craco eject",
"crowdin:sync": "crowdin upload && crowdin download"
"crowdin:sync": "crowdin upload && crowdin download",
"preinstall": "npx use-yarn -m 'Please use yarn!'"
},
"eslintConfig": {
"extends": "react-app"