joewalnes / crunchicorn Goto Github PK
View Code? Open in Web Editor NEWSimplifying the web toolchain
License: MIT License
Simplifying the web toolchain
License: MIT License
When I try to run the command I get this error.
ERROR [Error: Couldn't find preset "es2015-rollup" relative to directory "...."]
Then when i installed that npm module i get this error:
ERROR { [Error: Cannot find module 'babel-runtime/helpers/interop-require-default'] code: 'MODULE_NOT_FOUND' }
Then Finally when i have that installed i get this error:
ERROR [Error: Couldn't find preset "stage-3" relative to directory "/Users/tal/Projects/sitefs/site"]
Although this is implemented in Node, that should never be of concern to the user. At the moment, the only way to install though is via npm
. Create a distribution for users who don't have npm
/node
available. This would be a completely self contained package.
Get into major package managers like brew
, ubuntu ppa, etc.
Error handling is pretty ugly at the moment. Make it look nice on the console. With color if running on a tty.
The goal of hot reloading is to allow code changes to propagate to the browser without forcing a refresh. This allows insanely fast feedback loops for UI changes.
This is a placeholder for a discussion on how to implement it.
One thing I don't want to do is force users to have to run a custom development server. This tightly couples users to Node based apps and doesn't support the needs of other server side web stacks (e.g. Rails, PHP, Go, Java, etc...).
Also, users should not have to write any additional code to get this to work. It should simply be a matter of --hot
.
My preference is for hot loading to be provided by the browser developer tools, and should not require bundling additional code into a web-app. There may have to be a small out of band trigger that the cmd line tool can use to notify the browser that it should refresh the code and trigger a render.
Implement --watch
(alias -w
) cmd line option to keep running and watch files.
Lessons learned from other tools:
in1.js out1.js in2.js out2.js
In the same way we can do in.js out.js
, also support in.css out.css
, which applies the same CSS rules but doesn't use the custom JS injector.
This is a feature for GNU make users that will greatly speed up the builds. If users don't use Make, they don't need to know about it.
Cmd line flag to generate a foo.depends
file that can be included in a project Makefile. This list all files involved in creating the file output (including sources, transitive sources, third party libs, package.json, etc). When Make is run again, it can check the staleness of these files and only build if any of these have changed.
http://www.gnu.org/software/make/manual/html_node/Automatic-Prerequisites.html
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.