@garment/plugin-runner-serve
TypeScript icon, indicating that this package has built-in type declarations

0.18.0 • Public • Published

@garment/plugin-runner-serve

Serve the content of the directory

Installation

npm i @garment/plugin-runner-serve

or

yarn add @garment/plugin-runner-serve

Example usage

{
    "runner": "serve",
    "options": {
        "publicDir": "{{projectDir}}/build",
        "port": "3000"
    }
}

API

publicDir: path

The directory to serve files from


port: number

Port number

Readme

Keywords

none

Package Sidebar

Install

npm i @garment/plugin-runner-serve

Weekly Downloads

1

Version

0.18.0

License

MIT

Unpacked Size

4.99 kB

Total Files

6

Last publish

Collaborators

  • farfetch-oss