Skip to content

Commit

Permalink
Merge branch 'release/0.2.0'
Browse files Browse the repository at this point in the history
# Conflicts:
#	package.json
  • Loading branch information
benjamindavid committed Jan 31, 2019
2 parents 8dc26e9 + d164780 commit 609f325
Show file tree
Hide file tree
Showing 64 changed files with 35,649 additions and 2,687 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
Expand Down
37 changes: 16 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,34 @@
# Craft UI

## Project setup
```
npm install
```
## Introduction
This is a collection of components and styles meant to be used across Craft apps and websites.

## Storybook
## Development

Storybook showcases the Craft UI components.
To get started for the development of the Craft UI library or the docs, run this command:

### Compiles and hot-reloads for development
```
npm run serve:storybook
npm install
```

### Compiles and minifies for production
### Library

Build the umd, es, cjs, umd-min versions of Craft UI:

```
npm run build:storybook
npm run build
```

## App

The App is an example project using Craft UI components.
### Docs

### Compiles and hot-reloads for development
```
npm run serve:app
```
Storybook showcases the Craft UI components.

### Compiles and minifies for production
#### Compile and hot-reload for development
```
npm run build:app
npm run serve:docs
```

### Lints and fixes files
#### Compile and minify for production
```
npm run lint:app
npm run build:docs
```
5 changes: 0 additions & 5 deletions babel.config.js

This file was deleted.

18 changes: 18 additions & 0 deletions bili.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
input: './src/index.js',
moduleName: 'CraftUi',
exports: 'named',
format: 'umd,es,cjs,umd-min',
postcss: {
extract: true,
plugins: [
require('tailwindcss')('./tailwind.config.js'),
]
},
plugins: [
"babel",
require("rollup-plugin-vue")({
css: false,
}),
],
};
18 changes: 0 additions & 18 deletions config/storybook/config.js

This file was deleted.

Loading

0 comments on commit 609f325

Please sign in to comment.