new todo-backend
This commit is contained in:
@@ -1,16 +1,92 @@
|
||||
{
|
||||
"name": "todo-backend",
|
||||
"description": "multi-container version of the todoapp",
|
||||
"version": "0.0.2",
|
||||
"private": true,
|
||||
"author": "Red Hat Training",
|
||||
"license": "ASL",
|
||||
"version": "2.0.0",
|
||||
"scripts": {
|
||||
"start": "node app.js"
|
||||
"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": {
|
||||
"restify": "4.3.0",
|
||||
"sequelize": "3.14.2",
|
||||
"mysql": "2.9.0"
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user