yyl-server
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

yyl-server

安装

yarn add yyl-server

使用

import { Runner } from 'yyl-server'
import yylConfig from './yyl.config'

const runner = new Runner({
  yylConfig: config,
  log: () => undefined,
  env: {},
  cwd: process.cwd(),
  serverOption: {
    appWillMount() {
      mountArr.push('will')
      return Promise.resolve()
    },
    appDidMount() {
      mountArr.push('did')
      return Promise.resolve()
    }
  }
})

Readme

Keywords

none

Package Sidebar

Install

npm i yyl-server

Weekly Downloads

38

Version

1.0.7

License

MIT

Unpacked Size

65.3 kB

Total Files

23

Last publish

Collaborators

  • jackness