All Projects β†’ KidkArolis β†’ Jetpack

KidkArolis / Jetpack

πŸš€ Jetpack – Webpack made more convenient.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Jetpack

Baumeister
πŸ‘· The aim of this project is to help you to build your things. From Bootstrap themes over static websites to single page applications.
Stars: ✭ 171 (-87.1%)
Mutual labels:  webpack, workflow, frontend
Neutrino
Create and build modern JavaScript projects with zero initial configuration.
Stars: ✭ 3,844 (+189.89%)
Mutual labels:  webpack, zero-configuration, preact
Annotated Webpack Config
This is the companion github repo for the "An Annotated webpack 4 Config for Frontend Web Development" article.
Stars: ✭ 425 (-67.95%)
Mutual labels:  webpack, frontend
Nyancss
🌈 Write plain CSS while reaping benefits of CSS-in-JS
Stars: ✭ 544 (-58.97%)
Mutual labels:  webpack, preact
Nwb
A toolkit for React, Preact, Inferno & vanilla JS apps, React libraries and other npm modules for the web, with no configuration (until you need it)
Stars: ✭ 5,429 (+309.43%)
Mutual labels:  webpack, preact
Preact Starter
Webpack3 boilerplate for building SPA / PWA / offline front-end apps with Preact
Stars: ✭ 384 (-71.04%)
Mutual labels:  webpack, preact
Create React App Typescript
DEPRECATED: Create React apps using typescript with no build configuration.
Stars: ✭ 3,759 (+183.48%)
Mutual labels:  webpack, frontend
Poi
⚑A zero-config bundler for JavaScript applications.
Stars: ✭ 5,291 (+299.02%)
Mutual labels:  webpack, preact
Webpack Libs Optimizations
Using a library in your webpack project? Here’s how to optimize it
Stars: ✭ 3,187 (+140.35%)
Mutual labels:  webpack, frontend
Feflow
πŸš€ A command line tool aims to improve front-end engineer workflow and standard, powered by TypeScript.
Stars: ✭ 942 (-28.96%)
Mutual labels:  webpack, workflow
Primitive
⛏️ β€Ž A front-end design toolkit for developing web apps.
Stars: ✭ 783 (-40.95%)
Mutual labels:  workflow, frontend
React Ssr Starter
All have been introduced React environment
Stars: ✭ 20 (-98.49%)
Mutual labels:  webpack, preact
Multipages Generator
πŸ₯‡ generator for multiple pages webpack application
Stars: ✭ 354 (-73.3%)
Mutual labels:  webpack, frontend
Esri Loader
A tiny library to help load ArcGIS API for JavaScript modules in non-Dojo applications
Stars: ✭ 400 (-69.83%)
Mutual labels:  webpack, preact
Instapy Gui
gui for instapy automation
Stars: ✭ 313 (-76.4%)
Mutual labels:  webpack, preact
Webpacker
Use Webpack to manage app-like JavaScript modules in Rails
Stars: ✭ 5,282 (+298.34%)
Mutual labels:  webpack, frontend
Preact Boilerplate
🎸 Ready-to-rock Preact starter project, powered by Webpack.
Stars: ✭ 959 (-27.68%)
Mutual labels:  webpack, preact
Frontend Boilerplate
An ES20XX starter with common frontend tasks using Webpack 4 as module bundler and npm scripts as task runner.
Stars: ✭ 224 (-83.11%)
Mutual labels:  webpack, frontend
Frontend Boilerplates
Collection of Boilerplates with ES6, Vue, React, Nuxt, TypeScript, SCSS, Nodejs. Using good practices and file structures to inspire your real projects.
Stars: ✭ 269 (-79.71%)
Mutual labels:  webpack, frontend
Nerv
A blazing fast React alternative, compatible with IE8 and React 16.
Stars: ✭ 5,409 (+307.92%)
Mutual labels:  frontend, preact

jetpack

Webpack made more convenient.


Jetpack wraps webpack to create a smoother developer experience. Jetpack can be used instead of webpack, webpack-cli, webpack-dev-server and webpack-dev-middleware without writing any configuration. Jetpack is a thin wrapper around webpack, and can be extended with any webpack configuration.

  • Sensible defaults to handle modern JavaScript, CSS and images.
  • Preconfigured Babel with @babel/preset-env and @babel/preset-react, configurable via .babelrc.
  • Preconfigured PostCSS with postcss-preset-env including autoprefixing, configurable via postcss.config.js.
  • Differential builds and serving with modern/legacy bundles served to browsers based on user agent headers.
  • CSS modules available by switching one config flag.
  • Sass support by installing sass or node-sass.
  • Automatic JSX detection switches between React.createElement or h depending on dependencies.
  • Hot reloading built in for React (using fast-refresh) as well as vanilla JavaScript and CSS.
  • Automatic chunk splitting with inlined runtime and HTML generation.
  • Smooth workflow for simultaneously developing client and server applications.
  • Single dependency with hassle-free updates.
  • Optionally run anywhere without installing locally, just like nodemon.

Why use jetpack? To avoid rolling your own custom webpack config or having to paste it from old projects. Jetpack has a set of defaults that should get you off the ground quickly. And with the proxy config or universal jetpack/serve middleware you don't have to worry about wiring up webpack dev middleware or dev server – everything just works.

Usage

Install globally or locally:

$ npm install -g jetpack

In your project with package.json or index.js, start your app on http://localhost:3030:

$ jetpack

To build the app for production to a dist directory:

$ jetpack build

Inspect the bundle size and make up:

$ jetpack inspect

Print what browsers will be supported:

$ jetpack browsers
$ jetpack browsers --coverage=GB

Use jetpack anywhere, anytime

One of jetpack goals is to help you run any piece of JavaScript in a browser as easily as it is to run node scripts. Install jetpack globally and point it to any file on your machine. This is an alternative to jsfiddle / codepen / codesandbox style of hacking on things.

$ jetpack ~/Desktop/magic.js

Or any project on your machine:

$ jetpack --dir ~/projects/manyverse

Use jetpack with an API

Another goal of jetpack is to assist you in building complete, production apps. Very often in addition to developing the clientside application, you are also developing an API. Jetpack has a few features to make building such apps easier.

Point your package.json#main to your server entry and package.json#browser to your client entry.

Now you can run your API server together with jetpack in a single command:

$ jetpack -x

Alternatively, specify any command to execute: $ jetpack -x 'nodemon ./api'

Use this even if your server is not written in node

$ jetpack -x 'rails s'

Jetpack provides an ability to proxy requests to your api by specifying proxy configuration in jetpack.config.js or mounting the dev server to your application server using the jetpack/serve middleware. Read more about it in Workflow and deployment docs.

Documentation

Recipes

Motivation

This project is an exploration of some ideas accumulated over a few years using webpack in a variety of projects. Webpack is a very powerful and flexible tool. It applies to a lot of use cases and that is one of the reasons it has so many configuration options. Webpack also evolved over the years but preserved backward compatibility as much as possible to support the large ecosystem built around it.

Jetpack is an exploration of how using webpack could be made easier if the defaults, the CLI usage patterns and the configuration would be different.

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].