wantworthy / assembly Goto Github PK
View Code? Open in Web Editor NEWbuild tool to assemble client side javascript projects
build tool to assemble client side javascript projects
there is a timing bug where we re-process a javascript file which has already been processed.
Optional growl notification when a file fails to compile along the lines of " didn't compile."
create an option to write out assets with its checksum to the file in order to version it. A require config will need to also be created in order to look up the proper assets
$ = require('jquery')
exports = {foo : "bar"}
create a compiler for json files to generate javascript configs. Use NODE_ENV to compile out the proper config sections (process.env.NODE_ENV) for example
// filename: assets/config.json
"development" : {
"database" : "mongo://127.0.0.1:7000",
"host" : "http://localhost"
},
"production" : {
"database" : "mongo://db.production.com:7000",
"host" : "http://www.production.com"
}
when running as NODE_ENV=production
then compile out to:
// filename: js/config.js
define("js/config", [ "require", "module", "exports" ], function(require, module, exports) {
module.exports = { "database" : "mongo://db.production.com:7000", "host" : "http://www.production.com"}
});
create a readme to explain the point of this project and how to use it
After creating a new directory assembly attempts to compile it, thinking it is a file
add ability to update paths of require array, for example:
require(["./app", "./nested/foo"], function(app, foo){});
should become
require(["app", "nested/foo"], function(app, foo){});
use jshint
Currently all javascripts are expected to start at the root of the source dir. Add an option to let javascripts start at a subdir within source.
use clean-css to minify compiled css
cache css imports to speed up processing of css files
Whenever you save a javascript file with bad syntax it throws an exception and crashes the process. I believe this is happening when trying to read requires in one of the processors
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.