Skip to content

Commit

Permalink
feat: electron based app
Browse files Browse the repository at this point in the history
  • Loading branch information
4gray committed Aug 23, 2020
1 parent d274af2 commit 0feb657
Show file tree
Hide file tree
Showing 110 changed files with 13,835 additions and 6,970 deletions.
12 changes: 0 additions & 12 deletions .browserslistrc

This file was deleted.

64 changes: 64 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"env": {
"browser": true,
"node": true,
"es6": true,
"es2017": true
},
"overrides": [
{
"files": ["*.ts"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 10,
"project": [
"./src/tsconfig.app.json",
"./src/tsconfig.spec.json",
"./e2e/tsconfig.e2e.json"
],
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"plugins": ["@typescript-eslint", "@angular-eslint/eslint-plugin"],
"rules": {
"@typescript-eslint/indent": [
"error",
4,
{
"SwitchCase": 1,
"CallExpression": { "arguments": "first" },
"FunctionExpression": { "parameters": "first" },
"FunctionDeclaration": { "parameters": "first" }
}
],
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-unsafe-member-access": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-unsafe-return": 0,
"@typescript-eslint/no-floating-promises": 0,
"@angular-eslint/use-injectable-provided-in": "error",
"@angular-eslint/no-attribute-decorator": "error"
}
},
{
"files": ["*.component.html"],
"parser": "@angular-eslint/template-parser",
"plugins": ["@angular-eslint/template"],
"rules": {
"@angular-eslint/template/banana-in-a-box": "error",
"@angular-eslint/template/no-negated-async": "error"
}
}
]
}
20 changes: 0 additions & 20 deletions .github/workflows/deploy-to-gh-pages.yml

This file was deleted.

22 changes: 13 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
/dist
/tmp
/out-tsc
# Only exists if Bazel was run
/bazel-out
/app-builds
/release
main.js
src/**/*.js
!src/karma.conf.js
*.js.map

# dependencies
/node_modules

# profiling files
chrome-profiler-events*.json
speed-measure-plugin*.json

# IDEs and editors
/.idea
.project
Expand All @@ -25,21 +25,25 @@ speed-measure-plugin*.json

# IDE - VSCode
.vscode/*
!.vscode/settings.json
.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings
package-lock.json

# e2e
/e2e/*.js
!/e2e/protractor.conf.js
/e2e/*.map

# System Files
.DS_Store
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
save=true
save-exact=true
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
os:
- linux
- osx
language: node_js
node_js:
- '12'
- '10'
dist: xenial
sudo: required
services:
- xvfb
before_script:
- export DISPLAY=:99.0
install:
- npm set progress=false
- npm install
script:
- ng lint
- npm run test
- npm run e2e
- npm run build
20 changes: 1 addition & 19 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
{
"peacock.color": "#557c9b",
"workbench.colorCustomizations": {
"activityBar.background": "#7295b1",
"activityBar.foreground": "#15202b",
"activityBar.inactiveForeground": "#15202b99",
"activityBarBadge.background": "#e8d6e0",
"activityBarBadge.foreground": "#15202b",
"titleBar.activeBackground": "#557c9b",
"titleBar.inactiveBackground": "#557c9b99",
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveForeground": "#e7e7e799",
"statusBar.background": "#557c9b",
"statusBarItem.hoverBackground": "#7295b1",
"statusBar.foreground": "#e7e7e7",
"activityBar.activeBackground": "#7295b1",
"activityBar.activeBorder": "#e8d6e0",
"statusBar.border": "#557c9b",
"titleBar.border": "#557c9b"
}
"i18n-ally.localesPaths": "src/assets/i18n"
}
Loading

0 comments on commit 0feb657

Please sign in to comment.