UNPKG

phaser-jsx

Version:
97 lines (96 loc) 2.57 kB
{ "name": "phaser-jsx", "version": "0.16.1", "description": "Use JSX in Phaser.", "author": "Mark <mark@remarkablemark.org>", "main": "./cjs/index.js", "scripts": { "build": "npm run build:cjs && npm run build:umd", "build:cjs": "tsc --project tsconfig.build.json", "build:umd": "rollup --config rollup.config.mts --failAfterWarnings", "build:watch": "tsc --watch", "clean": "rm -rf cjs coverage docs umd", "docs": "typedoc", "docs:watch": "npm run docs -- --watch", "lint": "eslint .", "lint:fix": "npm run lint -- --fix", "lint:tsc": "tsc --project tsconfig.test.json", "prepare": "husky", "prepublishOnly": "npm run clean && npm run lint && npm run build && npm run lint:tsc && npm run test:ci", "test": "vitest run", "test:ci": "CI=true npm test -- --color --coverage", "test:watch": "vitest" }, "repository": { "type": "git", "url": "git+https://github.com/remarkablegames/phaser-jsx.git" }, "bugs": { "url": "https://github.com/remarkablegames/phaser-jsx/issues" }, "keywords": [ "phaser-jsx", "phaser", "jsx", "react", "ui", "view", "library", "game" ], "devDependencies": { "@commitlint/cli": "20.5.0", "@commitlint/config-conventional": "20.5.0", "@eslint/compat": "2.0.5", "@eslint/eslintrc": "3.3.5", "@eslint/js": "10.0.1", "@rollup/plugin-commonjs": "29.0.2", "@rollup/plugin-terser": "1.0.0", "@rollup/plugin-typescript": "12.3.0", "@types/node": "25.6.0", "@types/react": "19.2.14", "@vitest/coverage-v8": "4.1.4", "eslint": "10.2.1", "eslint-plugin-prettier": "5.5.5", "eslint-plugin-simple-import-sort": "13.0.0", "eslint-plugin-tsdoc": "0.5.2", "global-jsdom": "29.0.0", "globals": "17.5.0", "husky": "9.1.7", "jsdom": "29.0.2", "lint-staged": "16.4.0", "phaser": "3.90.0", "phaser3spectorjs": "0.0.8", "prettier": "3.8.3", "react": "19.2.5", "rollup": "4.60.2", "ts-node": "10.9.2", "tslib": "2.8.1", "typedoc": "0.28.19", "typescript": "5.9.3", "typescript-eslint": "8.58.2", "vitest": "4.1.4", "vitest-canvas-mock": "1.1.4" }, "peerDependencies": { "@types/react": "17 || 18 || 19", "phaser": "3", "react": "17 || 18 || 19" }, "peerDependenciesMeta": { "@types/react": { "optional": true }, "react": { "optional": true } }, "files": [ "cjs/", "jsx-dev-runtime/", "jsx-runtime/", "src/", "umd/" ], "license": "MIT" }