Permalink
Browse files

npm ready

  • Loading branch information...
lavrton committed Apr 17, 2014
1 parent 61542ea commit efa2de2f0491e751f3221e102724b838a280bf44
Showing with 23 additions and 11 deletions.
  1. +1 −0 .npmignore
  2. +13 −5 .travis.yml
  3. +1 −1 Gruntfile.js
  4. +7 −4 README.md
  5. +1 −1 package.json
View
@@ -2,6 +2,7 @@ dist
doc-includes
jsdoc-master
src
docs
test
.travis.yml
Gruntfile.js
View
@@ -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
View
@@ -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: {
View
@@ -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
View
@@ -1,5 +1,5 @@
{
"name": "KineticJS",
"name": "kinetic",
"version": "5.1.1",
"devDependencies": {
"grunt-contrib-jshint": "0.8.0",

0 comments on commit efa2de2

Please sign in to comment.