mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-06-27 16:01:17 +08:00
Add needed base files
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -1,2 +1,23 @@
|
||||
# react-webpack-template
|
||||
Simple react webpack template
|
||||
# Welcome to 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)
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user