Skip to content

Commit

Permalink
install grunt-cli locally and add an npm script for it
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke committed Nov 3, 2015
1 parent 7205ad5 commit 174a92d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ before_install:
- export GEMDIR=$(rvm gemdir)

install:
- travis_retry npm install -g grunt-cli
- travis_retry npm install
- travis_retry gem install --no-document "jekyll:~>3.0.0" "rouge:~>1.10" "sass:~>3.4"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Please file a GitHub issue to [report a bug](https://github.com/connors/photon/i
1. Install node dependencies: `npm install`.
2. Open the example app: `npm start`.

Modifying source Sass files? Open a second Terminal tab and run `grunt` to kick off a build the compiled `photon.css`.
Modifying source Sass files? Open a second Terminal tab and run `npm run build` to kick off a build the compiled `photon.css`.

## Versioning

Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"url": "https://github.com/connors/photon/issues"
},
"scripts": {
"start": "electron dist/template-app"
"start": "electron dist/template-app",
"build": "grunt"
},
"license": "MIT",
"devDependencies": {
Expand All @@ -38,5 +39,8 @@
"grunt-sed": "twbs/grunt-sed#v0.2.0",
"load-grunt-tasks": "~3.2.0",
"time-grunt": "~1.2.0"
},
"dependencies": {
"grunt-cli": "^0.1.13"
}
}

0 comments on commit 174a92d

Please sign in to comment.