New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@databutton/firebase-types

Package Overview
Dependencies
Maintainers
2
Versions
1133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@databutton/firebase-types

This repo contains firestore types, functions and rules for Databutton.

  • 1.5.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
608
decreased by-22.35%
Maintainers
2
Weekly downloads
 
Created
Source

Databutton Firebase

This repo contains firestore types, functions and rules for Databutton.

Contributing

This repo runs TypeScript and is a pure ESM project. This basically means that you have to write import x from 'x'; and you can no longer write const x = require('x');

In addition, all imports needs to be relative paths and include file-ending (.js). This is also the case when importing TypeScript files because the imports are used after the TypeScript has been transpiled into JavaScript.

For more info, check out this guide on writing pure ESM packages

Developing

yarn install

Running tests

yarn test:rules

Linting

yarn lint

Running locally

Note: You need Google Credentials

yarn shell

Execute firebase scripts (for migration etch.)

Set up GOOGLE_APPLICATION_CREDENTIALS from the following guide: https://firebase.google.com/docs/admin/setup#initialize-sdk and add the environment variable to the file <PROJECT_ROOT>/.env

Modify the src/run.ts-file to do what you want.

Execute the script running this command

yarn execute

FAQs

Package last updated on 31 Oct 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc