diff --git a/src/cordova/.gitignore b/src/cordova/.gitignore new file mode 100644 index 0000000..a8ed44e --- /dev/null +++ b/src/cordova/.gitignore @@ -0,0 +1,4 @@ +**/node_modules +package-lock.json + +public \ No newline at end of file diff --git a/src/cordova/LICENSE b/src/cordova/LICENSE new file mode 100644 index 0000000..2d82f81 --- /dev/null +++ b/src/cordova/LICENSE @@ -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. diff --git a/src/cordova/README.md b/src/cordova/README.md new file mode 100644 index 0000000..188cb17 --- /dev/null +++ b/src/cordova/README.md @@ -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 +``` diff --git a/src/cordova/package.json b/src/cordova/package.json new file mode 100755 index 0000000..a5a2bf4 --- /dev/null +++ b/src/cordova/package.json @@ -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" + } +}