2016-11-22 01:51:59 +00:00
|
|
|
{
|
|
|
|
"name": "phaser",
|
2024-11-14 23:16:39 +00:00
|
|
|
"version": "4.0.0-beta.2",
|
2024-11-14 16:34:01 +00:00
|
|
|
"release": "Caladan",
|
2024-02-21 13:31:13 +00:00
|
|
|
"description": "A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.",
|
2024-02-02 14:56:10 +00:00
|
|
|
"author": "Richard Davey <rich@phaser.io> (https://www.phaser.io)",
|
2022-09-20 20:28:48 +00:00
|
|
|
"homepage": "https://phaser.io",
|
2024-02-02 14:56:10 +00:00
|
|
|
"bugs": "https://github.com/phaserjs/phaser/issues",
|
2016-11-22 01:51:59 +00:00
|
|
|
"license": "MIT",
|
2022-09-20 20:28:48 +00:00
|
|
|
"licenseUrl": "https://www.opensource.org/licenses/mit-license.php",
|
2017-04-30 23:30:22 +00:00
|
|
|
"main": "./src/phaser.js",
|
2019-05-08 22:23:57 +00:00
|
|
|
"types": "./types/phaser.d.ts",
|
2020-04-27 22:21:14 +00:00
|
|
|
"browser": "./dist/phaser.js",
|
2023-03-22 16:05:43 +00:00
|
|
|
"module": "./dist/phaser.esm.js",
|
2016-11-22 01:51:59 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2024-02-02 14:56:10 +00:00
|
|
|
"url": "https://phaserjs@github.com/phaserjs/phaser.git"
|
2016-11-22 01:51:59 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2018-08-23 18:35:42 +00:00
|
|
|
"beta": "npm publish --tag beta",
|
2018-05-16 23:20:27 +00:00
|
|
|
"help": "node scripts/help.js",
|
2019-05-08 21:38:02 +00:00
|
|
|
"build": "webpack --config config/webpack.config.js",
|
|
|
|
"watch": "webpack --watch --config config/webpack.config.js",
|
2023-10-12 14:20:17 +00:00
|
|
|
"watchns": "webpack --watch --config config/webpack-nospector.config.js",
|
2019-05-08 21:38:02 +00:00
|
|
|
"dist": "webpack --config config/webpack.dist.config.js",
|
2018-10-22 16:15:45 +00:00
|
|
|
"plugin.spine": "webpack --config plugins/spine/webpack.config.js",
|
2018-10-24 13:09:11 +00:00
|
|
|
"plugin.spine.dist": "webpack --config plugins/spine/webpack.auto.dist.config.js",
|
2022-02-04 16:04:41 +00:00
|
|
|
"plugin.spine.watch": "webpack --config plugins/spine/webpack.auto.config.js --watch",
|
2019-08-08 12:32:03 +00:00
|
|
|
"plugin.spine.dev": "webpack --config plugins/spine/webpack.auto.config.js",
|
2020-08-25 12:24:20 +00:00
|
|
|
"plugin.spine.runtimes": "cd plugins/spine && tsc -p tsconfig.both.json && tsc -p tsconfig.canvas.json && tsc -p tsconfig.webgl.json",
|
2018-10-24 13:09:11 +00:00
|
|
|
"plugin.spine.canvas.dist": "webpack --config plugins/spine/webpack.canvas.dist.config.js",
|
2022-02-04 16:04:41 +00:00
|
|
|
"plugin.spine.canvas.watch": "webpack --config plugins/spine/webpack.canvas.config.js --watch",
|
2019-08-08 12:32:03 +00:00
|
|
|
"plugin.spine.canvas.dev": "webpack --config plugins/spine/webpack.canvas.config.js",
|
2018-10-24 13:09:11 +00:00
|
|
|
"plugin.spine.webgl.dist": "webpack --config plugins/spine/webpack.webgl.dist.config.js",
|
2022-02-04 16:04:41 +00:00
|
|
|
"plugin.spine.webgl.watch": "webpack --config plugins/spine/webpack.webgl.config.js --watch",
|
2019-08-08 12:32:03 +00:00
|
|
|
"plugin.spine.webgl.dev": "webpack --config plugins/spine/webpack.webgl.config.js",
|
|
|
|
"plugin.spine.full": "npm run plugin.spine.dev && npm run plugin.spine.canvas.dev && npm run plugin.spine.webgl.dev",
|
|
|
|
"plugin.spine.full.dist": "npm run plugin.spine.dist && npm run plugin.spine.canvas.dist && npm run plugin.spine.webgl.dist",
|
2023-01-10 04:47:44 +00:00
|
|
|
"plugin.spine4.1.dist": "webpack --config plugins/spine4.1/webpack.auto.dist.config.js",
|
|
|
|
"plugin.spine4.1.watch": "webpack --config plugins/spine4.1/webpack.auto.config.js --watch",
|
|
|
|
"plugin.spine4.1.dev": "webpack --config plugins/spine4.1/webpack.auto.config.js",
|
|
|
|
"plugin.spine4.1.runtimes": "cd plugins/spine4.1/spine-runtimes/spine-ts && npm run build:canvas && npm run build:webgl && cp spine-canvas/dist/iife/* ../../src/runtimes && cp spine-webgl/dist/iife/* ../../src/runtimes",
|
|
|
|
"plugin.spine4.1.canvas.dist": "webpack --config plugins/spine4.1/webpack.canvas.dist.config.js",
|
|
|
|
"plugin.spine4.1.canvas.watch": "webpack --config plugins/spine4.1/webpack.canvas.config.js --watch",
|
|
|
|
"plugin.spine4.1.canvas.dev": "webpack --config plugins/spine4.1/webpack.canvas.config.js",
|
|
|
|
"plugin.spine4.1.webgl.dist": "webpack --config plugins/spine4.1/webpack.webgl.dist.config.js",
|
|
|
|
"plugin.spine4.1.webgl.watch": "webpack --config plugins/spine4.1/webpack.webgl.config.js --watch",
|
|
|
|
"plugin.spine4.1.webgl.dev": "webpack --config plugins/spine4.1/webpack.webgl.config.js",
|
|
|
|
"plugin.spine4.1.full": "npm run plugin.spine4.1.dev && npm run plugin.spine4.1.canvas.dev && npm run plugin.spine4.1.webgl.dev",
|
|
|
|
"plugin.spine4.1.full.dist": "npm run plugin.spine4.1.dist && npm run plugin.spine4.1.canvas.dist && npm run plugin.spine4.1.webgl.dist",
|
2017-10-11 16:06:21 +00:00
|
|
|
"lint": "eslint --config .eslintrc.json \"src/**/*.js\"",
|
2018-03-05 01:40:11 +00:00
|
|
|
"lintfix": "eslint --config .eslintrc.json \"src/**/*.js\" --fix",
|
2018-05-02 10:36:20 +00:00
|
|
|
"sloc": "node-sloc \"./src\" --include-extensions \"js\"",
|
2018-05-08 22:04:57 +00:00
|
|
|
"bundleshaders": "node scripts/bundle-shaders.js",
|
2019-05-08 22:23:57 +00:00
|
|
|
"build-tsgen": "cd scripts/tsgen && tsc",
|
|
|
|
"tsgen": "cd scripts/tsgen && jsdoc -c jsdoc-tsd.conf.json",
|
2024-11-14 22:55:10 +00:00
|
|
|
"test-ts": "cd scripts/tsgen/test && tsc --build tsconfig.json > output.txt 2>&1",
|
2024-11-14 23:08:51 +00:00
|
|
|
"test-ts2": "cd scripts/tsgen/test && tsc --build tsconfig.json",
|
2019-05-08 22:23:57 +00:00
|
|
|
"ts": "npm run tsgen && npm run test-ts",
|
2019-05-09 14:33:38 +00:00
|
|
|
"tsdev": "npm run build-tsgen && npm run tsgen && npm run test-ts"
|
2016-11-22 01:51:59 +00:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"2d",
|
|
|
|
"HTML5",
|
|
|
|
"WebGL",
|
|
|
|
"canvas",
|
|
|
|
"game",
|
|
|
|
"javascript",
|
|
|
|
"physics",
|
|
|
|
"tweens",
|
|
|
|
"typescript",
|
|
|
|
"web audio"
|
2016-11-22 03:11:33 +00:00
|
|
|
],
|
2016-11-22 16:25:54 +00:00
|
|
|
"devDependencies": {
|
2023-11-10 15:04:22 +00:00
|
|
|
"@types/offscreencanvas": "^2019.7.3",
|
2020-09-03 08:41:23 +00:00
|
|
|
"@types/source-map": "^0.5.7",
|
2021-09-21 13:41:11 +00:00
|
|
|
"clean-webpack-plugin": "^4.0.0",
|
2023-01-16 15:32:24 +00:00
|
|
|
"dts-dom": "^3.7.0",
|
2024-02-02 13:57:54 +00:00
|
|
|
"eslint": "^8.56.0",
|
2020-07-13 10:29:50 +00:00
|
|
|
"eslint-plugin-es5": "^1.5.0",
|
2024-02-02 13:57:54 +00:00
|
|
|
"exports-loader": "^5.0.0",
|
|
|
|
"fs-extra": "^11.2.0",
|
|
|
|
"imports-loader": "^5.0.0",
|
2022-11-10 16:19:48 +00:00
|
|
|
"jsdoc": "3.x.x",
|
2021-11-30 20:10:56 +00:00
|
|
|
"node-sloc": "^0.2.1",
|
2021-12-16 20:10:48 +00:00
|
|
|
"path": "^0.12.7",
|
2022-10-28 16:54:11 +00:00
|
|
|
"phaser3spectorjs": "^0.0.8",
|
2021-12-14 17:14:19 +00:00
|
|
|
"remove-files-webpack-plugin": "^1.5.0",
|
2022-06-07 16:36:20 +00:00
|
|
|
"source-map": "^0.7.4",
|
2024-02-02 13:57:54 +00:00
|
|
|
"terser-webpack-plugin": "^5.3.10",
|
|
|
|
"typescript": "^5.3.3",
|
2018-05-16 23:20:27 +00:00
|
|
|
"vivid-cli": "^1.1.2",
|
2024-02-21 13:22:36 +00:00
|
|
|
"webpack": "^5.90.3",
|
2023-11-10 15:04:22 +00:00
|
|
|
"webpack-cli": "^5.1.4",
|
2019-11-18 16:36:37 +00:00
|
|
|
"webpack-shell-plugin": "^0.5.0"
|
2018-01-12 17:09:09 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-11-10 15:04:22 +00:00
|
|
|
"eventemitter3": "^5.0.1"
|
2016-11-22 03:11:33 +00:00
|
|
|
}
|
2016-11-22 01:51:59 +00:00
|
|
|
}
|