UNPKG

@dvsa/appdev-api-common

Version:

Utils library for common API functionality

62 lines (61 loc) 1.72 kB
{ "name": "@dvsa/appdev-api-common", "version": "2.0.2", "keywords": [ "dvsa", "nodejs", "typescript" ], "author": "DVSA", "repository": { "type": "git", "url": "https://github.com/dvsa/appdev-packages.git", "directory": "packages/appdev-common" }, "description": "Utils library for common API functionality", "publishConfig": { "directory": "dist", "access": "public" }, "scripts": { "localLink": "npm run clean && npm version patch && npm run build && cp package.json dist && cd dist && npm link", "clean": "rimraf coverage dist", "clean:temp": "rimraf auth api", "lint": "biome check src", "lint:fix": "npm run lint -- --write", "build": "npm run clean && tsc", "build:package": "npm run build", "test": "jest", "test:coverage": "jest --coverage", "prepublishOnly": "npm run build:package && cp -r ./dist/* . && rm -rf ./dist", "postpublish": "git clean -fd && npm run clean:temp", "gitSecrets": "git secrets --scan . && git log -p -- . | scanrepo" }, "dependencies": { "@aws-sdk/client-sts": "^3.989.0", "ajv": "^8.18.0", "ajv-formats": "^3.0.1", "dayjs": "^1.11.13", "jose": "^5.10.0" }, "devDependencies": { "@aws-lambda-powertools/logger": "^2.22.0", "@biomejs/biome": "1.9.3", "@dvsa/biome-config": "0.3.0", "@types/aws-lambda": "^8.10.145", "@types/express": "^5.0.0", "@types/jest": "^29.5.14", "@types/node": "^22.15.16", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^15.2.10", "rimraf": "^6.0.1", "routing-controllers": "^0.11.3", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "typescript": "^5.5.2" }, "lint-staged": { "*.{js,ts,mjs,css,md,ts,json}": "npm run lint:fix -- --no-errors-on-unmatched" } }