Skip to content

Commit

Permalink
chore: fully use roc-plugin-repo for building, linting and testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Jul 11, 2017
1 parent e5c6822 commit f036fa1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ cache:
node_js:
- 6.9
before_script:
- npm start link
after_success:
- npm start build
- npm start bootstrap
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,16 @@ Simplifies management of JavaScript repositories, supporting both monorepos and
## Overview

More to follow.

## Contribute

Use the local plugin on this repo by adding the following to the `package.json`.

```json
"roc": {
"plugins": [
"./extensions/roc-plugin-repo/lib",
"./extensions/roc-plugin-repo-roc/lib"
]
}
```
18 changes: 4 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,12 @@
"license": "MIT",
"private": true,
"scripts": {
"start": "rid"
"start": "roc",
"test": "roc lint && roc test && roc build"
},
"devDependencies": {
"@rocjs/roc-internal-dev": "^2.3.1",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.2.0",
"eslint-config-prettier": "^2.3.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-prettier": "^2.1.2",
"prettier": "^1.5.2",
"roc-plugin-repo": "*",
"roc-plugin-repo-roc": "*",
"roc": "^1.0.0-rc.20"
},
"roc": {
"plugins": [
"./extensions/roc-plugin-repo/lib",
"./extensions/roc-plugin-repo-roc/lib"
]
}
}

0 comments on commit f036fa1

Please sign in to comment.