@camslingshot/slingshot-web-form-widget

This project was originally bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@camslingshot/slingshot-web-form-widget
Minified + gzip package size for @camslingshot/slingshot-web-form-widget in KB

Readme

This project was originally bootstrapped with Create React App.

Table of Contents

Purpose

This repo serves as the web form for our clients to put on their sites. This form pulls configuration from the web app and submits data to the web app as well.

Deploying New Versions of the Form

There are two places to deploy this form when we make a change:

  • NPM package (for the configuration tool in the webapp)
  • Google Cloud (for distribution to clients' sites)

Deploying to NPM

When a form update is made, let me know and I'll deploy to NPM for you. The process for right now, though, is as such:

Right now the package is owned by myself. You can find it here: https://www.npmjs.com/package/@camslingshot/slingshot-web-form-widget

  1. Bump the version in package.json
  2. Comment the proper code out of src/index.js (it's notated, so you should see it)
  3. Run npm publish from the application root

Deploying to Google Cloud

Everything necessary to deploy to GCP should be housed in scripts/deploy.js -- this happens automatically when code is merged to master thanks to the power of Gitlab Pipelines.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.