mirror of
https://github.com/cupcakearmy/fight-of-the-mobiles.git
synced 2024-12-23 00:16:28 +00:00
configs
This commit is contained in:
parent
0df47c0bf6
commit
786d05116f
4
src/cordova/.gitignore
vendored
Normal file
4
src/cordova/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
**/node_modules
|
||||
package-lock.json
|
||||
|
||||
public
|
21
src/cordova/LICENSE
Normal file
21
src/cordova/LICENSE
Normal 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
41
src/cordova/README.md
Normal 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
28
src/cordova/package.json
Executable 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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user