UNPKG

@capimjs/library-auth

Version:

Professional API using Clean Architecture and TDD. to group validators

83 lines (82 loc) 2.52 kB
{ "name": "@capimjs/library-auth", "version": "1.0.5", "description": "Professional API using Clean Architecture and TDD. to group validators", "license": "GPL-3.0-or-later", "keywords": [ "clean architecture", "clean code", "tdd", "ddd", "solid", "design patterns", "node", "typescript", "vitest", "validators" ], "main": "./dist/index.js", "scripts": { "build": "rm -rf dist && npm run clean && npm run build:swc && npm run definitions", "build:swc": "swc src --extensions \".js,.ts\" --out-dir dist --copy-files", "definitions": "tsc --build tsconfig-build.json && tsc-alias -p tsconfig-build.json", "clean": "tsc --build --clean", "prepare": "husky install", "lint": "eslint .", "test": "vitest", "lint:fix": "npm run lint -- --fix", "test:watch": "npm t -- --watch", "test:staged": "npm t -- related -- passWithNoTests", "test:coverage": "npm t -- --coverage" }, "dependencies": { "@capimjs/library-validator": "^1.0.3", "axios": "^1.2.3", "reflect-metadata": "^0.1.13", "rimraf": "^4.1.2", "uuid": "^9.0.0" }, "devDependencies": { "@commitlint/cli": "^17.6.1", "@commitlint/config-conventional": "^17.6.1", "@jest-mock/express": "^1.4.4", "@swc/cli": "0.1.59", "@swc/core": "1.3.49", "@swc/helpers": "0.5.0", "@swc/jest": "0.2.24", "@types/figlet": "^1.5.5", "@types/jest": "^29.5.14", "@types/mocha": "^10.0.10", "@types/module-alias": "^2.0.1", "@types/multer": "^1.4.7", "@types/node": "^22.10.2", "@types/supertest": "^2.0.11", "@types/swagger-ui-express": "^4.1.3", "@types/uuid": "^8.3.1", "@typescript-eslint/eslint-plugin": "^5.48.2", "@vitest/ui": "^2.1.8", "coveralls": "^3.1.1", "dotenv": "^16.0.3", "eslint": "^8.32.0", "eslint-config-standard-with-typescript": "^31.0.0", "eslint-plugin-boundaries": "^3.1.0", "eslint-plugin-classnames": "^0.3.1", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-import": "^2.27.5", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.1.1", "husky": "^8.0.0", "jest": "^29.3.1", "jest-mock-extended": "^3.0.1", "lint-staged": "^13.1.0", "mockdate": "^3.0.5", "nodemon": "^2.0.20", "supertest": "^6.1.6", "ts-jest": "^29.0.5", "ts-node-dev": "^2.0.0", "tsc-alias": "^1.8.2", "typescript": "^4.9.5", "vitest": "^2.1.8", "vitest-mock-extended": "^2.0.2" } }