Skip to content

Commit

Permalink
chore(yarn): use yarn, update readme (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
bantic authored Nov 2, 2016
1 parent 8f48cbb commit 0271871
Show file tree
Hide file tree
Showing 4 changed files with 3,985 additions and 11 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ dist: trusty
cache:
directories:
- node_modules
- $HOME/.yarn-cache

before_install:
- npm install -g npm@^3
- npm config set progress false
- npm install -g yarn
- npm install phantomjs-prebuilt

install:
- npm install -g broccoli-cli
- npm install
- yarn

script:
- npm run test:ci
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,17 +319,15 @@ Fork the repo, write a test, make a change, open a PR.

### Tests

Install npm and bower:
Install dependencies via yarn:

* [Node.js](http://nodejs.org/) is required
* `npm install -g npm && npm install -g bower`
* `broccoli`, via `npm install -g broccoli-cli`
* `bower install`
* `npm install`
* Install [yarn](https://yarnpkg.com/en/docs/install) globally: `npm install -g yarn` or `brew install yarn`
* Install dependencies with yarn: `yarn install`

Run tests via the built-in broccoli server:

* `broccoli serve`
* `npm start`
* `open http://localhost:4200/tests`

Or run headless tests via testem:
Expand All @@ -353,7 +351,7 @@ in `demo/`. To run the demo:
If you notice a bug or have a feature request please [open an issue on github](https://github.com/bustlelabs/mobiledoc-kit/issues).
If you have a question about usage you can post in the [gitter channel](https://gitter.im/bustlelabs/mobiledoc-kit) or on StackOverflow using the [`mobiledoc-kit` tag](http://stackoverflow.com/questions/tagged/mobiledoc-kit).

### Releasing
### Releasing (Implementer notes)

* Use `np` (`npm install -g np`)
* `np <version>` (e.g. `np 0.12.0`)
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
},
"devDependencies": {
"broccoli": "^0.16.9",
"broccoli-cli": "^1.0.0",
"broccoli-funnel": "^1.0.1",
"broccoli-inject-livereload": "^0.2.0",
"broccoli-less-single": "^0.6.2",
Expand Down
Loading

0 comments on commit 0271871

Please sign in to comment.