@blurb/dashboard
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
Last updated 2 years ago by blurb .
Original npm · Tarball · package.json
$ cnpm install @blurb/dashboard 
SYNC missed versions from official npm registry.

This project was bootstrapped with Create React App.

File structure

src/                  # main code
  scenes/             # Each page of the app has a folder here with its own components folder, etc
    DashboardHomepage/
    MonthlySales/
    BookMetrics/
  components/         # folder containing all components not used by scenes (or shared between scenes)
    Component/        #, each component folder should have everything that only that component uses (files shared between components would be in a higher-level folder)
      index.js        # exports the entry point file (in this case the container)
      Component.js
      ComponentContainer.js
      Component.scss
      components/     # any components used only by this component, with further nesting
      __tests__       # tests related to files in this directory; keep the tests close to the files being tested
      __stories__     # storybook stories related to the files in this directory

Running in development

npm install

to use mock data

npm run mock-responses

to start your server

npm run start

developing with storybook

npm run start-storybook

Node version management

  • install n or nvm
  • install avn
  • cd into directory.

TL;DR

npm i -g n && n latest
npm i -g avn avn-n && avn setup

If you get avn not found

It means you just have to run npm i -g avn && avn setup for that node (npm) version

Getting casper to work with phantom 2.5.0

on macos

https://rtmccormick.com/2017/03/19/install-phantomjs-2-5-beta-macos/ https://github.com/ariya/phantomjs/issues/14819

on jenkins

coming soon!

Then make sure you have PHANTOMJS_EXECUTABLE set to the right phantom, otherwise it'll just use whatever's on your path (which phantomjs)

Current Tags

  • 4.1.1-beta.0                                ...           latest (2 years ago)

1 Versions

  • 4.1.1-beta.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (37)
Dev Dependencies (42)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |