Updated dependencies and removed esconfig rules from package json
This commit is contained in:
47
package.json
47
package.json
@@ -2,15 +2,16 @@
|
||||
"name": "auracle-api",
|
||||
"version": "1.0.0",
|
||||
"description": "API for Auracle database",
|
||||
"main": "index.js",
|
||||
"main": "./src/main.ts",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "ts-node ./src/index.ts",
|
||||
"dev": "ts-node ./src/main.ts",
|
||||
"build": "tsc",
|
||||
"start": "node ./dist/index.js"
|
||||
"start": "node ./dist/main.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/AlexisNP/spellsaurus.git"
|
||||
"url": "git+https://github.com/AlexisNP/auracle_api"
|
||||
},
|
||||
"keywords": [
|
||||
"api",
|
||||
@@ -20,7 +21,10 @@
|
||||
"database",
|
||||
"ttrpg",
|
||||
"dices",
|
||||
"worldbuilding"
|
||||
"worldbuilding",
|
||||
"express",
|
||||
"node",
|
||||
"typescript"
|
||||
],
|
||||
"author": "AlexisNP",
|
||||
"license": "ISC",
|
||||
@@ -30,14 +34,10 @@
|
||||
"homepage": "https://github.com/AlexisNP/spellsaurus#readme",
|
||||
"dependencies": {
|
||||
"bcrypt": "^5.0.1",
|
||||
"bookshelf": "^1.2.0",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^8.6.0",
|
||||
"express": "^4.17.1",
|
||||
"handlebars": "^4.7.7",
|
||||
"helmet": "^3.23.3",
|
||||
"jsonschema": "^1.4.0",
|
||||
"knex": "^0.21.19",
|
||||
"helmet": "^4.4.1",
|
||||
"morgan": "^1.10.0",
|
||||
"mysql": "^2.18.1",
|
||||
"nodemailer": "^6.6.3",
|
||||
@@ -46,34 +46,13 @@
|
||||
"devDependencies": {
|
||||
"@types/cors": "^2.8.12",
|
||||
"@types/express": "^4.17.13",
|
||||
"@types/helmet": "^4.0.0",
|
||||
"@types/morgan": "^1.9.3",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"eslint": "^7.31.0",
|
||||
"eslint-plugin-import": "^2.23.4",
|
||||
"sequelize": "^6.6.5",
|
||||
"ts-node": "^10.1.0",
|
||||
"typescript": "^4.3.5"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"env": {
|
||||
"es6": true,
|
||||
"browser": true
|
||||
},
|
||||
"parser": "babel-eslint",
|
||||
"rules": {
|
||||
"accessor-pairs": "warn",
|
||||
"array-callback-return": "error",
|
||||
"brace-style": "warn",
|
||||
"consistent-return": "error",
|
||||
"default-case": "error",
|
||||
"eqeqeq": "warn",
|
||||
"no-case-declarations": "error",
|
||||
"no-empty-pattern": "warn",
|
||||
"no-fallthrough": "error",
|
||||
"no-unused-vars": "error",
|
||||
"no-useless-catch": "error",
|
||||
"no-var": "error",
|
||||
"semi": "warn",
|
||||
"no-extra-semi": "error",
|
||||
"yoda": "warn"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user