Skip to content

Commit

Permalink
Merge branch 'release/1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekdev committed Dec 26, 2017
2 parents 548ff81 + da4392b commit 739ba18
Show file tree
Hide file tree
Showing 7 changed files with 7,069 additions and 3,298 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
language: node_js
node_js:
- "node"
- "7"
- "6"
- "8"

after_success:
- npm run coverage
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ yarn add build-revision --dev

### Example

#### ES5
#### ES2015

```javascript
var buildRevision = require('build-revision');
Expand All @@ -30,7 +30,7 @@ buildRevision().then(function(version){
});
```

#### ES7
#### ES2017+

```javascript
import buildRevision from 'build-revision';
Expand Down Expand Up @@ -78,7 +78,7 @@ Version | Build Version

> The timestamp is an ISO 8601 UTC string
```
```yml
Type: Promise
Throws: Error
- if the package version is not resolved
Expand All @@ -94,7 +94,7 @@ Returns:

Build metadata Prefix

```
```yml
Type: `String`
Default: `SHA`
```
Expand All @@ -103,7 +103,7 @@ Default: `SHA`

Search for the closest package.json starting from this directory

```
```yml
Type: `String`
Default: `.`
```
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ version: "{build}"
environment:
matrix:
# node.js
- nodejs_version: "6"
- nodejs_version: "7"
- nodejs_version: "8"
- nodejs_version: "9"

# End builds on first failure
matrix:
Expand Down

0 comments on commit 739ba18

Please sign in to comment.