-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 82dd6ac
Showing
156 changed files
with
24,784 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@babel/env", { | ||
"debug": true, | ||
"targets": { | ||
"browsers": "extends @ladjs/browserslist-config" | ||
} | ||
} | ||
] | ||
] | ||
} |
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 @@ | ||
extends @ladjs/browserslist-config |
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,65 @@ | ||
{ | ||
"extends": ["eslint:recommended"], | ||
"env": { | ||
"node": false, | ||
"browser": true, | ||
"amd": true, | ||
"es6": true, | ||
"commonjs": true, | ||
"jquery": true | ||
}, | ||
"plugins": ["compat", "@lwc/eslint-plugin-lwc"], | ||
"rules": { | ||
"compat/compat": "error", | ||
"@lwc/lwc/no-async-await": "error", | ||
"promise/prefer-await-to-then": "off", | ||
"no-func-assign": "off", | ||
"no-redeclare": "off", | ||
"no-unused-vars": "off", | ||
"no-self-assign": "off", | ||
"no-obj-calls": "off", | ||
"no-sparse-arrays": "off", | ||
"no-control-regex": "off", | ||
"no-useless-escape": "off", | ||
"no-useless-catch": "off", | ||
"no-prototype-builtins": "off", | ||
"no-empty": "off", | ||
"no-fallthrough": "off", | ||
"no-cond-assign": "off", | ||
"getter-return": "off", | ||
"require-atomic-updates": "off" | ||
}, | ||
"globals": { | ||
"ActiveXObject": "readonly", | ||
"__e": "writable", | ||
"__g": "writable", | ||
"requirejs": "readonly" | ||
}, | ||
"settings": { | ||
"polyfills": [ | ||
"Array.from", | ||
"Number.isFinite", | ||
"Object.assign", | ||
"Object.getOwnPropertyDescriptors", | ||
"Object.getOwnPropertySymbols", | ||
"Promise", | ||
"Promise.all", | ||
"Promise.race", | ||
"Promise.reject", | ||
"Promise.resolve", | ||
"Reflect", | ||
"Symbol", | ||
"Symbol.for", | ||
"Symbol.iterator", | ||
"Symbol.prototype", | ||
"Symbol.species", | ||
"Symbol.toPrimitive", | ||
"Symbol.toStringTag", | ||
"Uint32Array", | ||
"Uint8Array", | ||
"navigator.maxTouchPoints", | ||
"window.scrollX", | ||
"window.scrollY" | ||
] | ||
} | ||
} |
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,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = 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,118 @@ | ||
################# | ||
## environment ## | ||
################# | ||
NODE_ENV=development | ||
|
||
########### | ||
## proxy ## | ||
########### | ||
PROXY_PORT=8080 | ||
|
||
################ | ||
## web server ## | ||
################ | ||
WEB_HOST=localhost | ||
WEB_PORT=3000 | ||
WEB_PROTOCOL=http | ||
WEB_URL={{WEB_PROTOCOL}}://{{WEB_HOST}}:{{WEB_PORT}} | ||
WEB_SSL_KEY_PATH= | ||
WEB_SSL_CERT_PATH= | ||
LIVERELOAD_PORT=35729 | ||
|
||
################ | ||
## api server ## | ||
################ | ||
API_HOST=localhost | ||
API_PORT=4000 | ||
API_PROTOCOL=http | ||
API_URL={{API_PROTOCOL}}://{{API_HOST}}:{{API_PORT}} | ||
API_SSL_KEY_PATH= | ||
API_SSL_CERT_PATH= | ||
|
||
######### | ||
## app ## | ||
######### | ||
APP_NAME=ForwardEmail | ||
APP_COLOR=#20C1ED | ||
TWITTER=@niftylettuce | ||
TRANSPORT_DEBUG=false | ||
SEND_EMAIL=false | ||
[email protected] | ||
SHOW_STACK=true | ||
SHOW_META=true | ||
SUPPORT_REQUEST_MAX_LENGTH=500 | ||
# @ladjs/i18n | ||
I18N_SYNC_FILES=true | ||
I18N_AUTO_RELOAD=true | ||
I18N_UPDATE_FILES=true | ||
# @ladjs/auth | ||
AUTH_LOCAL_ENABLED=true | ||
AUTH_FACEBOOK_ENABLED=false | ||
AUTH_TWITTER_ENABLED=false | ||
AUTH_GOOGLE_ENABLED=false | ||
AUTH_GITHUB_ENABLED=false | ||
AUTH_LINKEDIN_ENABLED=false | ||
AUTH_INSTAGRAM_ENABLED=false | ||
AUTH_STRIPE_ENABLED=false | ||
# your google client ID and secret from: | ||
# https://console.developers.google.com | ||
GOOGLE_CLIENT_ID= | ||
GOOGLE_CLIENT_SECRET= | ||
GOOGLE_CALLBACK_URL={{{WEB_URL}}}/auth/google/ok | ||
GOOGLE_APPLICATION_CREDENTIALS= | ||
# your github client ID and secret from: | ||
# https://github.com/settings/applications | ||
GITHUB_CLIENT_ID= | ||
GITHUB_CLIENT_SECRET= | ||
GITHUB_CALLBACK_URL={{{WEB_URL}}}/auth/github/ok | ||
# your Postmark token from: | ||
# https//postmarkapp.com | ||
POSTMARK_API_TOKEN= | ||
# your CodeCov token from: | ||
# https://codecov.io | ||
CODECOV_TOKEN= | ||
# aws credentials | ||
# https://docs.aws.amazon.com/en_pv/sdk-for-javascript/v2/developer-guide/loading-node-credentials-shared.html | ||
# https://docs.aws.amazon.com/en_pv/sdk-for-javascript/v2/developer-guide/loading-node-credentials-environment.html | ||
# https://docs.aws.amazon.com/en_pv/sdk-for-javascript/v2/developer-guide/loading-node-credentials-json-file.html | ||
AWS_PROFILE= | ||
AWS_S3_BUCKET= | ||
AWS_CLOUDFRONT_DOMAIN= | ||
AWS_CLOUDFRONT_DISTRIBUTION_ID= | ||
|
||
############# | ||
## mongodb ## | ||
############# | ||
WEB_MONGO_NAME=forwardemail_{{NODE_ENV}} | ||
WEB_MONGO_HOST=localhost | ||
WEB_MONGO_PORT=27017 | ||
WEB_MONGO_URI=mongodb://{{WEB_MONGO_HOST}}:{{WEB_MONGO_PORT}}/{{WEB_MONGO_NAME}} | ||
API_MONGO_NAME=forwardemail_{{NODE_ENV}} | ||
API_MONGO_HOST=localhost | ||
API_MONGO_PORT=27017 | ||
API_MONGO_URI=mongodb://{{API_MONGO_HOST}}:{{API_MONGO_PORT}}/{{API_MONGO_NAME}} | ||
|
||
########### | ||
## redis ## | ||
########### | ||
WEB_REDIS_PORT=6379 | ||
WEB_REDIS_HOST=localhost | ||
WEB_REDIS_PASSWORD= | ||
API_REDIS_PORT=6379 | ||
API_REDIS_HOST=localhost | ||
API_REDIS_PASSWORD= | ||
BULL_REDIS_PORT=6379 | ||
BULL_REDIS_HOST=localhost | ||
BULL_REDIS_PASSWORD= | ||
|
||
############# | ||
## certbot ## | ||
############# | ||
CERTBOT_WELL_KNOWN_NAME= | ||
CERTBOT_WELL_KNOWN_CONTENTS= | ||
|
||
###################### | ||
## verification pin ## | ||
###################### | ||
VERIFICATION_PIN_TIMEOUT_MS=5m | ||
VERIFICATION_PIN_EMAIL_INTERVAL_MS=1m |
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,118 @@ | ||
################# | ||
## environment ## | ||
################# | ||
NODE_ENV= | ||
|
||
########### | ||
## proxy ## | ||
########### | ||
PROXY_PORT= | ||
|
||
################ | ||
## web server ## | ||
################ | ||
WEB_HOST= | ||
WEB_PORT= | ||
WEB_PROTOCOL= | ||
WEB_URL= | ||
WEB_SSL_KEY_PATH= | ||
WEB_SSL_CERT_PATH= | ||
LIVERELOAD_PORT= | ||
|
||
################ | ||
## api server ## | ||
################ | ||
API_HOST= | ||
API_PORT= | ||
API_PROTOCOL= | ||
API_URL= | ||
API_SSL_KEY_PATH= | ||
API_SSL_CERT_PATH= | ||
|
||
######### | ||
## app ## | ||
######### | ||
APP_NAME= | ||
APP_COLOR= | ||
TWITTER= | ||
SEND_EMAIL= | ||
TRANSPORT_DEBUG= | ||
EMAIL_DEFAULT_FROM= | ||
SHOW_STACK= | ||
SHOW_META= | ||
SUPPORT_REQUEST_MAX_LENGTH= | ||
# @ladjs/i18n | ||
I18N_SYNC_FILES= | ||
I18N_AUTO_RELOAD= | ||
I18N_UPDATE_FILES= | ||
# @ladjs/auth | ||
AUTH_LOCAL_ENABLED= | ||
AUTH_FACEBOOK_ENABLED= | ||
AUTH_TWITTER_ENABLED= | ||
AUTH_GOOGLE_ENABLED= | ||
AUTH_GITHUB_ENABLED= | ||
AUTH_LINKEDIN_ENABLED= | ||
AUTH_INSTAGRAM_ENABLED= | ||
AUTH_STRIPE_ENABLED= | ||
# your google client ID and secret from: | ||
# https://console.developers.google.com | ||
GOOGLE_CLIENT_ID= | ||
GOOGLE_CLIENT_SECRET= | ||
GOOGLE_CALLBACK_URL= | ||
GOOGLE_APPLICATION_CREDENTIALS= | ||
# your github client ID and secret from: | ||
# https://github.com/settings/applications | ||
GITHUB_CLIENT_ID= | ||
GITHUB_CLIENT_SECRET= | ||
GITHUB_CALLBACK_URL= | ||
# your Postmark token from: | ||
# https//postmarkapp.com | ||
POSTMARK_API_TOKEN= | ||
# your CodeCov token from: | ||
# https://codecov.io | ||
CODECOV_TOKEN= | ||
# aws credentials | ||
# https://docs.aws.amazon.com/en_pv/sdk-for-javascript/v2/developer-guide/loading-node-credentials-shared.html | ||
# https://docs.aws.amazon.com/en_pv/sdk-for-javascript/v2/developer-guide/loading-node-credentials-environment.html | ||
# https://docs.aws.amazon.com/en_pv/sdk-for-javascript/v2/developer-guide/loading-node-credentials-json-file.html | ||
AWS_PROFILE= | ||
AWS_S3_BUCKET= | ||
AWS_CLOUDFRONT_DOMAIN= | ||
AWS_CLOUDFRONT_DISTRIBUTION_ID= | ||
|
||
############# | ||
## mongodb ## | ||
############# | ||
WEB_MONGO_NAME= | ||
WEB_MONGO_HOST= | ||
WEB_MONGO_PORT= | ||
WEB_MONGO_URI= | ||
API_MONGO_NAME= | ||
API_MONGO_HOST= | ||
API_MONGO_PORT= | ||
API_MONGO_URI= | ||
|
||
########### | ||
## redis ## | ||
########### | ||
WEB_REDIS_PORT= | ||
WEB_REDIS_HOST= | ||
WEB_REDIS_PASSWORD= | ||
API_REDIS_PORT= | ||
API_REDIS_HOST= | ||
API_REDIS_PASSWORD= | ||
BULL_REDIS_PORT= | ||
BULL_REDIS_HOST= | ||
BULL_REDIS_PASSWORD= | ||
|
||
############# | ||
## certbot ## | ||
############# | ||
CERTBOT_WELL_KNOWN_NAME= | ||
CERTBOT_WELL_KNOWN_CONTENTS= | ||
|
||
###################### | ||
## verification pin ## | ||
###################### | ||
VERIFICATION_PIN_TIMEOUT_MS= | ||
VERIFICATION_PIN_EMAIL_INTERVAL_MS= |
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 @@ | ||
* text=auto |
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,19 @@ | ||
.DS_Store | ||
*.log | ||
.idea | ||
node_modules | ||
coverage | ||
.nyc_output | ||
*.awspublish* | ||
*.env | ||
*.pem | ||
build | ||
temp.md | ||
!test/.env | ||
!.gulpfile.env | ||
*.lcov | ||
.base64-cache | ||
locales/**/* | ||
!locales | ||
.vscode | ||
*-*.md |
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,8 @@ | ||
module.exports = { | ||
"*.md,!test/snapshots/**/*.md,!test/**/snapshots/**/*.md,!locales/README.md": [ | ||
filenames => filenames.map(filename => `remark ${filename} -qfo`), | ||
'git add' | ||
], | ||
'package.json': ['fixpack', 'git add'], | ||
'*.js': ['xo --fix', 'git add '] | ||
}; |
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 @@ | ||
module.exports = { | ||
// <https://github.com/pugjs/pug-lint/blob/master/docs/rules.md> | ||
disallowAttributeConcatentation: true, | ||
disallowAttributeInterpolation: true, | ||
disallowClassAttributeWithStaticValue: true, | ||
disallowDuplicateAttributes: true, | ||
disallowHtmlText: true, | ||
disallowIdAttributeWithStaticValue: true, | ||
disallowLegacyMixinCall: true, | ||
disallowMultipleLineBreaks: true, | ||
disallowStringConcatenation: 'aggressive', | ||
disallowTrailingSpaces: true, | ||
requireLineFeedAtFileEnd: true, | ||
requireLowerCaseTags: true, | ||
requireSpaceAfterCodeOperator: true, | ||
requireStrictEqualityOperators: true, | ||
validateDivTags: true, | ||
validateIndentation: 2, | ||
validateLineBreaks: 'LF', | ||
validateSelfClosingTags: true, | ||
validateTemplateString: 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,4 @@ | ||
test/snapshots/**/*.md | ||
test/**/snapshots/**/*.md | ||
locales/README.md | ||
*-*.md |
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,3 @@ | ||
{ | ||
"extends": ["stylelint-config-recommended-scss"] | ||
} |
Oops, something went wrong.