Git Product home page Git Product logo

digital-terrain-mc-js's Introduction

digital-terrain-mc-js

Getting Started

clone project into $directory cd into $directory nvm use to ensure the correct version of node and npm are being used

Node/npm version: lts/dubnium

Installing dependencies

  1. Run npm install to install required dependencies
  2. Run npm run build:development to build for development
  3. Navigate to http://localhost:8080/ in your browser
  4. Modify and save /src/ files to hot load changes

Available Scripts

In the project directory, you can run:

npm run start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build:development

Builds the app for development to the dist folder.
It correctly bundles React in devlopment mode.

npm run build:production

Builds the app for development to the dist folder.
It correctly bundles React in devlopment mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run lint

Runs npm run lint:js && npm run lint:css which lints all files in the projects.

npm run test

Runs entire test suite. See testing section for more information

npm run test:updateSnapshots

Updates jest snapshots. Only use this after you've ensured that the updates that will be made are actually needed and intended

Testing

This project should be unit tested. To run tests run npm run test which will run all tests using Jest in the /tests/ directory.

This project is using Jest for the testing Framework, and enzyme for the react rendering framework. jestconfig.json and jestsetup.js is where config and setup are handled for jest.

To view coverage after running tests open tests/jest/reports/coverage/index.html in a browser. At the very least try to keep coverage > 80%

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Ensure tests are updated and passing. Ensure you introduced no new linting errors or warnings without reason.

License

MIT

digital-terrain-mc-js's People

Contributors

20bbrown14 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.