mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
npm ready
This commit is contained in:
parent
61542ea6cc
commit
efa2de2f04
@ -2,6 +2,7 @@ dist
|
||||
doc-includes
|
||||
jsdoc-master
|
||||
src
|
||||
docs
|
||||
test
|
||||
.travis.yml
|
||||
Gruntfile.js
|
||||
|
18
.travis.yml
18
.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
|
||||
|
@ -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: {
|
||||
|
11
README.md
11
README.md
@ -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
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "KineticJS",
|
||||
"name": "kinetic",
|
||||
"version": "5.1.1",
|
||||
"devDependencies": {
|
||||
"grunt-contrib-jshint": "0.8.0",
|
||||
|
Loading…
Reference in New Issue
Block a user