This commit is contained in:
nicco 2018-09-04 12:12:31 +02:00
parent 0df47c0bf6
commit 786d05116f
4 changed files with 94 additions and 0 deletions

4
src/cordova/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
**/node_modules
package-lock.json
public

21
src/cordova/LICENSE Normal file
View File

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

41
src/cordova/README.md Normal file
View File

@ -0,0 +1,41 @@
# React-Redux-Webpack-Babel-Less Boilerplate 👨‍🍳
This is the starting point for any react-redux-babel-less-webpack-hipsterframeworkxyz boilerplate to get up and running quickly.
It includes a small Todo-HelloWorld-App for the base files.
![Screenshot](https://image.ibb.co/cQE4wx/Screen_Shot_2018_04_27_at_20_12_45.png)
## Getting Started 🚀
```bash
git clone https://github.com/CupCakeArmy/react-boilerplate.git
npm i
npm run dev
# Or
wget https://github.com/CupCakeArmy/react-boilerplate/archive/master.zip
unzip master
```
## Usage 📖
### Build 🛠
```bash
# Dev
npm run build:dev
# Prod
npm run build:prod
```
### Dev 👀
Compiles on files changed
```bash
npm run dev
# Go to
http://localhost:8080
```

28
src/cordova/package.json Executable file
View File

@ -0,0 +1,28 @@
{
"private": true,
"scripts": {
"build:dev": "webpack -d",
"build:prod": "webpack -p",
"dev": "webpack-dev-server -d"
},
"dependencies": {
"react": "~16",
"react-dom": "~16"
},
"devDependencies": {
"@babel/core": "~7",
"@babel/preset-env": "~7",
"@babel/preset-react": "~7",
"babel-loader": "~8",
"css-loader": "~1",
"file-loader": "~2",
"html-loader": "~0",
"html-webpack-plugin": "~3",
"less": "~3",
"less-loader": "~4",
"mini-css-extract-plugin": "~0",
"webpack": "~4",
"webpack-cli": "~3",
"webpack-dev-server": "~3"
}
}