1.0.0 • Published 4 years ago

icp-cms-client-mobile v1.0.0

Weekly downloads
345
License
MIT
Repository
github
Last release
4 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

4 years ago

0.0.28

4 years ago

0.0.27

4 years ago

0.0.24

4 years ago

0.0.25

4 years ago

0.0.26

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.18

4 years ago

0.0.19

4 years ago

0.0.17

4 years ago

0.0.15

4 years ago

0.0.16

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.11

4 years ago

0.0.12

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago