代码拉取完成,页面将自动刷新
{
"name": "playcanvas",
"version": "2.0.0-dev",
"author": "PlayCanvas <support@playcanvas.com>",
"homepage": "https://playcanvas.com",
"description": "PlayCanvas WebGL game engine",
"keywords": [
"3D",
"2D",
"VR",
"WebGL",
"WebGL2",
"game",
"engine",
"HTML5",
"browser",
"typings"
],
"license": "MIT",
"main": "build/playcanvas.js",
"module": "build/playcanvas/src/index.js",
"types": "build/playcanvas.d.ts",
"exports": {
".": {
"types": "./build/playcanvas.d.ts",
"import": "./build/playcanvas/src/index.js",
"require": "./build/playcanvas.js"
},
"./debug": {
"types": "./build/playcanvas.d.ts",
"import": "./build/playcanvas.dbg/src/index.js",
"require": "./build/playcanvas.dbg.js"
},
"./profiler": {
"types": "./build/playcanvas.d.ts",
"import": "./build/playcanvas.prf/src/index.js",
"require": "./build/playcanvas.prf.js"
},
"./build/*": "./build/*",
"./scripts/*": "./scripts/*"
},
"sideEffects": false,
"type": "module",
"bugs": {
"url": "https://github.com/playcanvas/engine/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/playcanvas/engine.git"
},
"eslintConfig": {
"extends": "@playcanvas/eslint-config",
"globals": {
"Ammo": "readonly",
"earcut": "readonly",
"glslang": "readonly",
"GPUBufferUsage": "readonly",
"GPUColorWrite": "readonly",
"GPUMapMode": "readonly",
"GPUShaderStage": "readonly",
"GPUTextureUsage": "readonly",
"opentype": "readonly",
"pc": "readonly",
"TWEEN": "readonly",
"twgsl": "readonly",
"webkitAudioContext": "readonly",
"XRRay": "readonly",
"XRRigidTransform": "readonly",
"XRWebGLLayer": "readonly"
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
},
"rules": {
"jsdoc/check-tag-names": [
"error",
{
"definedTags": [
"category",
"attribute"
]
}
]
}
},
"eslintIgnore": [
"examples/lib/*",
"scripts/textmesh/earcut.min.js",
"scripts/textmesh/opentype.min.js",
"src/polyfill/*",
"scripts/spine/playcanvas-spine.3.8.js",
"scripts/spine/playcanvas-spine.3.8.mjs"
],
"files": [
"build/playcanvas*",
"build/playcanvas*/*",
"scripts",
"README*.md"
],
"dependencies": {
"@types/webxr": "^0.5.16",
"@webgpu/types": "^0.1.40"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/eslint-parser": "^7.24.1",
"@babel/preset-env": "^7.24.4",
"@playcanvas/canvas-mock": "^1.0.1",
"@playcanvas/eslint-config": "^1.7.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/pluginutils": "^5.1.0",
"c8": "^9.1.0",
"chai": "^5.1.0",
"eslint": "^8.57.0",
"fflate": "^0.8.2",
"global-jsdom": "^24.0.0",
"jsdom": "^24.0.0",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-sinon": "^1.0.5",
"karma-spec-reporter": "^0.0.36",
"mocha": "^10.4.0",
"publint": "^0.2.7",
"rollup": "^4.16.4",
"rollup-plugin-dts": "^6.0.2",
"rollup-plugin-jscc": "2.0.0",
"rollup-plugin-visualizer": "^5.12.0",
"serve": "^14.2.2",
"sinon": "^17.0.1",
"typedoc": "^0.25.13",
"typedoc-plugin-mdn-links": "^3.1.22",
"typescript": "^5.4.5",
"xhr2": "^0.2.1"
},
"scripts": {
"build": "node build.mjs",
"build:release": "npm run build target:release",
"build:debug": "npm run build target:debug",
"build:profiler": "npm run build target:profiler",
"build:types": "npm run build target:types",
"build:umd": "npm run build target:umd",
"build:esm": "npm run build target:esm",
"build:esm:release": "npm run build target:esm:release",
"build:esm:debug": "npm run build target:esm:debug",
"build:treemap": "npm run build target:umd treemap",
"build:treenet": "npm run build target:umd treenet",
"build:treesun": "npm run build target:umd treesun",
"build:sourcemaps": "npm run build -- -m",
"watch": "npm run build -- -w",
"watch:release": "npm run build target:release -- -w",
"watch:debug": "npm run build target:debug -- -w",
"watch:profiler": "npm run build target:profiler -- -w",
"watch:umd": "npm run build target:umd -- -w",
"watch:esm": "npm run build target:esm -- -w",
"watch:esm:release": "npm run build target:esm:release -- -w",
"watch:esm:debug": "npm run build target:esm:debug -- -w",
"docs": "typedoc",
"lint": "eslint --ext .js,.mjs scripts src test utils rollup.config.mjs",
"publint": "publint --level error",
"serve": "serve build -l 51000 --cors",
"test": "mocha --recursive --require test/fixtures.mjs",
"test:coverage": "c8 npm test",
"test:karma": "karma start tests/karma.conf.cjs -- --single-run",
"test:types": "tsc --pretty false build/playcanvas.d.ts"
},
"engines": {
"node": ">=18.0.0"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。