Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vitalizer

Package Overview
Dependencies
Maintainers
5
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vitalizer

The Vital Software front-end asset builder.

  • 3.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by14.29%
Maintainers
5
Weekly downloads
 
Created
Source

Vitalizer Build Status npm version

Get a Front End project up with no external configuration.

Upgrade from version 2 to 3

  • Move :root statement out of common files, and load in at root level instead (once per app)

Features

  • Yarn
  • HTTP/2
  • HTTPS
  • GZipping
  • Hot reloading
  • Injected JS/CSS assets
  • Tree-shaking optimization
  • Cache busted production assets
  • Source maps

CSS Support

  • PostCSS
  • Autoprefixer
  • SCSS style syntax
  • cssnext
  • CSS Nano minification
  • rem() function support

JavaScript Support

  • Babel
  • ES2015
  • ES2016
  • ES2017
  • Babili minification
  • Vendor chunking

Code Quality

Style property ordering

Style property order uses a version of the 'Outside In' ordering approach, with all direction properties in clockwise order (TRBL). The order is as follows:

  • Position properties (position, top, left)
  • Box model properties (display, width, height, padding, margin)
  • Text properties (color, font-family, line-height)
  • Visual properties (cursor, background, border)
  • Animation & misc properties (transform, animation, transition)

Configuration

If you need project specific configuration for the build/watch tasks, create a .build.config.js in the root folder of your project. It uses the following syntax:

module.exports = {
    entry: {
    }
};

Troubleshooting

Environment variables on build

Ensure that the BUILD_ENV environment variable gets set directly before the call to build otherwise the variable will fall out of scope and be undefined in the build script context. eg: BUILD_ENV=production vitalizer build

Safari outputs a (WebSocket network error: OSStatus Error -9807: Invalid certificate chain)

You need to ensure you've correctly trusted the self-signed certificate within Safari. See the guide available here for how to do this. If the padlock icon doesn't show in the URL bar, you will need to clear browser history for the localhost domain and refresh the page.

Contributing

Running tests locally

Use the following command to run the tests on your local environment:

yarn test

FAQs

Package last updated on 24 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc