diff --git a/spine-ts/index.html b/spine-ts/index.html index ddbe3d877..9b4ac823a 100644 --- a/spine-ts/index.html +++ b/spine-ts/index.html @@ -9,9 +9,8 @@ - +

spine-ts Examples

+

Canvas

\ No newline at end of file diff --git a/spine-ts/package.json b/spine-ts/package.json index a939a4ce3..127850cdf 100644 --- a/spine-ts/package.json +++ b/spine-ts/package.json @@ -9,13 +9,14 @@ "prepublish": "npm run clean && npm run build", "clean": "npx rimraf spine-core/dist spine-canvas/dist spine-webgl/dist spine-player/dist spine-threejs/dist", "build": "npm run clean && npm run build:modules && concurrently \"npm run build:core\" \"npm run build:canvas\" \"npm run build:webgl\" \"npm run build:player\" \"npm run build:threejs\"", + "postbuild": "npm run minify", "build:modules": "npx tsc -b -clean && npx tsc -b", "build:core": "npx esbuild --bundle spine-core/src/index.ts --tsconfig=spine-core/tsconfig.json --sourcemap --outfile=spine-core/dist/iife/spine-core.js --format=iife --global-name=spine", "build:canvas": "npx esbuild --bundle spine-canvas/src/index.ts --tsconfig=spine-canvas/tsconfig.json --sourcemap --outfile=spine-canvas/dist/iife/spine-canvas.js --format=iife --global-name=spine", "build:webgl": "npx esbuild --bundle spine-webgl/src/index.ts --tsconfig=spine-webgl/tsconfig.json --sourcemap --outfile=spine-webgl/dist/iife/spine-webgl.js --format=iife --global-name=spine", "build:player": "npx copyfiles -f spine-player/css/spine-player.css spine-player/dist/ && npx npx esbuild --bundle spine-player/src/index.ts --tsconfig=spine-player/tsconfig.json --sourcemap --outfile=spine-player/dist/iife/spine-player.js --format=iife --global-name=spine", "build:threejs": "npx esbuild --bundle spine-threejs/src/index.ts --tsconfig=spine-threejs/tsconfig.json --sourcemap --outfile=spine-threejs/dist/iife/spine-threejs.js --external:three --format=iife --global-name=spine", - "minify": "npx esbuild --minify spine-core/dist/iife/spine-core.js --outfile=spine-core/dist/iife/spine-core.min.js", + "minify": "npx esbuild --minify spine-core/dist/iife/spine-core.js --outfile=spine-core/dist/iife/spine-core.min.js && npx esbuild --minify spine-canvas/dist/iife/spine-canvas.js --outfile=spine-canvas/dist/iife/spine-canvas.min.js && npx esbuild --minify spine-player/dist/iife/spine-player.js --outfile=spine-player/dist/iife/spine-player.min.js && npx esbuild --minify spine-webgl/dist/iife/spine-webgl.js --outfile=spine-webgl/dist/iife/spine-webgl.min.js && npx esbuild --minify spine-threejs/dist/iife/spine-threejs.js --outfile=spine-threejs/dist/iife/spine-threejs.min.js", "dev": "concurrently \"npx live-server --no-browser\" \"npm run dev:canvas\" \"npm run dev:webgl\" \"npm run dev:player\" \"npm run dev:threejs\"", "dev:canvas": "npm run build:canvas -- --watch", "dev:webgl": "npm run build:webgl -- --watch", diff --git a/spine-ts/spine-canvas/package.json b/spine-ts/spine-canvas/package.json index be3a2c80d..c1f4b442c 100644 --- a/spine-ts/spine-canvas/package.json +++ b/spine-ts/spine-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-canvas", - "version": "4.0.3", + "version": "4.0.4", "description": "The official Spine Runtimes for the web.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/spine-ts/spine-core/package-lock.json b/spine-ts/spine-core/package-lock.json index f3b9d6d21..1a845fe13 100644 --- a/spine-ts/spine-core/package-lock.json +++ b/spine-ts/spine-core/package-lock.json @@ -1,12 +1,12 @@ { "name": "@esotericsoftware/spine-core", - "version": "4.0.3", + "version": "4.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@esotericsoftware/spine-core", - "version": "4.0.3", + "version": "4.0.4", "license": "LicenseRef-LICENSE" } } diff --git a/spine-ts/spine-core/package.json b/spine-ts/spine-core/package.json index 85350ffe8..2abdbba1d 100644 --- a/spine-ts/spine-core/package.json +++ b/spine-ts/spine-core/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-core", - "version": "4.0.3", + "version": "4.0.4", "description": "The official Spine Runtimes for the web.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/spine-ts/spine-player/package.json b/spine-ts/spine-player/package.json index 35aa6e441..94053f8be 100644 --- a/spine-ts/spine-player/package.json +++ b/spine-ts/spine-player/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-player", - "version": "4.0.3", + "version": "4.0.4", "description": "The official Spine Runtimes for the web.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/spine-ts/spine-threejs/package-lock.json b/spine-ts/spine-threejs/package-lock.json index 554ae3ecd..3d4b923cc 100644 --- a/spine-ts/spine-threejs/package-lock.json +++ b/spine-ts/spine-threejs/package-lock.json @@ -1,12 +1,12 @@ { "name": "@esotericsoftware/spine-canvas", - "version": "4.0.3", + "version": "4.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@esotericsoftware/spine-canvas", - "version": "4.0.3", + "version": "4.0.4", "license": "LicenseRef-LICENSE", "dependencies": { "@types/three": "^0.131.0", diff --git a/spine-ts/spine-threejs/package.json b/spine-ts/spine-threejs/package.json index 4736589fb..fbd55cabd 100644 --- a/spine-ts/spine-threejs/package.json +++ b/spine-ts/spine-threejs/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-threejs", - "version": "4.0.3", + "version": "4.0.4", "description": "The official Spine Runtimes for the web.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/spine-ts/spine-webgl/package.json b/spine-ts/spine-webgl/package.json index 65dbfcf10..855899ca7 100644 --- a/spine-ts/spine-webgl/package.json +++ b/spine-ts/spine-webgl/package.json @@ -1,6 +1,6 @@ { "name": "@esotericsoftware/spine-webgl", - "version": "4.0.3", + "version": "4.0.4", "description": "The official Spine Runtimes for the web.", "main": "dist/index.js", "types": "dist/index.d.ts",