Skip to content

datopian/datapackage-views-js

Repository files navigation

Build Status Coverage Status npm version

Welcome to datapackage-views-js, a views library for frictionless data and CKAN data resources.

Development

This project was bootstrapped with Create React App.

  • yarn start will compile tailwind css, run the app at localhost:3000, and watch for changes in your source files (hot reload)
  • yarn dev will compile tailwind css, run the app at localhost:3000, run cosmos at localhost:8989, and watch for changes

To see the app populated with views run yarn dev and visit localhost:8989

  • yarn build:package will use babel to compile the package to /dist for distribution

Cosmos

We are using cosmos to mock datasets and test components.

To run cosmos:

  • yarn install
  • yarn cosmos

Add fixtures to ./__fixtures.

Tailwindcss

We are using tailwindcss for styling. More on tailwind css here