GithubHelp home page GithubHelp logo

isabella232 / wmr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from preactjs/wmr

0.0 0.0 0.0 2.75 MB

๐Ÿ‘ฉโ€๐Ÿš€ The tiny all-in-one development tool for modern web apps.

License: MIT License

JavaScript 99.45% HTML 0.36% CSS 0.19%

wmr's Introduction

WMR

npm install size OpenCollective Backers OpenCollective Sponsors

The tiny all-in-one development tool for modern web apps, in a single 2mb file with no dependencies.

All the features you'd expect and more, from development to production:

๐Ÿ”จ ย  No entry points or pages to configure - just HTML files with <script type=module>
๐Ÿฆฆ ย  Safely import "packages" from npm without installation
๐Ÿ“ฆ ย  Smart bundling and caching for npm dependencies
โ†ป ย  Hot reloading for modules, Preact components and CSS
โšก๏ธ ย  Lightning-fast JSX support that you can debug in the browser
๐Ÿ’„ ย  Import CSS files and CSS Modules (*.module.css)
๐Ÿ”ฉ ย  Out-of-the-box support for TypeScript
๐Ÿ“‚ ย  Static file serving with hot reloading of CSS and images
๐Ÿ—œ ย  Highly optimized Rollup-based production output (wmr build)
๐Ÿ“‘ ย  Crawls and pre-renders your app's pages to static HTML at build time
๐ŸŽ ย  Built-in HTTP2 in dev and prod (wmr serve --http2)
๐Ÿ”ง ย  Supports Rollup plugins, even in development where Rollup isn't used

Quickstart (recommended)

Create a new project in seconds using create-wmr:

npm init wmr your-project-name

or

yarn create wmr your-project-name

๐Ÿ’ If you'd like ESLint to be set up for you, add --eslint to the command. Note: this will use 150mb of disk space.

Check out the docs to learn more

Packages

Package Description Version
wmr Tiny all-in-one development tool for modern web apps wmr npm
create-wmr Create a new WMR project in seconds create-wmr npm
@wmr-plugins/directory-import Import a directory's files as an Array @wmr-plugins/directory-import npm
@wmr-plugins/nomodule Generate legacy fallback bundles for older browsers @wmr-plugins/nomodule npm
@wmr-plugins/service-worker Bundle service workers @wmr-plugins/service-worker npm
preact-iso Optimal code-splitting, hydration and routing for Preact preact-iso npm

Contributing

git clone [email protected]:preactjs/wmr.git
cd wmr
yarn

# run the demo (no compile)
yarn demo serve

# build and serve the demo for prod
yarn demo build:prod && yarn demo serve:prod

# build the single-file CLI:
yarn workspace wmr build

Adding a changeset

Don't forget to also include a changeset, by runing this command at the root of the project:

yarn changeset

This will take you through a process of selecting the changed packages, the version updates and a description of the change. Aferwards, changesets, will generate a .md file inside a .changeset directory. Please commit that file as well.

After all that, you are good to go. :+1

wmr's People

Contributors

developit avatar marvinhagemeister avatar jovidecroock avatar rschristian avatar lukeed avatar piotr-cz avatar cristianbote avatar forsakenharmony avatar github-actions[bot] avatar emiltholin avatar matiasperz avatar intrnl avatar jbt avatar dbetteridge avatar andrewiggins avatar ajayposhak avatar sync avatar aduh95 avatar calebeby avatar hassanbazzi avatar jstans avatar madmanwithabike avatar

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.