All Projects → farism → elm-factory

farism / elm-factory

Licence: MIT license
Dev and build on Elm applications

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
elm
856 projects

Projects that are alternatives of or similar to elm-factory

Fuzzymail
📨 Email template generator. Making emails fun again.
Stars: ✭ 114 (+418.18%)
Mutual labels:  livereload
Modd
A flexible developer tool that runs processes and responds to filesystem changes
Stars: ✭ 2,030 (+9127.27%)
Mutual labels:  livereload
pribambase
Paint pixelart textures in real time in Blender with Aseprite.
Stars: ✭ 129 (+486.36%)
Mutual labels:  livereload
Flexlib
FlexLib是一个基于flexbox模型,使用xml文件进行界面布局的框架,融合了web快速布局的能力,让iOS界面开发像写网页一样简单快速
Stars: ✭ 1,569 (+7031.82%)
Mutual labels:  livereload
Blazorlivereload
BlazorLiveReload
Stars: ✭ 143 (+550%)
Mutual labels:  livereload
Vscode Live Server
Launch a development local Server with live reload feature for static & dynamic pages.
Stars: ✭ 3,275 (+14786.36%)
Mutual labels:  livereload
Boot Reload
Boot task providing live-reload of browser css, images, etc.
Stars: ✭ 90 (+309.09%)
Mutual labels:  livereload
biu
⚡ a simple front-end code livereload tool
Stars: ✭ 26 (+18.18%)
Mutual labels:  livereload
Kirby Webpack
💪 A Kirby CMS starter-kit with modern frontend tools
Stars: ✭ 150 (+581.82%)
Mutual labels:  livereload
magento-2-gulp
Gulp for Magento 2. It works with core Magento styles (less) and structure. Uses default theme configs from dev/tools/grunt/configs/local-themes.js.
Stars: ✭ 37 (+68.18%)
Mutual labels:  livereload
Apiproject
[https://www.sofineday.com], golang项目开发脚手架,集成最佳实践(gin+gorm+go-redis+mongo+cors+jwt+json日志库zap(支持日志收集到kafka或mongo)+消息队列kafka+微信支付宝支付gopay+api加密+api反向代理+go modules依赖管理+headless爬虫chromedp+makefile+二进制压缩+livereload热加载)
Stars: ✭ 124 (+463.64%)
Mutual labels:  livereload
Gosora
Gosora is an ultra-fast and secure forum software written in Go that balances usability with functionality.
Stars: ✭ 131 (+495.45%)
Mutual labels:  livereload
P5 Manager
A p5js template builder & sketches manager. Built for p5js enthusiasts.
Stars: ✭ 251 (+1040.91%)
Mutual labels:  livereload
Simple Boilerplate
A simple webpack boilerplate for your comfortable work with HTML, JS and CSS.
Stars: ✭ 116 (+427.27%)
Mutual labels:  livereload
universal-hot-reload
Hot reload client and server webpack bundles for the ultimate development experience
Stars: ✭ 79 (+259.09%)
Mutual labels:  livereload
Jus
🍉 An opinionated tool for making static websites with browserify
Stars: ✭ 107 (+386.36%)
Mutual labels:  livereload
Webpack Livereload Plugin
LiveReload during webpack --watch
Stars: ✭ 183 (+731.82%)
Mutual labels:  livereload
gaper
Builds and restarts a Go project when it crashes or some watched file changes
Stars: ✭ 62 (+181.82%)
Mutual labels:  livereload
live-reload-vanilla-website-template
Template to build a website without a front-end framework, including transpilation of ES6+ JavaScript and Sass support
Stars: ✭ 47 (+113.64%)
Mutual labels:  livereload
elm-css-patterns
Common CSS patterns done with elm and elm-css
Stars: ✭ 61 (+177.27%)
Mutual labels:  elm-css

Elm Factory npm version Travis CI Coverage Status Greenkeeper badge

An all-in-one, zero-configuration CLI tool for developing, building, and deploying Elm applications. Don't worry about tooling and just code!

About

Elm is an awesome language. It has a lot of great individual tooling. However, using them all together in some type of workflow can be a bit tedious. On top of that, some of the tools (e.g. elm-reactor) lack some basic features that would make them into more full-fledged developer tools.

This is where Elm Factory comes in. One of the goals of this project was to not deviate too much from the existing elm tooling ecoystem. It is essentially a CLI tool that is a thin wrapper over a few core libraries while exposing additional functionality, and with only a few basic commands:

  • init to scaffold new Elm projects
  • dev to start up an express server to proxy elm-reactor
  • build to create cache-busted and minified production builds

Features

  • Custom html templates with elm-reactor
  • Stylesheet management via elm-css
  • CSS injection with livereload
  • Define custom proxy endpoints
  • Production mode builds with cache-busting

Getting Started

# Installation

yarn global add elm-factory
npm install -g elm-factory

# Create a new project

elm-factory init my-app && cd my-app

# Start the elm-factory dev server

elm-factory dev --port=3000 --template=index.dev.hbs

# Build the project for production

elm-factory build --output-path=dist --template=index.prod.hbs

Please see the cli usage for a full list of options

Configuration

Project configuration is available through an .elmfactoryrc or .elmfactoryrc.json file:

{
  "main": "src/MyApp.elm",
  "build": {
    "html": "index.prod.hbs"
  },
  "dev": {
    "port": 3000,
    "html": "index.dev.hbs"
  }
}

Please see the configuration page for a full list of options

Underlying Packages

  • elm-reactor for on-the-fly compilation
  • browser-sync for proxying and livereload
  • find-elm-dependencies for dev mode watching
  • node-elm-compiler for compiling production builds
  • elm-css for managing stylesheets and extracting css assets
  • gulp for orchestrating CLI tasks
  • postcss for css processing and minification
  • uglifyjs for js minification

Contributing

Ideas and code contributions are welcome! In lieu of a styleguide, this project uses prettier, husky, and lint-staged to maintain code style. If you have any questions, just ask.

Related projects

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].