mirror of
https://github.com/oceanprotocol/react.git
synced 2024-11-22 17:50:15 +01:00
add Travis
This commit is contained in:
parent
734d4f4677
commit
44b145a2ba
14
.travis.yml
Normal file
14
.travis.yml
Normal 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
|
@ -4,6 +4,7 @@
|
||||
|
||||
> 🎣 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)
|
||||
[![js oceanprotocol](https://img.shields.io/badge/js-oceanprotocol-7b1173.svg)](https://github.com/oceanprotocol/eslint-config-oceanprotocol)
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { useState } from 'react'
|
||||
import { DID } from '@oceanprotocol/squid'
|
||||
import { useOcean } from '../../providers'
|
||||
import { AgreementData } from '@oceanprotocol/squid/dist/node/keeper/contracts/managers'
|
||||
|
||||
interface UseConsume {
|
||||
consume: (did: DID) => Promise<void>
|
||||
|
@ -1,2 +1,3 @@
|
||||
export * from './hooks'
|
||||
export * from './providers'
|
||||
export * from './hooks'
|
||||
export * from './components'
|
||||
|
@ -1 +1,2 @@
|
||||
export * from './OceanProvider'
|
||||
export * from './Web3Provider'
|
||||
|
Loading…
Reference in New Issue
Block a user