0.0.21 • Published 5 years ago
libby-react v0.0.21
Libby
Libby is a focused, no-frills React component development tool, similar to Storybook but without the plugins or addons. Libby provides a standalone environment that can be used or deployed with your component or design system documentation.
Demos
Getting Started
Install libby in your app:
npm i libby-reactCreate a libby.config.js file to the root directory of your project:
// libby.config.js
module.exports = {
// Required
entries: () => require.context('./src', true, /\.libby\.js$/),
// Optional
outputPath: 'dist',
layout: 'src/components/layout.js',
openBrowser: true,
port: 9000,
title: 'Page Title',
webpackConfig: () => ({
// Custom Webpack config goes here
}),
backgrounds: {
default: 'white',
values: [
{
name: 'white',
value: '#ffffff'
},
{
name: 'gray',
value: '#ebf0f5'
}
]
}
};Add the following scripts to your package.json file:
// package.json
"scripts": {
"libby:start": "libby start",
"libby:build": "libby build"
}Run libby:
npm run libby:startLicense
MIT
0.0.20
5 years ago
0.0.21
5 years ago
0.0.18
5 years ago
0.0.19
5 years ago
0.0.17
6 years ago
0.0.16
6 years ago
0.0.15
6 years ago
0.0.12
6 years ago
0.0.13
6 years ago
0.0.14
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago