@storefront/query

2.9.0 • Public • Published

StoreFront query

StoreFront <gb-query> component

npm (scoped with tag) license API Reference

Getting Started

This module requires @storefront/core for the component to render and receive data from GroupBy microservices.

Prerequisites

This module is meant to be used in a node environment which is bundled for use in the browser.

Installing

Use npm or yarn to install in a node project that uses webpack, browserify or similar.

npm install --save @storefront/query
# or
yarn add @storefront/query

Usage

This module provides the <gb-query> component for use with StoreFront.

Mount tag

<!-- index.html -->
<body>
  <gb-query></gb-query>
</body>
// index.js
storefront.mount('gb-query');

Building the package

To build an individual package, run the following command:

yarn build

To build an individual package in response to changes within the src directory, run the following command:

yarn dev

Running tests

To test an individual packages, run the following command:

yarn test

To test an individual package in response to changes within the src and test directories, run the following command:

yarn tdd

Linting

To lint a package, run the following command:

yarn lint

To programmatically fix lint errors within a package, run the following command:

yarn lint:fix

Contributing

Read the contributing file to learn about how to contribute to the StoreFront project.

License

StoreFront and its related packages are MIT licensed.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.9.00latest
0.0.12-development0dev

Version History

VersionDownloads (Last 7 Days)Published
2.9.00
2.8.11
2.8.00
2.7.00
2.6.00
2.5.00
2.4.00
2.2.00
2.1.00
2.0.00
1.40.00
1.39.21
1.39.10
1.39.00
1.38.00
1.37.00
1.36.00
1.35.90
1.35.80
1.35.70
1.35.60
1.35.50
1.35.40
1.35.30
1.35.20
1.35.10
1.35.00
1.34.10
1.34.00
1.33.10
1.33.00
1.32.00
1.31.00
1.30.00
1.29.00
1.28.00
1.27.00
1.26.00
1.25.00
1.24.10
1.24.00
1.23.00
1.22.11
1.22.00
1.21.00
1.20.00
1.19.00
1.18.00
1.17.10
1.17.00
1.16.00
1.15.00
1.14.00
1.13.00
1.12.00
1.11.00
1.10.10
1.10.00
1.9.10
1.9.00
1.8.80
1.8.70
1.8.60
1.8.50
1.8.40
1.8.30
1.8.20
1.8.10
1.8.00
1.7.00
1.6.01
1.5.00
1.4.00
1.3.00
1.2.10
1.2.00
1.1.00
1.0.00
0.0.12-development0
0.0.11-development0
0.0.10-development0
0.0.9-development0
0.0.8-development0
0.0.7-development0
0.0.6-development0
0.0.5-development0
0.0.4-development0
0.0.3-development0
0.0.2-development0
0.0.1-development0
0.0.0-development0

Package Sidebar

Install

npm i @storefront/query

Weekly Downloads

4

Version

2.9.0

License

MIT

Unpacked Size

33 kB

Total Files

32

Last publish

Collaborators

  • effervescentia
  • groupby-ci
  • groupbyops