npm install wrapup-webbuilder
|7||downloads in the last week|
|16||downloads in the last month|
|Version||0.1.5 last updated 9 months ago|
|Keywords||wrapup, commonjs, require, download, builder|
|Dependencies (11)||express, wrapup, jade, stylus, async, fs-extra, elements, elements-util, slick, prime, moofx|
where he or she can customize the
main.js file, using
export it on
global, or don't export at all.
With a simple interface with buttons and select fields, a main.js file can be generated in the Editor. By giving the user access to the editor adds extra power for advanced users.
- Add checkboxes to help the user include several packages or not by commenting or uncommenting lines in the editor.
- Select which packages and which versions the build should include.
- Download several packages from NPM. It could build a
packages.jsonwhich defines the packages and versions.
This app is built with:
git clone git://github.com/arian/wrapup-webbuilder.git cd wrapup-webbuilder npm install git submodule init node ./bin/createBaseModules.js node index.js
Modules and versions that can be downloaded
package.json there is a field
modules. This are npm package names and
their versions from npm. These are the packages and versions a user can
download. Before they can be downloaded however, the packages have to be
downloaded locally to the
modules directory. This can be done with the
modules folder will now contain folders like
firstname.lastname@example.org. These are the packages the download will symlink to and
create a build with wrapup.