Updated dependencies and removed esconfig rules from package json
This commit is contained in:
1532
package-lock.json
generated
1532
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
47
package.json
47
package.json
@@ -2,15 +2,16 @@
|
|||||||
"name": "auracle-api",
|
"name": "auracle-api",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "API for Auracle database",
|
"description": "API for Auracle database",
|
||||||
"main": "index.js",
|
"main": "./src/main.ts",
|
||||||
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "ts-node ./src/index.ts",
|
"dev": "ts-node ./src/main.ts",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"start": "node ./dist/index.js"
|
"start": "node ./dist/main.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/AlexisNP/spellsaurus.git"
|
"url": "git+https://github.com/AlexisNP/auracle_api"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"api",
|
"api",
|
||||||
@@ -20,7 +21,10 @@
|
|||||||
"database",
|
"database",
|
||||||
"ttrpg",
|
"ttrpg",
|
||||||
"dices",
|
"dices",
|
||||||
"worldbuilding"
|
"worldbuilding",
|
||||||
|
"express",
|
||||||
|
"node",
|
||||||
|
"typescript"
|
||||||
],
|
],
|
||||||
"author": "AlexisNP",
|
"author": "AlexisNP",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
@@ -30,14 +34,10 @@
|
|||||||
"homepage": "https://github.com/AlexisNP/spellsaurus#readme",
|
"homepage": "https://github.com/AlexisNP/spellsaurus#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bcrypt": "^5.0.1",
|
"bcrypt": "^5.0.1",
|
||||||
"bookshelf": "^1.2.0",
|
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"dotenv": "^8.6.0",
|
"dotenv": "^8.6.0",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"handlebars": "^4.7.7",
|
"helmet": "^4.4.1",
|
||||||
"helmet": "^3.23.3",
|
|
||||||
"jsonschema": "^1.4.0",
|
|
||||||
"knex": "^0.21.19",
|
|
||||||
"morgan": "^1.10.0",
|
"morgan": "^1.10.0",
|
||||||
"mysql": "^2.18.1",
|
"mysql": "^2.18.1",
|
||||||
"nodemailer": "^6.6.3",
|
"nodemailer": "^6.6.3",
|
||||||
@@ -46,34 +46,13 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/cors": "^2.8.12",
|
"@types/cors": "^2.8.12",
|
||||||
"@types/express": "^4.17.13",
|
"@types/express": "^4.17.13",
|
||||||
|
"@types/helmet": "^4.0.0",
|
||||||
|
"@types/morgan": "^1.9.3",
|
||||||
"babel-eslint": "^10.1.0",
|
"babel-eslint": "^10.1.0",
|
||||||
"eslint": "^7.31.0",
|
"eslint": "^7.31.0",
|
||||||
"eslint-plugin-import": "^2.23.4",
|
"eslint-plugin-import": "^2.23.4",
|
||||||
|
"sequelize": "^6.6.5",
|
||||||
"ts-node": "^10.1.0",
|
"ts-node": "^10.1.0",
|
||||||
"typescript": "^4.3.5"
|
"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