Skip to content

Commit

Permalink
Adds yarn, updates travis to install using yarn
Browse files Browse the repository at this point in the history
Yarn does not yet jive with bower, when it does this build step will be removed: yarnpkg/yarn#896
  • Loading branch information
AllenBW committed Oct 17, 2016
1 parent 26c817c commit 67fb5d4
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 --force
- 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 @@ -74,11 +74,11 @@
"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 All @@ -102,6 +102,11 @@
"body-parser": "^1.15.1",
"express": "^4.13.4",
"http-proxy": "^1.15.1",
"imagemin": "^5.2.2",
"imagemin-gifsicle": "^5.1.0",
"imagemin-jpegtran": "^5.0.2",
"imagemin-optipng": "^5.2.1",
"imagemin-svgo": "^5.2.0",
"jshint-json": "^1.0.0",
"morgan": "^1.7.0",
"serve-favicon": "^2.3.0"
Expand Down
Loading

0 comments on commit 67fb5d4

Please sign in to comment.