Skip to content

Commit

Permalink
add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
fephil committed Apr 10, 2016
1 parent a364b04 commit 2ef326c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
git:
depth: 1
language: node_js
node_js:
- '0.12'
- '4'
- '5'
cache:
directories:
- node_modules
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ This plugin supports selecting a directory of `.json` files using a globbing pat

## Installation

```
$ npm install metalsmith-metadata-directory --save-dev
```

## CLI Usage

Expand All @@ -39,8 +41,8 @@ Install the plugin using npm, and simply specify the directory you want to use,
## Javascript Usage

```js
var Metalsmith = require('metalsmith');
var metadata = require('metalsmith-metadata-directory');
var Metalsmith = require('metalsmith')
var metadata = require('metalsmith-metadata-directory')

metalsmith.use(metadata({
directory: '/src/data/**/*.json'
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "0.0.1",
"description": "A Metalsmith plugin to add a directory of JSON files for use in templates and pages",
"main": "lib/index.js",
"scripts": {
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fephil/metalsmith-metadata-directory.git"
Expand Down

0 comments on commit 2ef326c

Please sign in to comment.