fix 模版加上 oak-message
This commit is contained in:
parent
a91ed357f5
commit
80628a8c51
|
|
@ -1,5 +1,4 @@
|
|||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
import { PathLike } from 'fs';
|
||||
import { checkFileExistsAndCreateType } from './enum';
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ function packageJsonContent({ name, version, description, cliversion, cliname, i
|
|||
"build": "tsc",
|
||||
"server:init": "cross-env NODE_ENV=development; cross-env OAK_PLATFORM=server ts-node scripts/initServer.ts",
|
||||
"server:start": "cross-env NODE_ENV=development; cross-env OAK_PLATFORM=server ts-node scripts/startServer.ts",
|
||||
"postinstall": "${cliname} make"
|
||||
"postinstall": "npm run make:domain"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
|
@ -407,7 +407,8 @@ function appJsonContentWithWeChatMp(isDev) {
|
|||
"enablePullDownRefresh": true
|
||||
},
|
||||
"usingComponents": {
|
||||
"message": "components/message/index"
|
||||
"oak-message": "@oak-general-business/components/message/index",
|
||||
"oak-debugPanel": "@oak-general-business/components/func/debugPanel/index"
|
||||
},
|
||||
"style": "v2",
|
||||
"sitemapLocation": "sitemap.json"
|
||||
|
|
|
|||
|
|
@ -418,7 +418,8 @@ export function appJsonContentWithWeChatMp(isDev: boolean) {
|
|||
"enablePullDownRefresh": true
|
||||
},
|
||||
"usingComponents": {
|
||||
"message": "components/message/index"
|
||||
"oak-message": "@oak-general-business/components/message/index",
|
||||
"oak-debugPanel": "@oak-general-business/components/func/debugPanel/index"
|
||||
},
|
||||
"style": "v2",
|
||||
"sitemapLocation": "sitemap.json"
|
||||
|
|
|
|||
Loading…
Reference in New Issue