Skip to content

Commit

Permalink
Merge pull request #252 from AllenBW/enhancement/245-add-yarm
Browse files Browse the repository at this point in the history
Adds yarn, updates travis to install using yarn
  • Loading branch information
chriskacerguis authored Oct 17, 2016
2 parents 26c817c + 7d5d0d3 commit 9ea93b9
Show file tree
Hide file tree
Showing 4 changed files with 7,090 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ cache:
directories:
- node_modules
before_install:
- npm install -g gulp bower
- npm install -g yarn gulp bower
install:
- yarn install
- bower install -F
- gulp build
after_script:
- codeclimate-test-reporter < reports/coverage/report-lcov/lcov.info
notifications:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ Logging in to the SUI requires a running instance of ManageIQ. Instructions on h
`git clone git@github.com:ManageIQ/manageiq-ui-self_service.git`.
- Have nodejs **v6.7.0** and npm **3.10.3** installed ([NVM](https://github.com/creationix/nvm) is a popular solution
to manage node and npm versions).
- Have bower and gulp globally installed.
- `npm install -g bower gulp`
- Have yarn bower and gulp globally installed.
- `npm install -g yarn bower gulp`

### Install Dependencies

- `cd manageiq-ui-self_service`
- `npm install`
- `yarn`
- `bower install`

### Setup
Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/ManageIQ/manageiq-ui-self_service.git"
},
"scripts": {
"init": "npm install",
"init": "yarn install",
"install": "bower install -F",
"postinstall": "gulp build",
"start": "node src/server/app.js",
Expand Down Expand Up @@ -68,17 +68,22 @@
"gulp-uglify": "^2.0.0",
"gulp-useref": "^3.1.2",
"gulp-util": "^3.0.4",
"imagemin": "^5.2.2",
"imagemin-gifsicle": "^5.1.0",
"imagemin-jpegtran": "^5.0.2",
"imagemin-optipng": "^5.2.1",
"imagemin-svgo": "^5.2.0",
"jscs": "^3.0.7",
"jshint-json": "^1.0.0",
"jshint-stylish": "^2.2.1",
"karma": "^1.3.0",
"karma-chai": "^0.1.0",
"karma-chai-sinon": "^0.1.4",
"karma-chrome-launcher": "0.1.4",
"karma-coverage": "^1.1.1",
"karma-growl-reporter": "^1.0.0",
"karma-mocha": "^1.1.1",
"karma-phantomjs-launcher": "^1.0.2",
"karma-chrome-launcher": "0.1.4",
"karma-sinon": "^1.0.4",
"lodash": "^4.15.0",
"merge": "^1.2.0",
Expand Down
Loading

0 comments on commit 9ea93b9

Please sign in to comment.