Forgery
Forgery is a collection of mocks used in Chefs Plate applications
Installation
Install as an NPM package
npm i @chefs-plate/forgery
Usage
To import a specific mock:
import { menus } from '@chefs-plate/forgery';
Available Mocks
Any of the following mocks are currently available:
Customer Mocks
-
customer
-
dateEvents
-
freebies
-
invites
-
platecredits
Guest Mocks
-
checkoutRequest
-
invalidCredentials
-
validCredentials
Menu Mocks
Plan Mocks
-
discount
-
discountedPlans
-
plans
Recipe Mocks
To Publish Changes
- Update version in
package.json
- Pull request changes into
master
- Obtain access to the npm registry if you don't have one
npm login
npm publish --access public