1.0.0 • Published 1 year ago

esbuild-helpers v1.0.0

Weekly downloads
26
License
MIT
Repository
-
Last release
1 year ago

esbuild-helpers

Simple helper lib to help make js bundles

npm install esbuild-helpers --save-dev

Docs

Atm see config files at root for how to use.

  • npm run copy
    • Shows how to copy files
    • Code: config_copy.ts
  • npm run nodejs:dev
    • Shows how to run nodejs with restart on changes
    • Code: config_nodejs.ts
  • npm run nodejs:prod
    • Shows how to make production build for nodejs
    • Code: config_nodejs_prod.ts
  • npm run nodejs:prod:run
    • Shows how to runn nodejs production build
    • Code: config_nodejs_prod && node ./dist_nodejs/index.js
  • npm run nodejs:debug
    • Shows how to run nodejs with debug activated
    • Code: config_nodejs_debug.ts
  • npm run nodejs:events
    • Shows how to trigger events between the builds
    • Code: config_nodejs_event.ts
  • npm run devserver
    • Shows how run simple dev server (reloads js withour browser reload)
    • Code: config_devserver.ts
  • npm run electron:dev
    • Shows how run electron
    • Code: config_electron.ts
  • npm run typechecker
    • Shows how to run typechecking
    • Code: config_type.ts

You need to have this installed:

  • esbuild
  • typescript
  • postcss (will just warn if missing)
  • compression (will skip if missing)
  • electron & electron-squirrel-startup (only if you plan to use it)

Have these ass dev dependencies so user can use newer version/not dependant of this

1.0.0

1 year ago

1.0.0-next.1

1 year ago

0.0.10

1 year ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago

0.0.1-next.13

3 years ago

0.0.1-next.12

3 years ago

0.0.1-next.11

3 years ago

0.0.1-next.10

3 years ago

0.0.1-next.8

3 years ago

0.0.1-next.9

3 years ago

0.0.1-next.7

3 years ago

0.0.1-next.6

3 years ago

0.0.1-next.5

3 years ago

0.0.1-next.4

3 years ago

0.0.1-next.3

3 years ago

0.0.1-next.2

3 years ago

0.0.1-next.1

3 years ago