Socket
Socket
Sign inDemoInstall

fffast

Package Overview
Dependencies
38
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fffast

fffast basic ES6 and postcss experimentation folder without all the node_modules hassle


Version published
Weekly downloads
39
increased by3800%
Maintainers
1
Install size
109 MB
Created
Weekly downloads
 

Readme

Source

FFFAST

npm version dependencies Status

create and watch a webtech experimentation folder

Install

npm install fffast -g

Commands


Usage: fffast / create and watch a webtech experimentation folder

$ fffast {command}


Commands:

  init|i    copy basic structure into current folder and start fffast
  run|r     run fffast in development mode, same as 'fffast'
  build|b   create optimized production (./dist) folder
  serve|s   serve the ./dist folder

Options:

  -h, --help     output usage information
  -V, --version  output the version number

Usage

Starting with an empty folder

fffast init creates a ./src folder

based on the template folder

/js
  script.js

/css
  reset.css
  normalize.css
  style.css

index.html

.editorconfig
.eslintrc

Creating your own ./src folder
  • js/script.js
  • css/style.css
  • index.html

are required, the rest is optional

run the fffast command in the root folder

Running fffast

fffast / fffast r / fffast run

to serve and watch the ./src folder with webpack-dev-server

Building a ./dist folder

fffast b / fffast build

creates an optimized ./dist folder and runs it with lite-server

(you can use fffast s / fffast serve to serve the ./dist folder)

JavaScript

Babel

ES6 and beyond with Babel

Linting

if there is a .eslintrc file present, the files are linted using ESLint

You can use the .eslintrc file in the template folder

CSS / PostCSS

Using postcss-loader

Following postcss plugin is used:

Extra

node modules

You can install node modules and import them in your JavaScript files. fffast also looks in the local /node_module folder when you import.

(React, React-DOM, React-Router (v4) and Lodash are preinstalled)

FAQs

Last updated on 17 Oct 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc