@chefs-plate/forgery
v1.2.0
Published
Chefs Plate Mock Library
Downloads
45
Keywords
Readme
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
menus
tastePreferences
Plan Mocks
discount
discountedPlans
plans
Recipe Mocks
recipe
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