Skip to content

Commit

Permalink
Switch to yarn package manager (https://yarnpkg.com/)
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Oct 12, 2016
1 parent b4924e2 commit d1b6db3
Show file tree
Hide file tree
Showing 4 changed files with 5,193 additions and 3,760 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ matrix:
allow_failures:
- node_js: 4
before_script:
- npm install -g gulp webpack
# `npm install` is run automatically
# take care of automatic npm install (travis-ci/travis-ci#6713)
- rm -rf node_modules/
# see README.md
- npm install -g gulp webpack yarn
- yarn --pure-lockfile
script:
- gulp compile:web
- npm test
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,25 @@ HearthStone replays in your browser, written in Typescript with React.
- Node.js ~v6.6 (v4.5 should also work, but is not officially supported)
- Compiling: `npm install -g gulp webpack`
- Development: `npm install -g electron-prebuilt gulp webpack`
- [yarn](https://yarnpkg.com/) (optional): `npm install -g yarn`


## Compiling

```
npm install
yarn
```

```
gulp compile
```

### Alternatively

```
npm install
```


## Embedding

Expand Down
Loading

0 comments on commit d1b6db3

Please sign in to comment.