@servant/servant-development
TypeScript icon, indicating that this package has built-in type declarations

1.0.14 • Public • Published

Servant Servant development

Quick references: Command line, Node API, servant.json, dev-server

What is it?

Servant development is server for serving data into browser. It's provided build and rebuild of application that is marked for serve. Development server is configured in servant.json and is using templates files for serving and initializing app. In the exmaple below, there is part with development server configuration. This properties are described in servant.json part of documentation.

   {
   ...
   "server": {
         "entries": {
            "package-name": {
              "title": "Debug Server for package-name",
              "template": "./package-name/template.html"
            }
         },
         "css": ["http://fonts.googleapis.com/css?family=Open+Sans", "./globals/styles.css"],
         "js": ["https://code.highcharts.com/highcharts.js"]
       }
   }

License

Licensed under GPLv3

Package Sidebar

Install

npm i @servant/servant-development

Weekly Downloads

4

Version

1.0.14

License

GPL

Unpacked Size

99 kB

Total Files

28

Last publish

Collaborators

  • hacker.stanislav