mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
48 lines
2.0 KiB
JSON
48 lines
2.0 KiB
JSON
{
|
|
"name": "spine-ts",
|
|
"version": "4.0.1",
|
|
"description": "The official Spine Runtimes for the web.",
|
|
"scripts": {
|
|
"build": "rm -rf build && npm run build:core && npm run build:canvas && npm run build:webgl && npm run build:player && npm run build:threejs",
|
|
"build:core": "npx esbuild --bundle spine-core/src/index.ts --tsconfig=spine-core/tsconfig.json --minify --sourcemap --outfile=build/spine-core.js --format=iife --global-name=\"spine\"",
|
|
"build:canvas": "npx esbuild --bundle spine-canvas/src/index.ts --tsconfig=spine-canvas/tsconfig.json --minify --sourcemap --outfile=build/spine-canvas.js --format=iife --global-name=\"spine\"",
|
|
"build:webgl": "npx esbuild --bundle spine-webgl/src/index.ts --tsconfig=spine-webgl/tsconfig.json --minify --sourcemap --outfile=build/spine-webgl.js --format=iife --global-name=\"spine\"",
|
|
"build:player": "npx esbuild --bundle spine-player/src/index.ts --tsconfig=spine-player/tsconfig.json --sourcemap --outfile=build/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=build/spine-threejs.js --external:three --format=iife --global-name=\"spine\""
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/esotericsoftware/spine-runtimes.git"
|
|
},
|
|
"keywords": [
|
|
"gamedev",
|
|
"animations",
|
|
"2d",
|
|
"spine",
|
|
"game-dev",
|
|
"runtimes",
|
|
"skeletal"
|
|
],
|
|
"author": "Esoteric Software LLC",
|
|
"license": "LicenseRef-LICENSE",
|
|
"bugs": {
|
|
"url": "https://github.com/esotericsoftware/spine-runtimes/issues"
|
|
},
|
|
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
|
"private": true,
|
|
"workspaces": [
|
|
"spine-core",
|
|
"spine-canvas",
|
|
"spine-player",
|
|
"spine-threejs",
|
|
"spine-webgl"
|
|
],
|
|
"devDependencies": {
|
|
"@rollup/plugin-typescript": "^8.2.5",
|
|
"esbuild": "^0.12.22",
|
|
"npx": "^10.2.2",
|
|
"rollup": "^2.56.3",
|
|
"rollup-plugin-dts": "^3.0.2",
|
|
"typescript": "^4.3.5"
|
|
}
|
|
} |