mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 14:29:36 +01:00
Replace npm with yarn commands
This commit is contained in:
parent
c506420aae
commit
afc4d32661
@ -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
|
||||
```
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user