mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-06 16:50:22 +08:00
1. 编辑器扩展 - 自动生成框架模板功能
2. 编辑器扩展 - Tinypng 纹理压缩功能
This commit is contained in:
38
package.json
38
package.json
@@ -11,13 +11,35 @@
|
||||
"watch": "tsc -w",
|
||||
"doc": "npx typedoc"
|
||||
},
|
||||
"panels": {
|
||||
"set_file_name": {
|
||||
"title": "i18n:oops-framework.panel_create_file",
|
||||
"type": "dockable",
|
||||
"main": "dist/default",
|
||||
"size": {
|
||||
"min-width": 450,
|
||||
"min-height": 300,
|
||||
"width": 450,
|
||||
"height": 300
|
||||
}
|
||||
}
|
||||
},
|
||||
"contributions": {
|
||||
"scene": {
|
||||
"script": "./dist/scene.js"
|
||||
},
|
||||
"asset-db": {
|
||||
"mount": {
|
||||
"path": "./assets",
|
||||
"readonly": false
|
||||
}
|
||||
},
|
||||
"assets": {
|
||||
"menu": {
|
||||
"methods": "./dist/assets-menu.js",
|
||||
"assetMenu": "onAssetMenu"
|
||||
}
|
||||
},
|
||||
"menu": [
|
||||
{
|
||||
"path": "i18n:oops-framework.name",
|
||||
@@ -29,6 +51,11 @@
|
||||
"label": "i18n:oops-framework.document_api",
|
||||
"message": "documentApi"
|
||||
},
|
||||
{
|
||||
"path": "i18n:oops-framework.name",
|
||||
"label": "i18n:oops-framework.tutorial",
|
||||
"message": "tutorial"
|
||||
},
|
||||
{
|
||||
"path": "i18n:oops-framework.name",
|
||||
"label": "i18n:oops-framework.solution",
|
||||
@@ -70,6 +97,11 @@
|
||||
"log"
|
||||
]
|
||||
},
|
||||
"tutorial": {
|
||||
"methods": [
|
||||
"tutorial"
|
||||
]
|
||||
},
|
||||
"solution": {
|
||||
"methods": [
|
||||
"solution"
|
||||
@@ -87,7 +119,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"fs-extra": "^10.0.0",
|
||||
"vue": "^3.1.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cocos/creator-types": "^3.8.2",
|
||||
"@types/fs-extra": "^9.0.5",
|
||||
"@types/node": "^20.16.12",
|
||||
"typedoc": "^0.23.24",
|
||||
"typescript": "^4.8.2"
|
||||
|
||||
Reference in New Issue
Block a user