Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds yarn, updates travis to install using yarn #252

Merged
merged 1 commit into from
Oct 17, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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