1
0
mirror of https://github.com/franjsco/umbrello-api synced 2024-12-10 16:07:36 +01:00

Setup Project

This commit is contained in:
Francesco Esposito 2019-08-15 22:48:54 +02:00
parent bbfecf085a
commit 48b2ca19b6
7 changed files with 5731 additions and 0 deletions

3
.babelrc Normal file
View File

@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-env"]
}

8
.editorconfig Normal file
View File

@ -0,0 +1,8 @@
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true

5
.env.sample Normal file
View File

@ -0,0 +1,5 @@
OWM_TOKEN=your-open-weather-map-token-api
OWM_LANG=lang-open-weather-map
OWM_UNITS=units-open-weather-map
TELEGRAM_TOKEN=your-telegram-bot-token

19
.eslintrc.js Normal file
View File

@ -0,0 +1,19 @@
module.exports = {
env: {
es6: true,
node: true,
},
extends: [
'airbnb-base',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
rules: {
},
};

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
node_modules
.env

5665
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

29
package.json Normal file
View File

@ -0,0 +1,29 @@
{
"name": "umbrello-api",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"start": "nodemon --exec babel-node src/server.js",
"build": "babel src --out-dir dist",
"serve": "node dist/server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "frsposito",
"license": "GPL-3.0-or-later",
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/node": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"eslint": "^6.1.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"nodemon": "^1.19.1"
},
"dependencies": {
"axios": "^0.19.0",
"dotenv": "^8.0.0",
"express": "^4.17.1"
}
}