Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js
node_js:
- "4"
- "5"
- "6"
script:
- npm run check:src
- npm run build
branches:
only:
- master
cache:
directories:
- $HOME/.npm
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Some guidelines in reading this document:

## [new release]

* Adds integration with Travis and adds NPM and Travis badges
* Implements reducer tests ([#6](https://github.com/log-oscon/redux-wpapi/pull/6))
* Draft on Contributions and the introduction of this `CHANGELOG.md` file ([#5](https://github.com/log-oscon/redux-wpapi/pull/5))
* Fix FAILURE handling ([#3](https://github.com/log-oscon/redux-wpapi/pull/3))
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# redux-wpapi
[![npm version](https://img.shields.io/npm/v/redux.svg?style=flat-square)](https://www.npmjs.com/package/redux-wpapi)
[![Build Status](https://travis-ci.org/log-oscon/redux-wpapi.svg?branch=master)](https://travis-ci.org/log-oscon/redux-wpapi)

A [node-wpapi](https://github.com/WP-API/node-wpapi) integration for a Redux based Application.

Expand Down
22 changes: 22 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,19 @@
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"prepublish": "npm run clean && npm run check:src && npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/log-oscon/redux-wpapi.git"
},
"author": "log.OSCON <engenharia@log.pt> (http://www.log.pt/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/log-oscon/redux-wpapi/issues"
},
"dependencies": {
"immutable": "^3.8.1",
"lodash": "^4.15.0",
"loose-envify": "^1.2.0",
"qs": "^6.2.1",
"reselect": "^2.5.3"
},
Expand All @@ -50,5 +58,19 @@
"rimraf": "^2.5.4",
"webpack": "^1.13.2",
"wpapi": "^0.9.1"
},
"npmName": "redux-wpapi",
"npmFileMap": [
{
"basePath": "/dist/",
"files": [
"*.js"
]
}
],
"browserify": {
"transform": [
"loose-envify"
]
}
}