1.0.0 • Published 3 years ago

icp-cms-client-mobile v1.0.0

Weekly downloads
345
License
MIT
Repository
github
Last release
3 years ago

icp-cms-client-mobile

Library that contains all the connections with the CMS for mobile ICP

Installation

yarn add icp-cms-client-mobile

Depdendencies

The following dependencies must be included in the project in order to use this library

yarn add apollo-client
yarn add apollo-link-prismic
yarn add apollo-cache-inmemory
yarn add graphql
yarn add graphql-tag

Usage

import { getMainBanner } from 'icp-cms-client-mobile'

// ...

const result = await getMainBanner()

Scripts

The package.json file contains various scripts for common tasks:

  • yarn bootstrap: setup project by installing all dependencies and pods.
  • yarn typescript: type-check files with TypeScript.
  • yarn lint: lint files with ESLint.
  • yarn test: run unit tests with Jest.
  • yarn testCoverage: run unit tests with Jest and generate coverage report.
  • yarn prepare: Build library.
  • yarn example start: start the Metro server for the example app.
  • yarn example android: run the example app on Android.
  • yarn example ios: run the example app on iOS.
1.0.0

3 years ago

0.0.28

3 years ago

0.0.27

3 years ago

0.0.24

3 years ago

0.0.25

3 years ago

0.0.26

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.17

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago