mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[ts] Remove superfluous NPM related files from root directory.
This commit is contained in:
parent
d521339bfe
commit
386f847667
19
.npmignore
19
.npmignore
@ -1,19 +0,0 @@
|
||||
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
|
||||
@ -202,6 +202,7 @@
|
||||
## Typescript/Javascript
|
||||
* **Breaking change:** refactored to ECMAScript modules. See this [blog post](http://esotericsoftware.com/blog/spine-goes-npm) as well as the updated [README.md](spine-ts/README.md).
|
||||
* **Breaking change:** the `build/` folder and compiled artifacts are no longer part of the repository. Instead, `npm run build` in `spine-ts/` to generate ECMAScript modules and IIFE modules in `spine-<module-name>/dist`.
|
||||
* **Breaking change:** the `.npmignore` and `package.json` files in the root directory have been deleted. Use the corresponding files in `spine-ts/` instead, or better, depend on the packages from the NPM registry.
|
||||
* Updated runtime to be compatible with TypeScript 3.6.3.
|
||||
* Added `AssetManager#setRawDataURI(path, data)`. Allows to set raw data URIs for a specific path, which in turn enables embedding assets into JavaScript/HTML.
|
||||
* Expose non-essential colors on bones, bounding box, clipping, and path attachments.
|
||||
@ -215,7 +216,6 @@
|
||||
* `AssetManager` constructor now takes an option `Downloader` instance. Used to download assets only once and share them between `AssetManager` instances.
|
||||
* Added web worker support to `AssetManager`.
|
||||
* Added various default parameters to `AnimationState` methods for ease of use.
|
||||
*
|
||||
|
||||
### WebGL backend
|
||||
* **Breaking change:** removed `SharedAssetManager`. Use `AssetManager` with a shared `Downloader` instance instead.
|
||||
|
||||
29
package.json
29
package.json
@ -1,29 +0,0 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user