1
0
mirror of https://github.com/franjsco/tick3t-api synced 2024-12-30 16:47:22 +01:00

init project

This commit is contained in:
frab1t 2019-07-04 08:46:40 +02:00
parent c68532e272
commit e4b734c182
5 changed files with 5842 additions and 0 deletions

3
.babelrc Normal file
View File

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

17
.eslintrc.js Normal file
View File

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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

5778
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

43
package.json Normal file
View File

@ -0,0 +1,43 @@
{
"name": "tick3t-api",
"version": "1.0.0",
"description": "tick3t-api",
"main": "index.js",
"scripts": {
"start": "nodemon --exec babel-node src/server.js",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "babel src --out-dir dist",
"serve": "node dist/server.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/frab1t/tick3t-api.git"
},
"author": "frab1t",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/frab1t/tick3t-api/issues"
},
"homepage": "https://github.com/frab1t/tick3t-api#readme",
"dependencies": {
"bcrypt": "^3.0.6",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.0",
"jsonwebtoken": "^8.5.1",
"moment": "^2.24.0",
"mongoose": "^5.5.9",
"mongoose-paginate-v2": "^1.3.0",
"morgan": "^1.9.1",
"nodemon": "^1.19.1"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/node": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.17.2"
}
}