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
# Step 1 - Install dependencies | |
FROM node:20-alpine3.17 AS deps | |
LABEL author="Dmitry Neverovski <dmitryneverovski@gmail.com>" | |
WORKDIR /app | |
COPY --chown=node:node package*.json ./ | |
RUN npm ci |
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
# js files | |
**/*.js | |
# compiled output | |
build | |
**/build | |
dist | |
**/dist |
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
Show hidden characters
{ | |
"compilerOptions": { | |
"lib": ["ES2023"], | |
"module": "commonjs", | |
"target": "ES2022", | |
"allowSyntheticDefaultImports": true, | |
"removeComments": true, | |
"noImplicitAny": false, | |
"outDir": "./dist", | |
"baseUrl": "./", |
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
# EditorConfig is awesome: https://EditorConfig.org | |
root = true | |
[*] | |
indent_style = space | |
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
{ | |
"arrowParens": "always", | |
"semi": true, | |
"singleQuote": true, | |
"tabWidth": 2, | |
"trailingComma": "all", | |
"useTabs": false, | |
"bracketSpacing": true, | |
"endOfLine": "lf" | |
} |
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
{ | |
"extends": "./tsconfig.paths.json", | |
"compilerOptions": { | |
"target": "es5", | |
"lib": [ | |
"dom", | |
"dom.iterable", | |
"esnext" | |
], | |
"allowJs": 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
{ | |
"settings": { | |
"import/resolver": { | |
"typescript": {} | |
} | |
}, | |
"parser": "@typescript-eslint/parser", | |
"plugins": [ | |
"@typescript-eslint", | |
"react-hooks", |
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
[ | |
{ | |
"name": "(GMT-11:00) Pacific/Niue", | |
"utc": "Pacific/Niue", | |
"offset": -11 | |
}, | |
{ | |
"name": "(GMT-11:00) Pacific/Pago Pago", | |
"utc": "Pacific/Pago Pago", | |
"offset": -11 |
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
[ | |
{ | |
"code": "ab", | |
"name": "Abkhaz", | |
"nativeName": "аҧсуа" | |
}, | |
{ | |
"code": "aa", | |
"name": "Afar", | |
"nativeName": "Afaraf" |