This is a Yeoman LightScript generator that scaffolds out a LightScript JS application.
-
Install Yeoman
-
Install the Yeoman LightScript generator:
npm install -g generator-lightscript
-
Run
yo lightscript
in your project directory -
Run
npm run ww
to start webpack watch
-
The generator will allow you to select either LightScript original or the @oigroup/LightScript fork.
-
You can specify the target, either 'Web', 'Node.js' or 'Both'.
-
You can also optionally specify LightScript compiler options if you want (e.g.
stdlib: false
).