Add needed base files

This commit is contained in:
Christian.Schilling
2015-08-27 10:33:46 +02:00
parent f274d99534
commit dce9142863
4 changed files with 90 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
+26
View File
@@ -0,0 +1,26 @@
{
"plugins": [
"react"
],
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"env": {
"browser": true,
"amd": true,
"es6": true
},
"rules": {
"quotes": [ 1, "single" ],
"no-undef": false,
"global-strict": false,
"no-extra-semi": 1,
"no-underscore-dangle": false,
"no-console": 1,
"no-unused-vars": 1,
"no-trailing-spaces": [1, { "skipBlankLines": true }],
"no-unreachable": 1,
"no-alert": false
}
}
+23 -2
View File
@@ -1,2 +1,23 @@
# react-webpack-template # Welcome to react-webpack-template
Simple react webpack template This repository holds a base template for the new version of generator-react-webpack.
It can be understood as the prototype for newly generated projects.
## Features
The following features are planned to be included in the final version:
- [ ] Webpack
- [ ] Babel
- [ ] Mocha Unit tests (*optional*)
- [ ] React.Router
- [ ] EsLint Support
- [ ] No dependency on grunt, gulp or the next hot taskrunner!
## What is it for?
This template can be used directly for the creation of new projects.
Also it will be the "template" for the next version of generator-react-webpack.
## License
react-webpack-template is available under MIT-License and can therefore be used in any project free of charge.
## Contributors
- Weblogixx (cs@weblogixx.de)
+29
View File
@@ -0,0 +1,29 @@
{
"name": "react-webpack-template",
"version": "0.0.1",
"description": "Base template for react and webpack",
"main": "index.js",
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://weblogixx@github.com/weblogixx/react-webpack-template.git"
},
"keywords": [
"React",
"Webpack",
"Babel"
],
"author": "Christian Schilling (cs@weblogixx.de)",
"license": "MIT",
"bugs": {
"url": "https://github.com/weblogixx/react-webpack-template/issues"
},
"homepage": "https://github.com/weblogixx/react-webpack-template#readme",
"devDependencies": {
"webpack": "^1.12.0",
"webpack-dev-server": "^1.10.1"
}
}