Coder Social home page Coder Social logo

challenges's Introduction

Dsafio ๐Ÿค˜

Travis CI Snyk

Practicing tool for coders.

Up and Running ๐Ÿƒ

It's a Commander.js powered Node.js CLI.

Requirements

You need Node.js to run the CLI. We recommend asdf to manage your Node.js environment.

Install the CLI

npm install -g dsafio

Contributing ๐Ÿ‘ท

Dsafio is a Node.js command-line tool. You'll want to have the development version of the dsafio command in your $PATH. Besides it, it will feel like a normal Node.js project for you. It's built with Commander.js, tested with Mocha, Chai and Sinon.JS, with Prettier as coding standard.

Development environment

Depending on how is your $PATH, you might need to uninstall dsafio as global:

npm uninstall -g dsafio

It's a typical Node.js project. Dependencies are managed via npm:

npm install

Now, just link the development executables:

npm link

dsafio command should now be available in your shell.

Unlinking the development version

If you ever need to unlink the global version (eg.: you want to install the production version directly from npm), you will want to unlink the development version first:

npm unlink

Conventional Commits

We use Conventional Commits in our commit history. It is a specification for commit messages that help us automate versioning processes. Please refer to its website for more information.

Testing โœ…

Test can be run with the following command:

npm test

It's possible to run them in watch mode:

npm run test:watch

Style Guide ๐ŸŒท

We use Prettier.

License ๐Ÿ“„

MIT

challenges's People

Contributors

dependabot[bot] avatar geymed avatar joeljuca avatar snyk-bot avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

geymed

challenges's Issues

Migrate to Prettier

Dsafio has been using Standard as its code formatting style, but since Prettier has become this popular beast, the project has moved on with the community. The command-line did it a few months ago, and now it's time to do it in the main challenges repository.

Migrate to Jest

We have been using Mocha for test cases due to its popularity and simplicity, but Jest has proven to be an interesting tool with most of the features a developer would need while testing a JavaScript project. We should replace Mocha with Jest for a better experience when writing tests.

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.