Skip to content
This repository was archived by the owner on Apr 16, 2018. It is now read-only.

framejs/frame-starter

Repository files navigation

FrameJS Component library starter is a setup using FractalJS for docmenting the components, while being a playground for development.

TodoMVC is included for reference, showing how to write documentation and serves as an example on how to use FrameJS.

Getting started

Install dependencies:

$ npm install

Start a development server:

$ npm start

Build for production and generate static documentation:

$ npm run build

Writing unit and e2e tests

This starter-kit comes with Karma test runner for testing components. Webpack is preconfigured to compile all test files called [file].spec.(ts|tsx) in the /src directory, and Karma is configured to load all test files and the compiled src/index.tsx.

To run all tests:

$ npm test

To run all tests and run on every test file change:

$ npm run test:watch

Settings for Karma can be configured in karma.conf.js

Enjoy!

About

Starter project to start building components with styleguide and testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published