Giter Club home page Giter Club logo

dispensary's Introduction

CircleCI codecov Dependency Status devDependency Status npm version

Dispensary ๐ŸŒฟ

The dispensary collects and offers hashes of popular JavaScript libraries, mainly for the Mozilla's addons-linter.

Libraries updates

This is the (manual) process to update libraries in dispensary:

  1. Open src/libraries.json
  2. Open the release pages of each library. Here is a list:
  1. On each page, check whether there are newer release versions than what is in src/libraries.json. Note that some libraries, like react, support several versions, so we need to check each "branch".
  2. For major upgrades, take a quick look at the code changes
  3. Add new versions to src/libraries.json
  4. Run npm run update
  5. Commit and push (Make sure to include src/libraries.jsonand src/hashes.txt)
  6. Tag and release

Development commands

Here are some commands you can run:

npm run build

This command builds the project.

npm run clean

This command removes the build artifacts.

npm run eslint

This command runs eslint (JavaScript linter).

npm run prettier

This command runs pretty-quick to automatically compare and format modified source files against the master branch.

npm run prettier-full

This command runs Prettier to automatically format the entire codebase.

npm run prettier-ci

This command runs Prettier and fail if some code has been changed without being formatted.

npm run test

This command builds the project and then runs the test suite (in watch mode).

npm run test-coverage

This command builds the project, runs the test suite and then reports code coverage (codecov).

npm run test-ci

This command runs all checks and is only useful in a CI context.

bin/build-doc

This command updates the list of release pages in the README.md file based on the src/libraries.json file.

dispensary's People

Contributors

dependabot[bot] avatar diox avatar entequak avatar greenkeeper[bot] avatar greenkeeperio-bot avatar groovecoder avatar jarrodldavis avatar mozilla-github-standards avatar mstriemer avatar muffinresearch avatar npmcdn-to-unpkg-bot avatar renovate-bot avatar renovate[bot] avatar snyk-bot avatar tofumatt avatar wagnerand avatar willdurand 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.