node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

fe-builder

Installing

For installing Front End Architecture which consist of (Stylus, Pug, Webpack + Babel, Gulp), you must do all at example:

cd /to/project/folder
$ npm i fe-builder
echo "require('fe-builder')" >> index.js
$ node index.js
$ rm index.js

Now you have project tree:

  • public
    • build
    • css
    • js
    • pug
      • layout
        • layout.pug (Layout for all block with link css to path /build)
      • include (Folder for some included files e.g: header.pug, menu.pug et al.)
      • index.pug (Main html block content)
    • styl
      • reset.styl
      • build.styl
    • img
  • gulpfule.js (With tack for transformation pug file to html)
  • webpack.config.js (With architecture for transform stylus to css and ES6 to ES5)
  • node_modules

Reqirement

  • Node.js >= 6.4.*
  • NPM >= 3.10.*
  • Webpack 2+

Tech

Dillinger uses a number of open source projects to work properly: