Skip to content

Commit 9f61af7

Browse files
committed
First commit
0 parents  commit 9f61af7

27 files changed

Lines changed: 1097 additions & 0 deletions

.babelrc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"stage": 0,
3+
"env": {
4+
"start": {
5+
"plugins": [
6+
"react-transform"
7+
],
8+
"extra": {
9+
"react-transform": {
10+
"transforms": [
11+
{
12+
"transform": "react-transform-hmr",
13+
"imports": ["react"],
14+
"locals": ["module"]
15+
}
16+
]
17+
}
18+
}
19+
}
20+
}
21+
}

.bithoundrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"ignore": [
3+
"dist/*.js"
4+
]
5+
}

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
8+
[*]
9+
10+
# Change these settings to your own preference
11+
indent_style = space
12+
indent_size = 2
13+
14+
# We recommend you to keep these unchanged
15+
end_of_line = lf
16+
charset = utf-8
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true
19+
20+
[*.md]
21+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
gh-pages/
2+
dist-modules/
3+
dist/
4+
build/
5+

.eslintrc

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parser": "babel-eslint",
3+
"env": {
4+
"browser": true,
5+
"node": true,
6+
"jasmine": true
7+
},
8+
"plugins": [
9+
"react"
10+
],
11+
"globals": {
12+
"jest": false
13+
},
14+
"ecmaFeatures": {
15+
"jsx": true,
16+
"globalReturn": false
17+
},
18+
"rules": {
19+
"no-underscore-dangle": 0,
20+
"no-use-before-define": 0,
21+
"quotes": [2, "single"],
22+
"comma-dangle": 1,
23+
"jsx-quotes": 1,
24+
"react/jsx-boolean-value": 1,
25+
"react/jsx-no-undef": 1,
26+
"react/jsx-sort-props": 1,
27+
"react/jsx-uses-react": 1,
28+
"react/jsx-uses-vars": 1,
29+
"react/no-did-mount-set-state": 1,
30+
"react/no-did-update-set-state": 1,
31+
"react/no-multi-comp": 1,
32+
"react/no-unknown-property": 1,
33+
"react/prop-types": 1,
34+
"react/react-in-jsx-scope": 1,
35+
"react/self-closing-comp": 1,
36+
"react/wrap-multilines": 1
37+
}
38+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build/
2+
gh-pages/
3+
dist-modules/
4+
node_modules/
5+

.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
demo/
2+
dist/
3+
lib/
4+
tests/
5+
source/
6+
.*
7+
karma.conf.js
8+
webpack.config.babel.js

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v5.0.0

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: node_js
2+
node_js:
3+
- "0.12"
4+
- "4.0"
5+
- "4.1"
6+
script:
7+
- npm run test
8+
- npm run lint
9+

0 commit comments

Comments
 (0)