Урок-94
Showing
... | @@ -7,7 +7,8 @@ | ... | @@ -7,7 +7,8 @@ |
"test": "echo \"Error: no test specified\" && exit 1", | "test": "echo \"Error: no test specified\" && exit 1", | ||
"dev": "nodemon", | "dev": "nodemon", | ||
"lint": "eslint", | "lint": "eslint", | ||
"lint:fix": "eslint --fix" | "lint:fix": "eslint --fix", | ||
"seed": "node -r tsconfig-paths/register -r ts-node/register src/database/init.seeds.ts" | |||
}, | }, | ||
"keywords": [], | "keywords": [], | ||
"author": "", | "author": "", | ||
... | @@ -29,6 +30,7 @@ | ... | @@ -29,6 +30,7 @@ |
"typescript": "^5.1.6" | "typescript": "^5.1.6" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@faker-js/faker": "^8.4.1", | |||
"@types/bcrypt": "^5.0.2", | "@types/bcrypt": "^5.0.2", | ||
"@types/cors": "^2.8.17", | "@types/cors": "^2.8.17", | ||
"@types/express": "^4.17.17", | "@types/express": "^4.17.17", | ||
... | @@ -43,6 +45,7 @@ | ... | @@ -43,6 +45,7 @@ |
"eslint-plugin-prettier": "^5.0.0", | "eslint-plugin-prettier": "^5.0.0", | ||
"nodemon": "^3.0.1", | "nodemon": "^3.0.1", | ||
"prettier": "^3.0.0", | "prettier": "^3.0.0", | ||
"tsconfig-paths": "^4.2.0" | "tsconfig-paths": "^4.2.0", | ||
"typeorm-extension": "^3.5.1" | |||
} | } | ||
} | } |
src/database/init.seeds.ts
0 → 100644
src/middlewares/checkRole.ts
0 → 100644
Please
register
or
sign in
to comment