/js-pdk

MyParcel PDK for JavaScript

Primary LanguageTypeScript

MyParcel JS Plugin Development Kit

Latest version NPM downloads Codacy grade Code coverage License Chat with us

The MyParcel PDK (Plugin Development Kit) is meant for developing entire plugins on E-Commerce platforms. If you're just looking to connect to our API without creating an entire plugin, you should check out our php [SDK].

Requirements

Documentation

For examples, guides and in-depth information, visit our [Plugin Development Kit (PDK) documentation].

Support

Create an issue or contact us via our [Developer Portal contact page].

Contributing

View our [contribution guidelines] for information on how to contribute to the PDK.

Prerequisites

  • Node 18
  • Yarn
  • Docker

Packages

This project contains multiple npm packages. Install them with npm, yarn or pnpm.

Backend

@myparcel-pdk/admin

This is the main package for the admin interface. It's able to

@myparcel-pdk/admin-preset-default

This package contains default components for @myparcel-pdk/admin.

@myparcel-pdk/admin-preset-bootstrap4

This package contains components for @myparcel-pdk/admin that use the Bootstrap 4 CSS framework.

@myparcel-pdk/admin-preset-dashicons

This package contains components for @myparcel-pdk/admin that use the Dashicons icon library.

@myparcel-pdk/admin-preset-fontawesome

This package contains components for @myparcel-pdk/admin that use the Font Awesome icon library.

@myparcel-pdk/admin-component-tests

If you're making your own components for @myparcel-pdk/admin, you can use this package to test them.

@myparcel-pdk/app-builder

This is a CLI tool to build an app using @myparcel-pdk/admin.

Frontend

@myparcel-pdk/checkout

This is the main package for the checkout and is meant to work with MyParcel Delivery Options package.

Contributing

See the Developer Guide for contributing to MyParcel repositories.