Skip to content

Commit

Permalink
Merge pull request #1 from antoine-pous/npm
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpaulsen committed May 22, 2017
2 parents 866aab3 + 26118e0 commit 3888b38
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
/build
/build.sh
node_modules
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ dist: trusty
before_install:
- sudo apt-get update -qq
- sudo apt-get install nodejs
- sudo npm config set registry http://registry.npmjs.org/
- sudo npm config set registry http://registry.npmjs.org/
- sudo npm install -g node-gyp
- sudo npm install
script:
- node-gyp configure
- node-gyp build
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@ This native Node.js addon is a wrapper for the TeamSpeak 3 SDK and allows JavaSc
- [TeamSpeak 3 SDK](https://www.teamspeak.com)
- [Node.js](https://www.nodejs.org)
- [Native Addon Build Tool for Node.js](https://github.com/nodejs/node-gyp)
- [Native Abstractions for Node.js](https://github.com/nodejs/nan)

## Install NPM dependencies
```sh
npm install
```

## Building from Source

After cloning this repository including submodules, issue the following commands in the root directory:

node-gyp configure
node-gyp build
```sh
$ node-gyp configure
$ node-gyp build
```
1 change: 0 additions & 1 deletion node_modules/nan
Submodule nan deleted from 137bd5
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "node-ts3sdk-client",
"version": "3.0.3.2",
"version": "3.0.3-2",
"description": "TeamSpeak 3 SDK Client addon for Node.js",
"main": "app.js",
"repository": {
"type": "git",
"url": "git://github.com/svenpaulsen/node-ts3sdk-client.git"
},
"dependencies": {
"nan": "^2.4.0"
"nan": "^2.6.2"
}
}

0 comments on commit 3888b38

Please sign in to comment.