Skip to content

Commit 0576086

Browse files
authored
Merge pull request #298 from wbkd/next
Next
2 parents 896051c + 91495d8 commit 0576086

38 files changed

+1740
-619
lines changed

.browserslistrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules/
22
webpack/
3-
build/
3+
build/

.eslintrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parser": "babel-eslint",
33
"plugins": ["prettier"],
4-
"extends": ["airbnb", "airbnb/hooks", "prettier", "prettier/react"],
4+
"extends": ["airbnb", "prettier", "prettier/react"],
55
"rules": {
66
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
77
"no-param-reassign": 0,
@@ -17,8 +17,5 @@
1717
"config": "./webpack/webpack.config.dev.js"
1818
}
1919
}
20-
},
21-
"globals": {
22-
"config": true
2320
}
2421
}

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"semi": true,
33
"trailingComma": "es5",
4-
"singleQuote": true
4+
"singleQuote": true,
5+
"printWidth": 100
56
}

.travis.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
1-
# React Starterkit
1+
# React Starter
22

33
[![Dependabot badge](https://flat.badgen.net/dependabot/wbkd/react-starter?icon=dependabot)](https://dependabot.com/)
44

5-
**A minimal starting point for your react projects including:**
5+
A minimal starting point for interactive applications that we build at [webkid](https://webkid.io). The boilerplate already includes some basic components as well as hooks and utils that we are often using in our projects.
6+
7+
The starterkit is based on these libraries:
68

79
- [react](https://facebook.github.io/react/)
810
- [easy-peasy](https://easy-peasy.now.sh/)
9-
- [styled-components](https://www.styled-components.com/)
11+
- [emotion](https://emotion.sh/docs/styled)
1012
- [rebass](https://rebassjs.org/)
1113

12-
## Get the kit
14+
## Getting started
15+
16+
**[Create a new Github repository with the template](https://github.com/wbkd/react-starter/generate)** or clone the repo:
1317

1418
```sh
1519
git clone [email protected]:wbkd/react-starter.git && cd react-starter
1620
```
1721

18-
## Installation
22+
then install the dependencies via [npm](https://npmjs.org):
1923

2024
```sh
2125
npm install
2226
```
2327

28+
you are now ready to develop your app.
29+
2430
## Development
2531

2632
Builds the application and starts a webserver with hot loading.
@@ -38,6 +44,4 @@ Builds a minified version of the application in the build folder.
3844
npm run build
3945
```
4046

41-
## Contribute
42-
43-
Feel free to dive in! [Open an issue](https://github.com/wbkd/react-starter/issues/new) or submit a [pull request](https://github.com/wbkd/react-starter/pulls/).
47+
Additionally, a zipped version of the bundle is added as `build.zip`. We often use this for our clients to upload the application to their own servers.

babel.config.js

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,10 @@ module.exports = (api) => {
1212
],
1313
];
1414

15-
const plugins = ['babel-plugin-styled-components'];
16-
17-
const env = {
18-
production: {
19-
plugins: [
20-
[
21-
'babel-plugin-styled-components',
22-
{
23-
displayName: false,
24-
},
25-
],
26-
[
27-
'transform-react-remove-prop-types',
28-
{
29-
removeImport: true,
30-
},
31-
],
32-
],
33-
},
34-
};
15+
const plugins = [];
3516

3617
return {
3718
presets,
3819
plugins,
39-
env,
4020
};
4121
};

config.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

jsconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": "./",
4+
"paths": {
5+
"*": ["src/*"]
6+
}
7+
},
8+
"exclude": ["node_modules"]
9+
}

0 commit comments

Comments
 (0)