woocommerce / woocommerce-order-source-attribution

WooCommerce Order Source Attribution helps merchants understand which marketing activities, channels or campaigns are leading to orders in their stores.
https://github.com/woocommerce/woocommerce-order-source-attribution
5 stars 0 forks source link

Add package.json and build scripts. #9

Closed rawdreeg closed 1 year ago

rawdreeg commented 1 year ago

Changes proposed:

Adding package.json with a few useful scripts to help build the extension zip.

closes #8

Testing steps:

  1. Checkout branch and run npm run build in terminal
  2. Install the generated zip plugin in your wp install.
  3. Create an order through your store checkout. And return to the WP dashboard -> WooCommerce -> Orders.
  4. Edit the recently created order and confirm the Order Source Data has been populated.