From 2ce66662e11614b0e4bd35df658aff2e275c4b86 Mon Sep 17 00:00:00 2001 From: Harrison Heck Date: Tue, 15 Aug 2017 10:08:45 -0400 Subject: [PATCH] Use yarn instead of npm for scripts. (#2083) --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 03b7d7c6..2460fbfb 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,18 @@ { "repository": "zeit/hyper", "scripts": { - "start": "echo 'please run `npm run dev` in one tab and then `npm run app` in another one'", + "start": "echo 'please run `yarn run dev` in one tab and then `yarn run app` in another one'", "app": "electron app", "dev": "webpack -w", "build": "cross-env NODE_ENV=production webpack", "lint": "xo", - "test": "npm run lint", + "test": "yarn run lint", "test:unit": "ava test/unit", - "test:unit:watch": "npm run test:unit -- --watch", - "prepush": "npm test", - "postinstall": "electron-builder install-app-deps && npm run rebuild-node-pty", + "test:unit:watch": "yarn run test:unit -- --watch", + "prepush": "yarn test", + "postinstall": "electron-builder install-app-deps && yarn run rebuild-node-pty", "rebuild-node-pty": "electron-rebuild -f -w app/node_modules/node-pty -m app", - "dist": "npm run build && cross-env BABEL_ENV=production babel --out-file app/renderer/bundle.js --no-comments --minified app/renderer/bundle.js && build", + "dist": "yarn run build && cross-env BABEL_ENV=production babel --out-file app/renderer/bundle.js --no-comments --minified app/renderer/bundle.js && build", "clean": "node ./bin/rimraf-standalone.js node_modules && node ./bin/rimraf-standalone.js ./app/node_modules && node ./bin/rimraf-standalone.js ./app/renderer" }, "xo": {