Skip to content

Commit 91fd7fc

Browse files
committed
Initial commit
0 parents  commit 91fd7fc

15 files changed

+16751
-0
lines changed

.babelrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"presets": [
3+
"react"
4+
]
5+
}

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# do not look for other .editorconfig files
2+
root = true
3+
4+
# use tab indentation (2 spaces width) for all file types
5+
[*]
6+
charset = utf-8
7+
indent_style = tab
8+
indent_size = 2
9+
trim_trailing_whitespace = true

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lib/

.eslintrc.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"node": true
5+
},
6+
"extends": "airbnb",
7+
"rules": {
8+
"brace-style": [1, "stroustrup"],
9+
"class-methods-use-this": 0,
10+
"comma-dangle": [1, "never"],
11+
"eol-last": [1, "never"],
12+
"indent": [1, "tab", { "SwitchCase": 1 }],
13+
"no-else-return": 0,
14+
"no-tabs": 0,
15+
"object-curly-newline": 0,
16+
"object-curly-spacing": [1, "always", { "objectsInObjects": false }],
17+
"padded-blocks": 0,
18+
"react/jsx-filename-extension": 0,
19+
"react/jsx-indent": [1, "tab"],
20+
"react/jsx-indent-props": [1, "tab"],
21+
22+
"import/no-extraneous-dependencies": [1, { "devDependencies": true }],
23+
"jsx-a11y/anchor-is-valid": 0,
24+
"no-console": 0,
25+
"react/prop-types": 0
26+
}
27+
}

.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# OS
2+
.DS_Store
3+
Thumbs.db
4+
5+
# WebStorm (IDE)
6+
.idea/
7+
8+
# Node
9+
node_modules/
10+
11+
# build output
12+
lib/

.storybook/addons.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import '@storybook/addon-actions/register';
2+
import '@storybook/addon-links/register';

.storybook/config.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { configure } from '@storybook/react';
2+
3+
// automatically import all files ending in *.stories.js
4+
const req = require.context('../stories', true, /.stories.js$/);
5+
function loadStories() {
6+
req.keys().forEach((filename) => req(filename));
7+
}
8+
9+
configure(loadStories, module);

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Samuel Meuli
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)