From a8a20fce135a5a2aac16fb970091fbf65af0d0b9 Mon Sep 17 00:00:00 2001 From: David Calhoun Date: Wed, 14 Dec 2016 08:58:40 -0600 Subject: [PATCH] Add npm support (#793) Add package.json and npmignore to support installation of runtimes via npm (address #711). --- .npmignore | 19 +++++++++++++++++++ package.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .npmignore create mode 100644 package.json diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000000..071fcd0ed4 --- /dev/null +++ b/.npmignore @@ -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 diff --git a/package.json b/package.json new file mode 100644 index 0000000000..9104d72ae2 --- /dev/null +++ b/package.json @@ -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" +}