@piggly/fastify-chassis
Version:
An ESM/CommonJS toolkit to help you to do common operations in your back-end applications with Fastify and NodeJS.
103 lines (102 loc) • 3.23 kB
JSON
{
"name": "@piggly/fastify-chassis",
"version": "7.1.0",
"description": "An ESM/CommonJS toolkit to help you to do common operations in your back-end applications with Fastify and NodeJS.",
"scripts": {
"clean": "rimraf dist",
"pre:commit": "npm run format && npm run lint && npm run check",
"prebuild": "npm run lint && npm run format",
"build": "npm run clean && npm run build:types && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.esm.json && tsc-alias -p tsconfig.esm.json --outDir dist/esm && node ./fixESM.cjs",
"build:cjs": "tsc -p tsconfig.cjs.json && tsc-alias -p tsconfig.cjs.json --outDir dist/cjs",
"build:types": "tsc -p tsconfig.types.json && tsc-alias -p tsconfig.types.json --outDir dist/types",
"check": "tsc --noEmit -p tsconfig.json",
"format": "prettier --write \"./src/**/*.ts\"",
"lint": "eslint --fix ./src/**",
"test": "cross-env NODE_ENV=test jest --coverage --watchAll",
"test:once": "cross-env NODE_ENV=test jest --passWithNoTests",
"test:debug": "cross-env NODE_ENV=test node --inspect ./node_modules/.bin/jest --runInBand",
"preversion": "npm run build",
"postversion": "git push --follow-tags",
"prepublishOnly": "npm run build",
"prepare": "husky"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"keywords": [
"fastify",
"microservices",
"chassis",
"utilities",
"helpers"
],
"author": "caiquearaujo",
"license": "MIT",
"homepage": "https://github.com/piggly-dev/fastify-chassis#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/piggly-dev/fastify-chassis.git"
},
"bugs": {
"url": "https://github.com/piggly-dev/fastify-chassis/issues"
},
"devDependencies": {
"@eslint/js": "^9.24.0",
"@fastify/cookie": "^11.0.2",
"@fastify/rate-limit": "^10.1.1",
"@piggly/ddd-toolkit": "^4.1.5",
"@piggly/event-bus": "^3.0.0",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.14",
"@types/module-alias": "^2.0.4",
"@types/node": "^22.14.1",
"@typescript-eslint/eslint-plugin": "^8.30.0",
"@typescript-eslint/parser": "^8.30.0",
"@zerollup/ts-transform-paths": "^1.7.18",
"cross-env": "^7.0.3",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.2",
"eslint-import-resolver-typescript": "^4.3.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-perfectionist": "^4.11.0",
"eslint-plugin-prettier": "^5.2.6",
"fastify": "^5.3.0",
"globals": "^16.0.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"moment-timezone": "^0.5.48",
"prettier": "^3.5.3",
"ts-jest": "^29.3.2",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.15",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.30.0",
"zod": "^3.24.2"
},
"dependencies": {
"@piggly/event-bus": "^3.0.0",
"debug": "^4.4.0",
"fastify": "^5.3.0",
"moment-timezone": "^0.5.48",
"zod": "^3.24.2"
},
"optionalDependencies": {
"@fastify/cookie": ">=11.0"
}
}