Skip to content

Commit

Permalink
fix: move project to react-butterfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Dec 26, 2018
1 parent ddac85d commit 3f14dd4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# react-browse-files
# react-butterfiles

<p align="center">
<a href="https://travis-ci.org/adrian1358/react-browse-files.svg?branch=master">
<img alt="Build Status" src="https://travis-ci.org/adrian1358/react-browse-files.svg?branch=master">
<a href="https://travis-ci.org/doitadrian/react-butterfiles.svg?branch=master">
<img alt="Build Status" src="https://travis-ci.org/doitadrian/react-butterfiles.svg?branch=master">
</a>

<img alt="Build Status" src="https://img.shields.io/npm/dw/react-browse-files.svg">
<img alt="Build Status" src="https://img.shields.io/npm/dw/react-butterfiles.svg">
<img alt="Build Status" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square">
<img alt="Build Status" src="https://img.shields.io/npm/types/react-browse-files.svg">
<img alt="Build Status" src="https://img.shields.io/npm/types/react-butterfiles.svg">

</p>

Expand All @@ -16,19 +16,19 @@ an image gallery field with drag and drop support and preview of selected images

## Install
```
npm install --save react-browse-files
npm install --save react-butterfiles
```

Or if you prefer yarn:
```
yarn add react-browse-files
yarn add react-butterfiles
```

## Quick Example:
Create a simple upload button that accepts multiple PDF files (max 2MB per file / max 10MB for the whole selection).

```javascript
import BrowseFiles from "react-browse-files";
import BrowseFiles from "react-butterfiles";
```

```javascript
Expand Down Expand Up @@ -58,7 +58,7 @@ import BrowseFiles from "react-browse-files";
</BrowseFiles>
```

More examples on https://react-browse-files.netlify.com.
More examples on https://react-butterfiles.netlify.com.

## Props

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "react-browse-files",
"version": "0.0.0-semantically-released",
"name": "react-butterfiles",
"version": "0.0.0-development",
"description": "A component for building file upload fields of any type.",
"main": "dist/BrowseFiles.js",
"repository": {
"type": "git",
"url": "https://github.com/adrian1358/react-browse-files.git"
"url": "https://github.com/doitadrian/react-butterfiles.git"
},
"author": "Adrian Smijulj",
"license": "ISC",
"bugs": {
"url": "https://github.com/adrian1358/react-browse-files/issues"
"url": "https://github.com/doitadrian/react-butterfiles/issues"
},
"homepage": "https://github.com/adrian1358/react-browse-files#readme",
"homepage": "https://github.com/doitadrian/react-butterfiles#readme",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
Expand Down Expand Up @@ -53,7 +53,8 @@
"test:jest": "echo \"No Jest tests yet...\"",
"test:cypress": "echo \"No Cypress tests yet...\"",
"test:ci": "npm run build && npm run test",
"release": "npm run build && npx semantic-release"
"release": "npm run build && npx semantic-release",
"semantic-release": "semantic-release"
},
"config": {
"commitizen": {
Expand Down
2 changes: 1 addition & 1 deletion stories/index.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import SimpleFileUploadButton from "./SimpleFileUploadButton";
import FileDndZone from "./FileDndZone";
import AvatarField from "./AvatarField";

const stories = storiesOf("react-browse-files", module);
const stories = storiesOf("react-butterfiles", module);

stories.addDecorator(withKnobs);

Expand Down

0 comments on commit 3f14dd4

Please sign in to comment.