From 96c8d014e312ed0aae9a3341f0a402862107f797 Mon Sep 17 00:00:00 2001 From: mistikk Date: Thu, 18 Oct 2018 20:40:48 +0300 Subject: [PATCH] Changed all yarn codes to npm --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d2315f34a..ed90197cf 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "lint:fix": "eslint src/ --fix", "format": "prettier --print-width=100 --single-quote --trailing-comma all --write \"{src,__tests__}/**/*.js\"", "lint-staged": "lint-staged", - "clear": "watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && yarn cache clean && yarn install && yarn start -- --reset-cache" + "clear": "watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm install && npm start -- --reset-cache" }, "dependencies": { "@babel/runtime": "^7.1.2", @@ -66,7 +66,7 @@ }, "lint-staged": { "*.js": [ - "yarn run lint:fix", + "npm run lint:fix", "git add" ] },