diff --git a/README.md b/README.md index 988f16a..0203043 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ To deploy to github pages, simply do the following: - Run the standard deploy command ```sh -npm run deploy +yarn deploy ``` @@ -92,11 +92,11 @@ npm run deploy $ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git $ cd [REPO_NAME] $ yarn -$ npm run develop +$ yarn develop ``` To test the CMS locally, you'll need run a production build of the site: ``` -$ npm run build +$ yarn build $ gatsby serve ``` diff --git a/package.json b/package.json index 311592a..bf0ec49 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,14 @@ "description": "A minimal, lightweight and mobile-first starter for creating blazing-fast static blogs", "main": "n/a", "scripts": { - "develop": "yarn run clean && gatsby develop", - "build": "yarn run clean && gatsby build", - "deploy": "yarn run clean && gatsby build --prefix-paths && gh-pages -d public", + "develop": "yarn clean && gatsby develop", + "build": "yarn clean && gatsby build", + "deploy": "yarn clean && gatsby build --prefix-paths && gh-pages -d public", "clean": "rimraf .cache public", "flow": "flow", "lint:js": "eslint --cache --ext .js,.jsx .", "lint:scss": "stylelint \"src/**/*.scss\"", - "lint": "concurrently \"yarn run lint:js\" \"yarn run lint:scss\" \"yarn flow\"", + "lint": "concurrently \"yarn lint:js\" \"yarn lint:scss\" \"yarn flow\"", "test": "jest --config ./jest/jest-config.js", "test:coverage": "jest --coverage --config ./jest/jest-config.js", "test:watch": "jest --watch --config ./jest/jest-config.js"