Skip to content

Use to start your frontend project. Contains project ready editorconfig, eslint, package.json npm scripts.

Notifications You must be signed in to change notification settings

the-cc-dev/frontend-npm-scripts

 
 

Repository files navigation

NPM Scripts

This repository can be used as a starting point for any frontend theme, through modifying the npm scripts inside package.json, great flexibility is allowed. The following is supported:

Build

  1. docker-compose run --rm frontend npm run build
  2. Your built static site will be available at ./dist

Develop

  1. docker-compose up
  2. http://localhost

Preact inbuilt

Preact (instead of react) is included and imported as react via preact-compat. This should allow you to create react modules and use react packages easily.


3rd party dependencies

The following are included for optional use in the frontend itself:

  • Foundation
  • jQuery
  • Owl.carousel

About

Use to start your frontend project. Contains project ready editorconfig, eslint, package.json npm scripts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.3%
  • HTML 13.5%
  • CSS 4.5%
  • Dockerfile 2.7%