92 lines
2.4 KiB
JSON
92 lines
2.4 KiB
JSON
{
|
|
"name": "todo-backend",
|
|
"version": "2.0.0",
|
|
"scripts": {
|
|
"build": "./node_modules/.bin/ts-node build.ts",
|
|
"lint": "eslint . --ext .ts",
|
|
"start": "node -r module-alias/register ./dist",
|
|
"start:dev": "nodemon"
|
|
},
|
|
"nodemonConfig": {
|
|
"watch": [
|
|
"src"
|
|
],
|
|
"ext": "ts, html",
|
|
"ignore": [
|
|
"src/public"
|
|
],
|
|
"exec": "./node_modules/.bin/ts-node -r tsconfig-paths/register ./src"
|
|
},
|
|
"_moduleAliases": {
|
|
"@daos": "dist/daos",
|
|
"@entities": "dist/entities",
|
|
"@shared": "dist/shared",
|
|
"@server": "dist/Server"
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking"
|
|
],
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"rules": {
|
|
"max-len": [
|
|
"error",
|
|
{
|
|
"code": 100
|
|
}
|
|
],
|
|
"no-extra-boolean-cast": 0,
|
|
"@typescript-eslint/restrict-plus-operands": 0,
|
|
"@typescript-eslint/explicit-module-boundary-types": 0,
|
|
"@typescript-eslint/no-explicit-any": 0,
|
|
"@typescript-eslint/no-floating-promises": 0,
|
|
"@typescript-eslint/no-unsafe-member-access": 0,
|
|
"@typescript-eslint/no-unsafe-assignment": 0
|
|
}
|
|
},
|
|
"eslintIgnore": [
|
|
"src/public/",
|
|
"build.ts"
|
|
],
|
|
"dependencies": {
|
|
"command-line-args": "^5.1.1",
|
|
"cookie-parser": "^1.4.5",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.17.1",
|
|
"express-async-errors": "^3.1.1",
|
|
"jsonfile": "^6.1.0",
|
|
"module-alias": "^2.2.2",
|
|
"mysql2": "^2.2.5",
|
|
"sequelize": "^6.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/command-line-args": "^5.0.0",
|
|
"@types/cookie-parser": "^1.4.2",
|
|
"@types/cors": "^2.8.10",
|
|
"@types/express": "^4.17.11",
|
|
"@types/find": "^0.2.1",
|
|
"@types/fs-extra": "^9.0.11",
|
|
"@types/jasmine": "^3.6.10",
|
|
"@types/jsonfile": "^6.0.0",
|
|
"@types/node": "^15.0.1",
|
|
"@types/supertest": "^2.0.11",
|
|
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
|
"@typescript-eslint/parser": "^4.22.0",
|
|
"eslint": "^7.25.0",
|
|
"find": "^0.3.0",
|
|
"fs-extra": "^9.1.0",
|
|
"nodemon": "^2.0.7",
|
|
"supertest": "^6.1.3",
|
|
"ts-node": "^9.1.1",
|
|
"tsconfig-paths": "^3.9.0",
|
|
"typescript": "^4.2.4"
|
|
}
|
|
}
|