Code Monkey home page Code Monkey logo

snowpack-starter's Introduction

Snowpack starter

A simple and yet modern (opinionated) development environment template

contributions welcome CI Actions Status

Tooling

Goals

Built-in scripts

  • start: initializes the development server using Snowpack
  • build: creates a production ready build of the source files with Snowpack
  • serve: builds and serves the source files (mostly used for e2e tests)
  • test: executes all available testing commands (unit, e2e, lighthouse)
    • test:unit: runs test files with Jest
    • test:e2e: runs e2e test files with Playwright (using [jest-playwright]) against Chrome, Firefox, and Safari
    • test:lighthouse: runs Lighthouse CI on the build source files (playwright))
  • lint & format: runs Prettier on the src/ folder (and ignore the files set in the .prettierignore configuration).
  • prepare: initializes the dependencies and modules with Snowpack. This command is automatically executed when you run npm install

For configuration details check the specific files under the config/ folder

CI

This template comes with a built-in GitHub actions workflow that will execute tests on every push to the branch. For more details check the .github/workflows/ci.yml file.

Code editor

If you're using vscode, please keep in mind that this template has specific configuration files that will be used when you open it on vscode. The configuration file is mostly necessary to point the editor to the correct location of the Prettier configuration file at /config/prettier.config.js.

snowpack-starter's People

Contributors

davi-mbatista avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.