Skip to content

Commit 49d38e1

Browse files
committed
Initial commit: Add complete bounty platform project
0 parents  commit 49d38e1

File tree

1,279 files changed

+106152
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,279 files changed

+106152
-0
lines changed

.babelrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"presets": [
3+
["@babel/preset-env", {
4+
"targets": {
5+
"node": "current"
6+
}
7+
}]
8+
]
9+
}
10+

.browserslistrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Browsers that we support
2+
3+
>= 0.5%
4+
last 2 versions
5+
Firefox ESR
6+
not dead
7+
not IE 9-11 # For support of IE 9-11, remove 'not'.
8+

.circleci/config.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: 2.1
2+
3+
jobs:
4+
build:
5+
docker:
6+
- image: cirrusci/flutter:stable
7+
steps:
8+
- checkout
9+
- run:
10+
name: Install dependencies
11+
command: |
12+
cd apps/bugbounty
13+
flutter pub get
14+
- run:
15+
name: Analyze code
16+
command: |
17+
cd apps/bugbounty
18+
flutter analyze
19+
- run:
20+
name: Run tests
21+
command: |
22+
cd apps/bugbounty
23+
flutter test
24+
- run:
25+
name: Build APK
26+
command: |
27+
cd apps/bugbounty
28+
flutter build apk --release
29+
30+
workflows:
31+
version: 2
32+
build_and_test:
33+
jobs:
34+
- build
35+

.codeclimate.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: "2"
2+
plugins:
3+
eslint:
4+
enabled: true
5+
channel: "eslint-8"
6+
dartanalyzer:
7+
enabled: true
8+
duplication:
9+
enabled: true
10+
config:
11+
languages:
12+
- dart
13+
- javascript
14+
- typescript
15+
fixme:
16+
enabled: true
17+
exclude_patterns:
18+
- "**/node_modules/"
19+
- "**/build/"
20+
- "**/.dart_tool/"
21+
- "**/coverage/"
22+
- "**/test/"
23+

.codecov.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
codecov:
2+
token: # Add your Codecov token here
3+
bot: false
4+
ci:
5+
- github-actions
6+
- gitlab
7+
- bitbucket
8+
- circleci
9+
10+
coverage:
11+
precision: 2
12+
round: down
13+
range: "70...100"
14+
status:
15+
project:
16+
default:
17+
target: 80%
18+
threshold: 1%
19+
patch:
20+
default:
21+
target: 60%
22+
23+
comment:
24+
layout: "reach,diff,flags,tree"
25+
behavior: default
26+
require_changes: false
27+

.dockerignore

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Git
2+
.git
3+
.gitignore
4+
.gitattributes
5+
6+
# Documentation
7+
*.md
8+
docs/
9+
README.md
10+
CHANGELOG.md
11+
LICENSE
12+
CONTRIBUTING.md
13+
14+
# IDE
15+
.idea/
16+
.vscode/
17+
*.iml
18+
*.ipr
19+
*.iws
20+
21+
# Flutter/Dart
22+
.dart_tool/
23+
.flutter-plugins
24+
.flutter-plugins-dependencies
25+
.packages
26+
.pub-cache/
27+
.pub/
28+
build/
29+
*.g.dart
30+
*.freezed.dart
31+
*.mocks.dart
32+
33+
# Test
34+
coverage/
35+
test/
36+
37+
# Environment
38+
.env
39+
.env.local
40+
.env.*.local
41+
42+
# OS
43+
.DS_Store
44+
Thumbs.db
45+
*.swp
46+
*.swo
47+
*~
48+
49+
# Logs
50+
*.log
51+
logs/
52+
53+
# Temporary files
54+
tmp/
55+
temp/
56+
*.tmp
57+
*.temp
58+
59+
# CI/CD
60+
.github/
61+
.gitlab-ci.yml
62+
bitbucket-pipelines.yml
63+
.gitverse-ci.yml
64+
.gitflic-ci.yml
65+
.sourcecraft-ci.yml
66+
67+
# Scripts
68+
scripts/
69+
70+
# Config files for different Git systems
71+
.git/config.*
72+

.editorconfig

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
13+
# Dart files
14+
[*.dart]
15+
indent_style = space
16+
indent_size = 2
17+
18+
# YAML files
19+
[*.{yml,yaml}]
20+
indent_style = space
21+
indent_size = 2
22+
23+
# JSON files
24+
[*.json]
25+
indent_style = space
26+
indent_size = 2
27+
28+
# Markdown files
29+
[*.md]
30+
trim_trailing_whitespace = false
31+
indent_style = space
32+
indent_size = 2
33+
34+
# Shell scripts
35+
[*.sh]
36+
indent_style = space
37+
indent_size = 2
38+
39+
# PowerShell scripts
40+
[*.ps1]
41+
indent_style = space
42+
indent_size = 2
43+
44+
# Python files
45+
[*.py]
46+
indent_style = space
47+
indent_size = 4
48+
49+
# JavaScript/TypeScript files
50+
[*.{js,ts,jsx,tsx}]
51+
indent_style = space
52+
indent_size = 2
53+
54+
# HTML files
55+
[*.html]
56+
indent_style = space
57+
indent_size = 2
58+
59+
# CSS files
60+
[*.{css,scss,sass}]
61+
indent_style = space
62+
indent_size = 2
63+
64+
# XML files
65+
[*.xml]
66+
indent_style = space
67+
indent_size = 2
68+
69+
# Makefile
70+
[Makefile]
71+
indent_style = tab
72+
73+
# Batch files
74+
[*.{bat,cmd}]
75+
end_of_line = crlf
76+
77+
# Git config files
78+
[.git/config*]
79+
indent_style = tab
80+
81+
# Git hooks
82+
[.git/hooks/*]
83+
indent_style = space
84+
indent_size = 2
85+

.eslintignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules/
2+
build/
3+
dist/
4+
.dart_tool/
5+
coverage/
6+
*.min.js
7+
*.bundle.js
8+

.eslintrc.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"eslint:recommended"
9+
],
10+
"parserOptions": {
11+
"ecmaVersion": "latest",
12+
"sourceType": "module"
13+
},
14+
"rules": {
15+
"indent": ["error", 2],
16+
"linebreak-style": ["error", "unix"],
17+
"quotes": ["error", "single"],
18+
"semi": ["error", "always"]
19+
}
20+
}
21+

.gitattributes

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Treat .sh files as executable
5+
*.sh text eol=lf
6+
*.ps1 text eol=crlf
7+
8+
# Binary files
9+
*.png binary
10+
*.jpg binary
11+
*.jpeg binary
12+
*.gif binary
13+
*.ico binary
14+
*.pdf binary
15+
*.zip binary
16+
*.tar binary
17+
*.gz binary
18+
*.rar binary
19+
*.7z binary
20+
*.exe binary
21+
*.dll binary
22+
*.so binary
23+
*.dylib binary
24+
*.apk binary
25+
*.ipa binary
26+
*.dmg binary
27+
*.deb binary
28+
*.rpm binary
29+
*.vsix binary
30+
31+
# Large files (for Git LFS if enabled)
32+
# *.psd filter=lfs diff=lfs merge=lfs -text
33+
# *.bin filter=lfs diff=lfs merge=lfs -text
34+
35+
# Flutter specific
36+
*.lock linguist-generated
37+
.flutter-plugins linguist-generated
38+
.flutter-plugins-dependencies linguist-generated
39+
.packages linguist-generated
40+
41+
# Generated files
42+
*.g.dart linguist-generated
43+
*.freezed.dart linguist-generated
44+
*.mocks.dart linguist-generated
45+
46+
# Documentation
47+
*.md text
48+
*.txt text
49+
*.rst text
50+
51+
# Configuration files
52+
*.json text
53+
*.yaml text
54+
*.yml text
55+
*.toml text
56+
*.xml text
57+
*.ini text
58+
*.conf text
59+
*.config text
60+
61+
# Scripts
62+
*.sh text eol=lf
63+
*.bash text eol=lf
64+
*.ps1 text eol=crlf
65+
*.bat text eol=crlf
66+
*.cmd text eol=crlf
67+
68+
# Source code
69+
*.dart text
70+
*.js text
71+
*.ts text
72+
*.jsx text
73+
*.tsx text
74+
*.py text
75+
*.rs text
76+
*.go text
77+
*.java text
78+
*.kt text
79+
*.swift text
80+
*.c text
81+
*.cpp text
82+
*.h text
83+
*.hpp text
84+

0 commit comments

Comments
 (0)