mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-10-31 00:29:46 +01:00 
			
		
		
		
	Merge pull request #856 from vinnymac/feature/simplify
Replace npm with yarn commands
This commit is contained in:
		| @@ -83,7 +83,7 @@ To deploy to github pages, simply do the following: | |||||||
| - Run the standard deploy command | - Run the standard deploy command | ||||||
|  |  | ||||||
| ```sh | ```sh | ||||||
| npm run deploy | yarn deploy | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -92,11 +92,11 @@ npm run deploy | |||||||
| $ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git | $ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git | ||||||
| $ cd [REPO_NAME] | $ cd [REPO_NAME] | ||||||
| $ yarn | $ yarn | ||||||
| $ npm run develop | $ yarn develop | ||||||
| ``` | ``` | ||||||
| To test the CMS locally, you'll need run a production build of the site: | To test the CMS locally, you'll need run a production build of the site: | ||||||
| ``` | ``` | ||||||
| $ npm run build | $ yarn build | ||||||
| $ gatsby serve | $ gatsby serve | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|   | |||||||
| @@ -4,14 +4,14 @@ | |||||||
|   "description": "A minimal, lightweight and mobile-first starter for creating blazing-fast static blogs", |   "description": "A minimal, lightweight and mobile-first starter for creating blazing-fast static blogs", | ||||||
|   "main": "n/a", |   "main": "n/a", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|     "develop": "yarn run clean && gatsby develop", |     "develop": "yarn clean && gatsby develop", | ||||||
|     "build": "yarn run clean && gatsby build", |     "build": "yarn clean && gatsby build", | ||||||
|     "deploy": "yarn run clean && gatsby build --prefix-paths && gh-pages -d public", |     "deploy": "yarn clean && gatsby build --prefix-paths && gh-pages -d public", | ||||||
|     "clean": "rimraf .cache public", |     "clean": "rimraf .cache public", | ||||||
|     "flow": "flow", |     "flow": "flow", | ||||||
|     "lint:js": "eslint --cache --ext .js,.jsx .", |     "lint:js": "eslint --cache --ext .js,.jsx .", | ||||||
|     "lint:scss": "stylelint \"src/**/*.scss\"", |     "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": "jest --config ./jest/jest-config.js", | ||||||
|     "test:coverage": "jest --coverage --config ./jest/jest-config.js", |     "test:coverage": "jest --coverage --config ./jest/jest-config.js", | ||||||
|     "test:watch": "jest --watch --config ./jest/jest-config.js" |     "test:watch": "jest --watch --config ./jest/jest-config.js" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user