Skip to content

Commit

Permalink
Merge pull request #59 from spmjs/master
Browse files Browse the repository at this point in the history
Add spm support
  • Loading branch information
JacksonTian committed Jan 15, 2015
2 parents e8d9412 + 1104b46 commit 0e8fa7f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EventProxy [![Build Status](https://secure.travis-ci.org/JacksonTian/eventproxy.png)](http://travis-ci.org/JacksonTian/eventproxy) [![NPM version](https://badge.fury.io/js/eventproxy.png)](http://badge.fury.io/js/eventproxy) [English Doc](https://github.com/JacksonTian/eventproxy/blob/master/README_en.md)
EventProxy [![Build Status](https://secure.travis-ci.org/JacksonTian/eventproxy.png)](http://travis-ci.org/JacksonTian/eventproxy) [![NPM version](https://badge.fury.io/js/eventproxy.png)](http://badge.fury.io/js/eventproxy) [![spm package](http://spmjs.io/badge/eventproxy)](http://spmjs.io/package/eventproxy) [English Doc](https://github.com/JacksonTian/eventproxy/blob/master/README_en.md)
======

[![NPM](https://nodei.co/npm/eventproxy.png?downloads=true&stars=true)](https://nodei.co/npm/eventproxy)
Expand Down Expand Up @@ -73,6 +73,12 @@ $ npm install eventproxy
var EventProxy = require('eventproxy');
```

### [spm](http://spmjs.io/package/eventproxy)

```bash
$ spm install eventproxy
```

### Component

```bash
Expand Down
6 changes: 6 additions & 0 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ Usage:
var EventProxy = require('eventproxy');
```

### [spm](http://spmjs.io/package/eventproxy)

```bash
$ spm install eventproxy
```

### For browser
Following examples direct resource address of Github, and you can also download [resource file](https://raw.github.com/JacksonTian/eventproxy/master/lib/eventproxy.js) to your own project. 500 lines in total including comments and blank lines. To ensure the easy integrate with your project, EventProxy doesn't provide the minified version. You can use Uglify, YUI Compressor or Google Closure Complier to compress it.

Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,9 @@
"doc": "doc",
"test": "test"
},
"license": "MIT"
"license": "MIT",
"spm": {
"main": "index.js",
"ignore": ["test"]
}
}

0 comments on commit 0e8fa7f

Please sign in to comment.