Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from popcorn-official/3.0.0
3.0.0
- Loading branch information
Showing
141 changed files
with
21,610 additions
and
6,146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,49 @@ | ||
{ | ||
"presets": [ | ||
"es2015" | ||
], | ||
"plugins": [ | ||
"transform-async-to-generator", | ||
"transform-strict-mode", [ | ||
"transform-runtime", { | ||
"polyfill": false, | ||
"regenerator": true | ||
} | ||
] | ||
] | ||
"transform-class-properties", | ||
"transform-export-extensions", | ||
["transform-object-rest-spread", { | ||
"useBuiltIns": true | ||
}], | ||
"transform-strict-mode" | ||
], | ||
"presets": ["flow"], | ||
"env": { | ||
"development": { | ||
"presets": [ | ||
["env", { | ||
"targets": { | ||
"node": "7.10.1" | ||
} | ||
}] | ||
] | ||
}, | ||
"production": { | ||
"plugins": [ | ||
"external-helpers", | ||
"transform-class-properties" | ||
], | ||
"presets": [ | ||
["env", { | ||
"targets": { | ||
"node": "7.10.1" | ||
}, | ||
"modules": false | ||
}] | ||
] | ||
}, | ||
"test": { | ||
"plugins": [ | ||
"istanbul", | ||
"transform-class-properties" | ||
], | ||
"presets": [ | ||
["env", { | ||
"targets": { | ||
"node": "7.10.1" | ||
} | ||
}] | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
engines: | ||
duplication: | ||
enabled: true | ||
config: | ||
languages: | ||
- javascript | ||
eslint: | ||
enabled: true | ||
fixme: | ||
enabled: true | ||
ratings: | ||
paths: | ||
- src/**.js | ||
- test/**.js | ||
- "**.js" | ||
exclude_paths: | ||
- "build/**/*" | ||
- "docs/**/*" | ||
- "node_modules/**/*" | ||
- "test/**/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
|
||
[*.js] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[{package.json,*.yml,*.cjson}] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Example .env file. Please fill in the values. | ||
|
||
# API key for Fanart. | ||
FANART_KEY= | ||
|
||
# API key for Omdb. | ||
OMDB_KEY= | ||
|
||
# API key for Nyaa. | ||
NYAA_KEY= | ||
|
||
# API key for Tmdb. | ||
TMDB_KEY= | ||
|
||
# API key for Trakt. | ||
TRAKT_KEY= | ||
|
||
# API key for Tvdb. | ||
TVDB_KEY= | ||
|
||
# The base name of the MongoDB database. | ||
MONGO_DATABASE= | ||
|
||
# The URI to the MongoDB database. | ||
# Needs to be named like this because of GitLab CI. | ||
MONGO_URI= | ||
|
||
# The port of the MongoDB database. | ||
MONGO_PORT= | ||
|
||
# The username of the MongoDB database. | ||
MONGO_USER= | ||
|
||
# The password of the MongoDB database. | ||
MONGO_PASS= | ||
|
||
# The time between cronjobs. | ||
CRON_TIME= | ||
|
||
# The location of the temporary directory for the logs. | ||
TEMP_DIR= | ||
|
||
# The port the API wil be running on. | ||
PORT= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
extends: 'vixo', | ||
globals: { | ||
logger: true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ignore] | ||
<PROJECT_ROOT>/build/.* | ||
<PROJECT_ROOT>/coverage/.* | ||
<PROJECT_ROOT>/docs/.* | ||
<PROJECT_ROOT>/flow-typed/.* | ||
<PROJECT_ROOT>/manual/.* | ||
<PROJECT_ROOT>/node_modules/.* | ||
<PROJECT_ROOT>/tmp/.* | ||
|
||
[include] | ||
./coverage.js | ||
./dredd.hooks.js/.* | ||
./src/.* | ||
./test/.* | ||
|
||
[libs] | ||
|
||
[options] | ||
experimental.const_params=true | ||
include_warnings=true | ||
munge_underscores=true | ||
suppress_comment= \\(.\\|\n\\)*\\flow-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## Expected Behavior | ||
|
||
|
||
## Actual Behavior | ||
|
||
|
||
## Steps to Reproduce the Problem | ||
|
||
1. | ||
1. | ||
1. | ||
|
||
## Specifications | ||
|
||
- Version: | ||
- Platform: | ||
- Subsystem: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Fixes # | ||
|
||
## Proposed Changes | ||
|
||
- | ||
- | ||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"require": [ | ||
"babel-register" | ||
], | ||
"include": [ | ||
"src" | ||
], | ||
"sourceMap": false, | ||
"instrument": false | ||
} |
Oops, something went wrong.