GithubHelp home page GithubHelp logo

squareweave / frontend-npm-scripts Goto Github PK

View Code? Open in Web Editor NEW
1.0 7.0 1.0 1.17 MB

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

JavaScript 79.34% CSS 4.51% HTML 13.49% Dockerfile 2.66%

frontend-npm-scripts's Introduction

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

frontend-npm-scripts's People

Contributors

dependabot[bot] avatar g-rath avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

the-cc-dev

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.