GithubHelp home page GithubHelp logo

angeliquejw / mixpack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from waldronmatt/mixpack

0.0 1.0 0.0 360 KB

A mixed TypeScript/JavaScript Webpack boilerplate with Express.

Home Page: https://mixpack.netlify.app

License: MIT License

JavaScript 76.69% CSS 2.61% HTML 4.23% SCSS 7.90% TypeScript 8.57%

mixpack's Introduction

MixPack

Netlify Status webpack

A mixed TypeScript/JavaScript Webpack boilerplate with Express. Click here to see it live on Netlify.

Introduction

Mix and match TypeScript and ES6+ JavaScript alongside Sass and Next-Gen CSS using Express.

Why Use MixPack?

Mixpack sets out to provide an all-in-one Webpack boilerplate solution using core frontend technologies and sensible optimization defaults.

Fork and Launch

Deploy to Netlify

Installation

Install dependencies:

    npm install

Usage

Development server

Run dev environment:

    npm run dev

Navigate to http://localhost:8080/

Production build (serverless)

Build and serve for production:

Note: Configure this command in your Netlify account.

    npm run build

Other commands

Build and serve for production (locally):

Note: Point to server: './scripts/server-prod.js', in webpack.server.config.

    npm run build
    npm run serve

Run all tests:

    npm run test

Run all tests with additional coverage information:

    npm run coverage

Visualize Webpack output:

Note: First, make sure debug: true, is disabled in babel.config.js.

    npm run analyze

Create webp images:

    npm run optimize

Features

  • Transpile TypeScript, Next-Gen JavaScript, Sass, and Next-Gen CSS
  • Testing support for a mixed JS/TS environment using Jest
  • Linting support for a mixed JS/TS and CSS/Sass environment using Eslint and Stylelint
  • Integrates the Express + Webpack (Expack) boilerplate
  • Includes an organized sass boilerplate
  • Optimized Webpack configurations
  • Includes code splitting examples

Dependency Deep-Dive

See the extended README

Mixpack for the Back End

See the backend README

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Credits

mixpack's People

Contributors

waldronmatt avatar

Watchers

 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.