mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-06 07:38:54 +08:00
110 lines
3.4 KiB
JSON
110 lines
3.4 KiB
JSON
{
|
|
"name": "cocos-creator",
|
|
"version": "3.9.0",
|
|
"$schema": "./schemas/module-config.schema.json",
|
|
"description": "Cocos Creator is a cross-platform 2D & 3D game engine written in C++ and TypeScript, licensed under MIT.",
|
|
"homepage": "http://www.cocos.com",
|
|
"license": "MIT",
|
|
"authors": [
|
|
"AUTHORS.txt"
|
|
],
|
|
"module": "index.js",
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"pal/*",
|
|
"cocos/base/*"
|
|
],
|
|
"scripts": {
|
|
"server": "http-server . -p 8002 -o playground/index.html",
|
|
"postinstall": "npm run build",
|
|
"build": "turbo build && npm run build-root",
|
|
"build-root": "gulp build-declarations && npm run bundle-adapter && npm run fetch-ral",
|
|
"build-engine": "turbo build && gulp build-h5-minified",
|
|
"build-engine-dev": "turbo build && gulp build-h5-source",
|
|
"build-api-json": "npx typedoc",
|
|
"checkout-engine-version": "node ./scripts/checkout-engine-version.js",
|
|
"varify-engine-version": "node ./scripts/varify-engine-version.js",
|
|
"fetch-ral": "node ./scripts/fetch-ral.js",
|
|
"bundle-adapter": "node ./scripts/bundle-adapter.js",
|
|
"clear": "node ./scripts/clear-cache.js",
|
|
"clear-platform": "node ./native/utils/clear-platform.js && node ./scripts/clear-file.js",
|
|
"update:native-external": "node ./native/utils/update-external.js",
|
|
"test": "gulp test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/cocos-creator/engine.git"
|
|
},
|
|
"dependencies": {
|
|
"@cocos/box2d": "1.0.1",
|
|
"@cocos/cannon": "1.2.8",
|
|
"@cocos/ccbuild": "2.0.3-alpha.16",
|
|
"@cocos/dragonbones-js": "^1.0.1",
|
|
"@pal/env": "*",
|
|
"@pal/utils": "*",
|
|
"@base/global": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.13.10",
|
|
"@babel/plugin-proposal-export-default-from": "^7.17.12",
|
|
"@babel/preset-env": "7.8.7",
|
|
"@cocos/babel-preset-cc": "2.2.0",
|
|
"@types/fs-extra": "^5.0.4",
|
|
"@types/istanbul-lib-report": "^3.0.0",
|
|
"@types/jest": "^28.1.8",
|
|
"@types/node": "^20.5.9",
|
|
"@types/yargs": "^12.0.14",
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
"@typescript-eslint/parser": "^6.0.0",
|
|
"async": "^2.6.4",
|
|
"axios": "^1.4.0",
|
|
"babelify": "^10.0.0",
|
|
"browserify": "^17.0.0",
|
|
"chalk": "^2.4.1",
|
|
"child_process": "^1.0.2",
|
|
"commander": "^2.20.3",
|
|
"dat.gui": "^0.7.5",
|
|
"del": "^6.0.0",
|
|
"eslint": "^8.44.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"fs": "^0.0.1-security",
|
|
"fs-extra": "^7.0.1",
|
|
"ftp": "0.3.10",
|
|
"gulp": "^4.0.2",
|
|
"gulp-rename": "^2.0.0",
|
|
"gulp-sequence": "^1.0.0",
|
|
"gulp-uglify": "^3.0.2",
|
|
"gulp-zip": "^5.0.2",
|
|
"http-server": "^0.12.3",
|
|
"import-redirect": "^1.0.2",
|
|
"inquirer": "^8.2.6",
|
|
"jest": "^28.0.2",
|
|
"jest-environment-jsdom": "^28.0.2",
|
|
"jest-extended": "^1.1.0",
|
|
"jest-matcher-deep-close-to": "^2.0.1",
|
|
"jsdom": "^19.0.0",
|
|
"node-fetch": "^2.6.1",
|
|
"path": "^0.12.7",
|
|
"pngjs": "^6.0.0",
|
|
"progress": "^2.0.3",
|
|
"spectorjs": "^0.9.15",
|
|
"stats.js": "^0.17.0",
|
|
"tar": "^6.1.15",
|
|
"tmp": "^0.2.1",
|
|
"tree-kill": "^1.2.0",
|
|
"ts-jest": "^28.0.8",
|
|
"turbo": "^1.10.12",
|
|
"typedoc": "^0.23.28",
|
|
"typescript": "^4.9.3",
|
|
"vconsole": "^3.3.0",
|
|
"vinyl-buffer": "^1.0.1",
|
|
"vinyl-source-stream": "^2.0.0",
|
|
"which": "^2.0.2",
|
|
"yargs": "^12.0.5"
|
|
}
|
|
}
|