npm ready

This commit is contained in:
Лаврёнов Антон 2014-04-17 17:58:51 +08:00
parent 61542ea6cc
commit efa2de2f04
5 changed files with 23 additions and 11 deletions

View File

@ -2,6 +2,7 @@ dist
doc-includes doc-includes
jsdoc-master jsdoc-master
src src
docs
test test
.travis.yml .travis.yml
Gruntfile.js Gruntfile.js

View File

@ -1,10 +1,18 @@
language: node_js language: node_js
node_js: node_js:
- "0.11" - '0.11'
branches: branches:
only: only:
- master - master
before_script: before_script:
- npm install - npm install
script: script:
- grunt test - 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 File

@ -171,7 +171,7 @@ module.exports = function(grunt) {
}, },
uglify: { uglify: {
options: { 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: { build: {
files: { files: {

View File

@ -31,12 +31,15 @@ Run `grunt docs` which will build the documentation files and place them in the
#NodeJS #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] ### Instalation
* Run `npm install KineticJS`
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 ###Example

View File

@ -1,5 +1,5 @@
{ {
"name": "KineticJS", "name": "kinetic",
"version": "5.1.1", "version": "5.1.1",
"devDependencies": { "devDependencies": {
"grunt-contrib-jshint": "0.8.0", "grunt-contrib-jshint": "0.8.0",