Socket
Book a DemoInstallSign in
Socket

esbuild_custom

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

esbuild_custom

Barebones esbuild and test node server implementation. For building

unpublished
latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

Minimal esbuild and Nodejs server test env.

To run: npm run build to bundle, then npm start to run the node server. It runs at http://localhost:8000 by default.

  • OR npm test to run both commands in sequence

You can specify https and add an ssl certificate if you follow the instructions.

2 dependencies: esbuild and fragelement

Hot reloading (for dev)

npm run dev

then npm run startdev

nodemon restarts the node server automatically when changes to included source files are detected.

The nodemon dev server adds basic frontend hot reloading via websocket and clientside code injection (see nodeserver/server.js for method).

2 dev dependencies: nodemon and ws

PWA build:

To test:

npm run pwa

This installs workbox-cli, generates the service worker, bundles and then starts the application. Run once if you don't need to modify the service-worker further.

1 additional dependency: workbox-cli

Other notes:

See README.md files in each folder for more explanation on how to work with these types of applications.

Keywords

esbuild

FAQs

Package last updated on 15 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts