1.3.1 • Published 6 years ago

sedmax-dev-kit v1.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago
  1. Install as dev dependency

npm add -D sedmax-dev-kit

  1. Add command to your scripts

start: npx sedmax serve

  1. If you want auto browser opening, add line to your scripts

prestart: start chrome YOUR_AWESOME_APP_URL

  1. Run your command

npm start

  1. If you have trouble through or want to customize just look at help commands. Options supported as cli flags and fall back to package.json fields

sedmax --help

sedmax serve --help

There is such output:

flagshortcutdescriptiontypedemand
--version-vShow version numberbooleandefault: false
--help-hShow helpbooleandefault: false
--name-n(pkg.json).namestringrequired
--entry-e(pkg.json).mainstringrequired
--proxy-x(pkg.json).config.proxystringrequired
--port-p(pkg.json).config.portnumberdefault: 80
--public-b(pkg.json).config.publicstringdefault: "/sedmax/web/ui/"
--temp-t(pkg.json).config.tempstringdefault: "./.temp/index.html"

TODO:

x Server under parcel bundler to remote development for any sedmax module

Configs detection and creation

Validate configs