Skip to content

Commit

Permalink
remove need to install grunt globally
Browse files Browse the repository at this point in the history
  • Loading branch information
valdrinkoshi committed Nov 22, 2017
1 parent 89e9d3b commit d71f8bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ If you think something could be improved and you're able to do so, make your cha
Storefront utilises technologies such as [Grunt](http://gruntjs.com/), [Sass](http://sass-lang.com/), [Bourbon](http://bourbon.io/) and [Susy](http://susy.oddbird.net/) to standardise and speed up development. You should familiarise yourself with each before contributing. To get started with your Storefront development environment:

* Install [Node.js](https://nodejs.org/en/) with NPM, its package manager.
* Install [Grunt](http://gruntjs.com/installing-grunt).
* [Fork](https://help.github.com/articles/fork-a-repo/) the [Storefront repository](https://github.com/woothemes/storefront) on GitHub.
* Pull the Storefront project dependencies into your environment by navigating to your `/storefront/` directory in Terminal then run `npm install`.
* Run Grunt jobs with the command `grunt`. This will create local copies of Storefront css (we do not version control the .css files) and minify them and JS scripts.
* Run Grunt jobs with the command `npm run build`. This will create local copies of Storefront css (we do not version control the .css files) and minify them and JS scripts.

You're now ready to go! You can now activate Storefront in your WordPress install and begin making changes.

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"type": "git",
"url": "https://github.com/woothemes/storefront.git"
},
"scripts": {
"build": "grunt"
},
"license": "GPL-2.0+",
"main": "Gruntfile.js",
"devDependencies": {
Expand Down

0 comments on commit d71f8bf

Please sign in to comment.