0.3.4 • Published 3 years ago

haste-preset-fullstack v0.3.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Haste fullstack preset

A Haste preset that supports building fullstack react applications.

Features

  • Zero configuration required to start developing your app.
  • Webpack config that includes loaders for importing scss, icons, fonts and graphql.
  • Hot Module Replacement support in dev mode.
  • Production optimized bundles with minification and scope hoisted modules for faster execution.
  • Dashboard view while in dev mode to clearly see what is running.

Requirements

  • Node.js v6.10.0 or above
  • Yarn or NPM

Installation

With yarn:

$ yarn add --dev haste-cli haste-preset-fullstack

Or with npm:

$ npm install --save-dev haste-cli haste-preset-fullstack

Quickstart

Edit your project's package.json and add commands for starting, building and testing your application:

{
  "scripts": {
    "start": "haste start",
    "test": "haste test",
    "build": "haste build"
  }
}

That's it, you can start working on your app by running one of the supported commands: start, test or build.

npm start or yarn start

Runs the app in dev mode, watching for file changes and updating the app in response.

npm test or yarn test

Runs all of your app's tests with Jest. Supports a --watch flag to watch for file changes and run again.

npm build or yarn build

Builds your app for production. It bundles your client side code, minifies it and optimizes the build for the best performance.

Configuration

You can provide custom configuration for the preset adding a haste field in your package.json or by creating a .hasterc file.

0.3.4

3 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.8

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

6 years ago

0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago