Skip to content

Commit 8a10cd0

Browse files
authored
Merge pull request #7 from log-oscon/feature/integrations
Adds some integrations (Travis and NPM Badge)
2 parents 9f0dfc3 + b3af938 commit 8a10cd0

File tree

4 files changed

+38
-0
lines changed

4 files changed

+38
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: node_js
2+
node_js:
3+
- "4"
4+
- "5"
5+
- "6"
6+
script:
7+
- npm run check:src
8+
- npm run build
9+
branches:
10+
only:
11+
- master
12+
cache:
13+
directories:
14+
- $HOME/.npm

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Some guidelines in reading this document:
1111

1212
## [new release]
1313

14+
* Adds integration with Travis and adds NPM and Travis badges
1415
* Implements reducer tests ([#6](https://github.com/log-oscon/redux-wpapi/pull/6))
1516
* Draft on Contributions and the introduction of this `CHANGELOG.md` file ([#5](https://github.com/log-oscon/redux-wpapi/pull/5))
1617
* Fix FAILURE handling ([#3](https://github.com/log-oscon/redux-wpapi/pull/3))

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# redux-wpapi
22
[![npm version](https://img.shields.io/npm/v/redux.svg?style=flat-square)](https://www.npmjs.com/package/redux-wpapi)
3+
[![Build Status](https://travis-ci.org/log-oscon/redux-wpapi.svg?branch=master)](https://travis-ci.org/log-oscon/redux-wpapi)
34

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

package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,19 @@
2222
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
2323
"prepublish": "npm run clean && npm run check:src && npm run build"
2424
},
25+
"repository": {
26+
"type": "git",
27+
"url": "https://github.com/log-oscon/redux-wpapi.git"
28+
},
2529
"author": "log.OSCON <[email protected]> (http://www.log.pt/)",
2630
"license": "MIT",
31+
"bugs": {
32+
"url": "https://github.com/log-oscon/redux-wpapi/issues"
33+
},
2734
"dependencies": {
2835
"immutable": "^3.8.1",
2936
"lodash": "^4.15.0",
37+
"loose-envify": "^1.2.0",
3038
"qs": "^6.2.1",
3139
"reselect": "^2.5.3"
3240
},
@@ -50,5 +58,19 @@
5058
"rimraf": "^2.5.4",
5159
"webpack": "^1.13.2",
5260
"wpapi": "^0.9.1"
61+
},
62+
"npmName": "redux-wpapi",
63+
"npmFileMap": [
64+
{
65+
"basePath": "/dist/",
66+
"files": [
67+
"*.js"
68+
]
69+
}
70+
],
71+
"browserify": {
72+
"transform": [
73+
"loose-envify"
74+
]
5375
}
5476
}

0 commit comments

Comments
 (0)