Giter Club home page Giter Club logo

de-builder's People

Contributors

hawkerboy7 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

dwightgunning

de-builder's Issues

Minify + Uglify

Add the option to minify and/or uglify the bundle.
node build.js -prod -uglify

Compiling done/ready trigger has to be improved

This trigger should be after all initial compiling is finished, now it's based on a timeout. If compiling a file takes longer than the time-out tasks like forever or browserify could be triggered a lot of times in a row and slow down the start-up.

`browser-sync` should use different ports when running multiple instances of `de-builder`

Make browser-sync use different ports from 9000 and 9001 when they are not available. Also check that the browser-sync js file is then downloaded using that new port. This change will allow multiple instances of de-builder running next to each other without causing a conflict. Also log on which port browser-sync runs when it is different from the base port 9000.

LDE type 3 doesn't fully support node-webkit yet

Due to incorrect settings in browserify not all aspects of node-webkit can be used. I don't know exactly which options to set to true or false. See browserify/browserify#1277

For LDE 3 browserify is mostly used because it bundles the .jade files. If I cannot get browserify to work correctly, it's also possible to not use it.

This then means all .jade files have to be compiled to .js files by a jade task so they can be required.
This also means the jade/runtime has to be added to the DOM by the user's program (which is a less 'out-of-the-box' option and thus I don't like it so much)

Support multiple bundles

Add the options to use multiple bundles.
So for example a vendor bundle which contains jQuery, Backbone, Underscore etc. and an application bundle which only contains data for your own JavaScript application.
This way running browserify should be faster due to the fact less data has to be bundled every time a save occurs in the application.

Ensure `-prod` builds are `minified` and `uglified`

Ensure -prod builds are minified and uglified. Add the option to minify and/or uglify the bundle on dev as well using: -uglify and/or -minify arguments. Using -prod automatically makes -minify and -uglify true, but if you explicitly set them when using -prod they become disabled instead, to allow for a non-minified and/or non-uglified prod build to be made. Not sure yet if this is needed.

Setup a default project

Add the option to download and install default projects like: de-base and de-nw-base by providing arguments: like --de-base and --de-nw-base

Forever doesn't always shutdown it's child properly on an error

If the coffee task for example has an error and shuts down the program by throwing an error, forever doesn't shutdown it's child. The coffee task shouldn't throw the error (so better handling is required over there) and forever shouldn't let it's child processes run after it shutdown.

Add system notifications

Provide the option to notify the user of warnings and errors trough the system notification module

Replace Pugify

Either use something which works already or build something so all npm audit errors are resolved.

task clean is not performed properly

The clean does not get executed on the /build folder at any point in time, which results in old files not being removed.
Clean should run immediately in dev mode and in prod mode it works as it should already.

`node build -prod` should end and not start `forever`.

node build -prod should end and not start forever. This way a build on the server can complete by itself because the program ends when finished. pm2 stop X;node build -prod;pm2 start X will be able to run by itself

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.