Skip to content

Commit

Permalink
style: LF, 2 space, and so on.
Browse files Browse the repository at this point in the history
  • Loading branch information
itssimple committed Jun 3, 2019
1 parent e04d05e commit deb17b6
Show file tree
Hide file tree
Showing 37 changed files with 2,243 additions and 2,301 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
tab_width = 2
charset = utf-8
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules
node_modules/

# testing
/coverage
coverage/

# production
/build
build/

# Distribution
/dist
dist/

# misc
.DS_Store
Expand Down
4 changes: 2 additions & 2 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"esversion": 6
}
"esversion": 6
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ And then click on the `rattracker-setup-<version>.exe` to start the download

## Running it

- First off, install the RatTracker by the instructions above
- Open the newly created shortcut "RatTracker"
- Authenticate with your Rat Account
- The Tracker should open and list current rescues and your own status
- First off, install the RatTracker by the instructions above
- Open the newly created shortcut "RatTracker"
- Authenticate with your Rat Account
- The Tracker should open and list current rescues and your own status

### Overlay

Expand Down
14 changes: 7 additions & 7 deletions images.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
declare module '*.svg'
declare module '*.png'
declare module '*.jpg'
declare module '*.jpeg'
declare module '*.gif'
declare module '*.bmp'
declare module '*.tiff'
declare module "*.svg";
declare module "*.png";
declare module "*.jpg";
declare module "*.jpeg";
declare module "*.gif";
declare module "*.bmp";
declare module "*.tiff";
176 changes: 88 additions & 88 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,90 +1,90 @@
{
"name": "rattracker",
"version": "0.1.10-alpha",
"author": {
"name": "CMDR NoLifeKing",
"email": "[email protected]"
},
"os": [
"win32",
"!darwin",
"!linux"
],
"cpu": [
"x64"
],
"repository": {
"type": "github",
"url": "https://github.com/FuelRats/RatTracker-electron"
},
"description": "A tool to help the Rats of Fuel Rats to save clients",
"private": true,
"homepage": "./",
"dependencies": {
"electron-log": "^2.2.17",
"electron-updater": "^4.0.6",
"mobx": "^5.6.0",
"mobx-react": "^5.4.2",
"react": "^16.6.1",
"react-dom": "^16.6.1",
"react-hot-loader": "^4.3.12",
"react-router-dom": "^4.3.1",
"react-scripts-ts": "^3.1.0",
"tail": "^2.0.2"
},
"main": "src/rattracker-electron.js",
"scripts": {
"start": "react-scripts-ts start",
"build": "react-scripts-ts build",
"test": "react-scripts-ts test --env=jsdom",
"eject": "react-scripts-ts eject",
"electron": "electron .",
"dev": "concurrently --kill-others \"cross-env BROWSER=none yarn start\" \"wait-on http://localhost:3000 && cross-env ELECTRON_DISABLE_SECURITY_WARNINGS=1 ELECTRON_START_URL=http://localhost:3000 electron .\"",
"build_and_run": "react-scripts-ts build && electron .",
"prod_run": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"deploy": "react-scripts-ts build && electron-builder --publish always",
"postinstall": "electron-builder install-app-deps"
},
"build": {
"appId": "com.fuelrats.rattracker",
"productName": "Rat Tracker - The Fuel Rats Mischief",
"extends": null,
"files": [
"src",
"build",
"node_modules"
],
"win": {
"target": "nsis",
"publish": [
"github"
]
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"shortcutName": "RatTracker",
"oneClick": false,
"guid": "e484463e-48c6-5486-b28b-8a6da45bd9c0"
},
"publish": {
"provider": "github",
"private": false
}
},
"devDependencies": {
"@types/jest": "^23.3.9",
"@types/node": "^10.12.5",
"@types/react": "^16.7.3",
"@types/react-dom": "^16.0.9",
"@types/react-router-dom": "^4.3.1",
"@types/semver": "^5.5.0",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"electron": "^2.0.14",
"electron-builder": "^20.38.3",
"typescript": "^3.1.6",
"wait-on": "^3.2.0"
}
"name": "rattracker",
"version": "0.1.10-alpha",
"author": {
"name": "CMDR NoLifeKing",
"email": "[email protected]"
},
"os": [
"win32",
"!darwin",
"!linux"
],
"cpu": [
"x64"
],
"repository": {
"type": "github",
"url": "https://github.com/FuelRats/RatTracker-electron"
},
"description": "A tool to help the Rats of Fuel Rats to save clients",
"private": true,
"homepage": "./",
"dependencies": {
"electron-log": "^2.2.17",
"electron-updater": "^4.0.6",
"mobx": "^5.6.0",
"mobx-react": "^5.4.2",
"react": "^16.6.1",
"react-dom": "^16.6.1",
"react-hot-loader": "^4.3.12",
"react-router-dom": "^4.3.1",
"react-scripts-ts": "^3.1.0",
"tail": "^2.0.2"
},
"main": "src/rattracker-electron.js",
"scripts": {
"start": "react-scripts-ts start",
"build": "react-scripts-ts build",
"test": "react-scripts-ts test --env=jsdom",
"eject": "react-scripts-ts eject",
"electron": "electron .",
"dev": "concurrently --kill-others \"cross-env BROWSER=none yarn start\" \"wait-on http://localhost:3000 && cross-env ELECTRON_DISABLE_SECURITY_WARNINGS=1 ELECTRON_START_URL=http://localhost:3000 electron .\"",
"build_and_run": "react-scripts-ts build && electron .",
"prod_run": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"deploy": "react-scripts-ts build && electron-builder --publish always",
"postinstall": "electron-builder install-app-deps"
},
"build": {
"appId": "com.fuelrats.rattracker",
"productName": "Rat Tracker - The Fuel Rats Mischief",
"extends": null,
"files": [
"src",
"build",
"node_modules"
],
"win": {
"target": "nsis",
"publish": [
"github"
]
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"shortcutName": "RatTracker",
"oneClick": false,
"guid": "e484463e-48c6-5486-b28b-8a6da45bd9c0"
},
"publish": {
"provider": "github",
"private": false
}
},
"devDependencies": {
"@types/jest": "^23.3.9",
"@types/node": "^10.12.5",
"@types/react": "^16.7.3",
"@types/react-dom": "^16.0.9",
"@types/react-router-dom": "^4.3.1",
"@types/semver": "^5.5.0",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"electron": "^2.0.14",
"electron-builder": "^20.38.3",
"typescript": "^3.1.6",
"wait-on": "^3.2.0"
}
}
38 changes: 19 additions & 19 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
body {
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
min-height: 100%;
min-width: 100%;
-webkit-user-select: none;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
min-height: 100%;
min-width: 100%;
-webkit-user-select: none;
}

.rootElement {
background-color: rgb(0, 0, 0);
color: #D4575B;
display: flex;
flex-direction: column;
align-content: center;
align-items: center;
min-height: 100%;
min-width: 100%;
justify-content: center;
justify-items: center;
background-color: rgb(0, 0, 0);
color: #D4575B;
display: flex;
flex-direction: column;
align-content: center;
align-items: center;
min-height: 100%;
min-width: 100%;
justify-content: center;
justify-items: center;
}

#brandSvg {
display: block;
max-width: 50%;
max-height: 50%;
margin-top: 20px;
}
display: block;
max-width: 50%;
max-height: 50%;
margin-top: 20px;
}
78 changes: 39 additions & 39 deletions src/App.tsx

Large diffs are not rendered by default.

Loading

0 comments on commit deb17b6

Please sign in to comment.