"use strict";function default_1(n){var e=n.author,t=n.description,a=n.comName,r=n.comCName,c=n.entry,o=n.framework,s=n.language,i=(0,exports.getEntryFile)(s,c,o);return'{\n    "name": "'.concat(a,'",\n    "version": "1.0.0",\n    "private": true,\n    "main":"').concat(i,'",\n    "author":"').concat(e,'",\n    "description": "').concat(t,'",\n    "dependencies": {},\n    "devDependencies": {},\n    "scripts": {\n      "start":"canvas start",\n      "build":"canvas build"\n    },\n    "canvas":{\n      "name":"').concat(a,'",\n      "framework": "').concat(o,'",\n      "cn_name":"').concat(r,'",\n      "type":"com"\n    }\n  }\n  ')}exports.__esModule=!0,exports.getEntryFile=void 0,exports.default=default_1;var getEntryFile=function(n,e,t){return"".concat(e=e||"index","vue"===t?".vue":"typescript"===n?"react"===t?".tsx":".ts":".js")};exports.getEntryFile=getEntryFile;