Socket
Socket
Sign inDemoInstall

expensify-common

Package Overview
Dependencies
19
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    expensify-common

Expensify libraries and components shared across different repos


Version published
Maintainers
1
Created

Readme

Source

expensify-common

This is a collection of JS libraries and components which are used across various Expensify projects. These libraries are provided as-is, and the repos which use them will need to do their own bundling, minifying, and uglifying.

Installation

  1. Clone this repo to a directory of your choosing
  2. Run npm install to install all the dependencies

Development

  • Write all code as ES6.
  • Always lint your code with npm run grunt watch
  • Make sure you're using http://editorconfig.org/

Testing your code while you are developing

The best way to test your code while you are developing changes is via npm link.

  1. Run npm link in the project root
  2. cd into the project directory that has a dependency on expensify-common
  3. Run npm link expensify-common

Alternatively, you can edit files directly in a project's node_modules then apply those changes to this repository.

Proposing a Change (Non-Expensify Contributors)

  1. Fork this repository and create a new branch
  2. Open a PR to merge your changes
  3. An Expensify engineer will be automatically assigned to your PR
  4. They will review and accept your changes, merge them, then deploy a new version

Deploying a Change (Expensify Only)

  1. Once the PR has been merged update the package.json commit hash in any repos with a dependency on expensify-common

FAQs

Last updated on 25 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc