Add npm support (#793)

Add package.json and npmignore to support installation of runtimes via
npm (address #711).
This commit is contained in:
David Calhoun 2016-12-14 08:58:40 -06:00 committed by Mario Zechner
parent 3ced1e1daf
commit a8a20fce13
2 changed files with 48 additions and 0 deletions

19
.npmignore Normal file
View File

@ -0,0 +1,19 @@
CMakeLists.txt
examples
spine-as3
spine-c
spine-cocos2d-objc
spine-cocos2dx
spine-corona
spine-csharp
spine-js
spine-libgdx
spine-love
spine-lua
spine-monogame
spine-sfml
spine-starling
spine-threejs
spine-tk2d
spine-unity
spine-xna

29
package.json Normal file
View File

@ -0,0 +1,29 @@
{
"name": "spine-runtimes",
"version": "3.5.35",
"description": "2D skeletal animation runtimes for Spine.",
"main": "spine-ts/build/spine-all.js",
"directories": {
"example": "examples"
},
"files": [
"spine-ts"
],
"repository": {
"type": "git",
"url": "git@github.com:EsotericSoftware/spine-runtimes.git"
},
"keywords": [
"spine",
"runtimes",
"2d",
"skeletal",
"animation"
],
"author": "Esoteric Software",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/EsotericSoftware/spine-runtimes/issues"
},
"homepage": "https://github.com/EsotericSoftware/spine-runtimes#readme"
}