Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
anteriovieira authored Dec 21, 2017
1 parent 702155d commit 4050e6f
Showing 1 changed file with 9 additions and 34 deletions.
43 changes: 9 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ Vue.use(VueRaven, {
| path | `String` | `null` | Will be ignored if dsn provided. |
| disableAutoReport | `Boolean` | `false` | Disable auto report |



## Reporting Errors

### Disable auto report
Expand Down Expand Up @@ -99,43 +97,20 @@ export default {
}
}
}

## Development

### Launch visual tests

```bash
npm run dev
```

### Launch Karma with coverage

```bash
npm run dev:coverage
```

### Build

Bundle the js and css of to the `dist` folder:

```bash
npm run build
```

## Environment

## Publishing
By default VueRaven defines the environment as production, but you are free to configure this option.

The `prepublish` hook will ensure dist files are created before publishing. This
way you don't need to commit them in your repository.
```js
import Vue from 'vue'
import VueRaven from 'vue-raven'

```bash
# Bump the version first
# It'll also commit it and create a tag
npm version
# Push the bumped package and tags
git push --follow-tags
# Ship it 🚀
npm publish
Vue.use(VueRaven, {
dns: 'https://<key>@sentry.io/<project>'
dev: process.env.NODE_ENV !== 'production',
})
```

## License
Expand Down

0 comments on commit 4050e6f

Please sign in to comment.