Code Monkey home page Code Monkey logo

etm12-pixel-app's Introduction

Codecov Netlify GitHub Code Climate maintainability

etm12-pixel-app

Contents

Getting started

You'll need Node.js (a fresh version, anything over 8 but 12 is preferred). Yarn is recommended, but not required.

# Install all dependencies
yarn
# Run app
yarn start

Git hooks

This repository uses husky for Git hooks. All tests must pass to be allowed pushing to remote.

Committing code

This repository uses Git commitizen for creating commit messages in the repository. After installing dependencies, commitizen should also be configured in the project. Use git cz instead of git commit for commits.

Project scripts

  • yarn start
    • start application locally with some additional development environment-related additions
  • yarn start:app
    • same as yarn start, but skip devenv-related additions
  • yarn build
    • create production bundle; yarn prebuild must succeed
  • yarn build:changelog
  • yarn prebuild
    • run tests and collect code coverage before creating the application bundle
  • yarn test
    • run tests in watch mode
  • yarn test:simple
    • run tests without watch mode
  • yarn test:cov
    • run tests without watch mode, collect code coverage reports

Running tests

  • yarn test — Application-wide tests (watch mode)
  • yarn test:simple — Application-wide tests without watch-mode
  • yarn test:cov — Test and collect code coverage reports

Testing libraries

  • unit tests through jest
  • snapshot testing as lightweight regression tests for presentation components
  • property-based testing through jsverify

Building

The production bundle can be created by running

yarn build

Code structure

  • Scope-specific code for a module is located inside the directory _/ located inside that directory
  • Tests for a file module.js should be in __tests__/module.js in the same directory

etm12-pixel-app's People

Contributors

stuf avatar

Watchers

 avatar  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.