Skip to content

Commit

Permalink
npm ready
Browse files Browse the repository at this point in the history
  • Loading branch information
lavrton committed Apr 17, 2014
1 parent 61542ea commit efa2de2
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -2,6 +2,7 @@ dist
doc-includes
jsdoc-master
src
docs
test
.travis.yml
Gruntfile.js
Expand Down
18 changes: 13 additions & 5 deletions .travis.yml
@@ -1,10 +1,18 @@
language: node_js
node_js:
- "0.11"
- '0.11'
branches:
only:
- master
- master
before_script:
- npm install
script:
- grunt test
- npm install
script:
- grunt test
deploy:
provider: npm
email: lavrton@gmail.com
api_key:
secure: rYqyBhn3K8tnt/XK6RFodBiIsIqwmUuPBEAOQxRt/elK4F7BVC+ba7/xgsvdFLP+Bqn4sS8b/YjfxUqm0lfxoph3qvvyKZ+qjuGCXBtvbY8EgGqX3FJKq/LJp8Vu4encCUOpI3PWXQEB+0OrC8ntKnBn1L1WP6lzDbRHj49e9ew=
on:
tags: true
repo: ericdrowell/KineticJS
2 changes: 1 addition & 1 deletion Gruntfile.js
Expand Up @@ -171,7 +171,7 @@ module.exports = function(grunt) {
},
uglify: {
options: {
banner: '/*! <%= pkg.name %> v<%= pkg.version %> <%= grunt.template.today("yyyy-mm-dd") %> http://www.kineticjs.com by Eric Rowell @ericdrowell - MIT License https://github.com/ericdrowell/KineticJS/wiki/License*/\n'
banner: '/*! KineticJS v<%= pkg.version %> <%= grunt.template.today("yyyy-mm-dd") %> http://www.kineticjs.com by Eric Rowell @ericdrowell - MIT License https://github.com/ericdrowell/KineticJS/wiki/License*/\n'
},
build: {
files: {
Expand Down
11 changes: 7 additions & 4 deletions README.md
Expand Up @@ -31,12 +31,15 @@ Run `grunt docs` which will build the documentation files and place them in the

#NodeJS

Support of NodeJS is experimental.An nmp package is not yet published.
Support of NodeJS is experimental.

We are using (node-canvas)[https://github.com/LearnBoost/node-canvas] to create canvas element.
We are using [node-canvas](https://github.com/LearnBoost/node-canvas) to create canvas element.

* You have to install node-canvas dependencies (https://github.com/LearnBoost/node-canvas/wiki/_pages)[https://github.com/LearnBoost/node-canvas/wiki/_pages]
* Run `npm install KineticJS`
### Instalation

1. Install node-canvas [https://github.com/LearnBoost/node-canvas/wiki/_pages](https://github.com/LearnBoost/node-canvas/wiki/_pages)
2. `npm install jsdom`
3. `npm install kinetic`

###Example

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,5 +1,5 @@
{
"name": "KineticJS",
"name": "kinetic",
"version": "5.1.1",
"devDependencies": {
"grunt-contrib-jshint": "0.8.0",
Expand Down

0 comments on commit efa2de2

Please sign in to comment.