1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-11-22 17:50:15 +01:00

add Travis

This commit is contained in:
Matthias Kretschmann 2020-04-27 15:04:17 +02:00
parent 734d4f4677
commit 44b145a2ba
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 18 additions and 2 deletions

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
dist: xenial
language: node_js
node_js: node
cache:
npm: true
script:
# will run `npm ci` automatically here
- npm test
# - npm run build
notifications:
email: false

View File

@ -4,6 +4,7 @@
> 🎣 React hooks & components on top of squid.js > 🎣 React hooks & components on top of squid.js
[![Build Status](https://travis-ci.com/oceanprotocol/react.svg?token=3psqw6c8KMDqfdGQ2x6d&branch=master)](https://travis-ci.com/oceanprotocol/react)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-7b1173.svg?style=flat-square)](https://github.com/prettier/prettier) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-7b1173.svg?style=flat-square)](https://github.com/prettier/prettier)
[![js oceanprotocol](https://img.shields.io/badge/js-oceanprotocol-7b1173.svg)](https://github.com/oceanprotocol/eslint-config-oceanprotocol) [![js oceanprotocol](https://img.shields.io/badge/js-oceanprotocol-7b1173.svg)](https://github.com/oceanprotocol/eslint-config-oceanprotocol)

View File

@ -1,7 +1,6 @@
import { useState } from 'react' import { useState } from 'react'
import { DID } from '@oceanprotocol/squid' import { DID } from '@oceanprotocol/squid'
import { useOcean } from '../../providers' import { useOcean } from '../../providers'
import { AgreementData } from '@oceanprotocol/squid/dist/node/keeper/contracts/managers'
interface UseConsume { interface UseConsume {
consume: (did: DID) => Promise<void> consume: (did: DID) => Promise<void>

View File

@ -1,2 +1,3 @@
export * from './hooks'
export * from './providers' export * from './providers'
export * from './hooks'
export * from './components'

View File

@ -1 +1,2 @@
export * from './OceanProvider' export * from './OceanProvider'
export * from './Web3Provider'