@expressots/shared
Version:
Shared library for ExpressoTS modules 🐎
148 lines (147 loc) • 3.9 kB
JSON
{
"name": "@expressots/shared",
"version": "3.0.0",
"description": "Shared library for ExpressoTS modules 🐎",
"author": "Richard Zampieri <richard.zampieri@expresso-ts.com>",
"main": "./lib/cjs/index.js",
"types": "./lib/cjs/types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.mjs"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"files": [
"lib/**/*"
],
"license": "MIT",
"homepage": "https://expresso-ts.com",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/expressots"
},
"repository": {
"type": "git",
"url": "https://github.com/expressots/shared"
},
"bugs": {
"url": "https://github.com/expressots/shared/issues"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"expressots",
"nodejs",
"typescript",
"clean-architecture",
"typescript-framework",
"framework",
"server-side",
"backend",
"library"
],
"scripts": {
"prepare": "husky",
"clean": "node scripts/rm.js lib",
"copy": "node scripts/copy.js package.json README.md CHANGELOG.md lib",
"build": "npm run clean && npm run build:cjs && npm run copy",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"release": "release-it",
"prepublish": "npm run build && npm pack",
"publish": "npm publish --tag latest",
"test": "jest",
"test:watch": "jest --watch",
"coverage": "jest --coverage",
"format": "prettier --write \"src/**/*.ts\" --cache",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix"
},
"dependencies": {
"reflect-metadata": "0.2.2",
"ts-node": "10.9.2"
},
"devDependencies": {
"@commitlint/cli": "19.4.1",
"@commitlint/config-conventional": "19.2.2",
"@release-it/conventional-changelog": "8.0.1",
"@types/express": "4.17.21",
"@types/jest": "29.5.13",
"@types/node": "20.14.10",
"@typescript-eslint/eslint-plugin": "7.16.1",
"@typescript-eslint/parser": "7.16.1",
"chalk": "4.1.2",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"husky": "9.1.1",
"jest": "29.7.0",
"prettier": "3.3.3",
"release-it": "17.6.0",
"ts-jest": "29.2.5",
"typescript": "5.5.3"
},
"release-it": {
"git": {
"commitMessage": "chore(release): ${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "revert",
"section": "Reverts"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "refactor",
"section": "Code Refactoring"
},
{
"type": "test",
"section": "Tests"
},
{
"type": "build",
"section": "Build System"
},
{
"type": "ci",
"section": "Continuous Integrations"
}
]
}
}
}
}
}