@expressots/shared 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,150 @@
1
+ {
2
+ "name": "@expressots/shared",
3
+ "version": "0.1.0",
4
+ "description": "Shared library for ExpressoTS modules 🐎",
5
+ "author": "Richard Zampieri <richard.zampieri@expresso-ts.com>",
6
+ "main": "./lib/cjs/index.js",
7
+ "types": "./lib/cjs/types/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": {
11
+ "types": "./lib/esm/types/index.d.ts",
12
+ "default": "./lib/esm/index.mjs"
13
+ },
14
+ "require": {
15
+ "types": "./lib/cjs/types/index.d.ts",
16
+ "default": "./lib/cjs/index.js"
17
+ }
18
+ }
19
+ },
20
+ "files": [
21
+ "lib/**/*"
22
+ ],
23
+ "license": "MIT",
24
+ "homepage": "https://expresso-ts.com",
25
+ "funding": {
26
+ "type": "github",
27
+ "url": "https://github.com/sponsors/expressots"
28
+ },
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "https://github.com/expressots/shared"
32
+ },
33
+ "bugs": {
34
+ "url": "https://github.com/expressots/shared/issues"
35
+ },
36
+ "publishConfig": {
37
+ "access": "public"
38
+ },
39
+ "keywords": [
40
+ "expressots",
41
+ "nodejs",
42
+ "typescript",
43
+ "clean-architecture",
44
+ "typescript-framework",
45
+ "framework",
46
+ "server-side",
47
+ "backend",
48
+ "library"
49
+ ],
50
+ "engines": {
51
+ "node": ">=18.10.0"
52
+ },
53
+ "scripts": {
54
+ "prepare": "husky",
55
+ "clean": "node scripts/rm.js lib",
56
+ "copy": "node scripts/copy.js package.json README.md CHANGELOG.md lib",
57
+ "build": "npm run clean && npm run build:cjs && npm run copy",
58
+ "build:cjs": "tsc -p tsconfig.cjs.json",
59
+ "build:esm": "tsc -p tsconfig.esm.json",
60
+ "release": "release-it",
61
+ "prepublish": "npm run build && npm pack",
62
+ "publish": "npm publish --tag latest",
63
+ "test": "jest",
64
+ "test:watch": "jest --watch",
65
+ "coverage": "jest --coverage",
66
+ "format": "prettier --write \"src/**/*.ts\" --cache",
67
+ "lint": "eslint \"src/**/*.ts\"",
68
+ "lint:fix": "eslint \"src/**/*.ts\" --fix"
69
+ },
70
+ "dependencies": {
71
+ "reflect-metadata": "0.2.2",
72
+ "ts-node": "10.9.2"
73
+ },
74
+ "devDependencies": {
75
+ "@commitlint/cli": "19.4.1",
76
+ "@commitlint/config-conventional": "19.2.2",
77
+ "@release-it/conventional-changelog": "8.0.1",
78
+ "@types/express": "4.17.21",
79
+ "@types/jest": "29.5.13",
80
+ "@types/node": "20.14.10",
81
+ "@typescript-eslint/eslint-plugin": "7.16.1",
82
+ "@typescript-eslint/parser": "7.16.1",
83
+ "chalk": "4.1.2",
84
+ "eslint": "8.57.0",
85
+ "eslint-config-prettier": "9.1.0",
86
+ "husky": "9.1.1",
87
+ "jest": "29.7.0",
88
+ "prettier": "3.3.3",
89
+ "release-it": "17.6.0",
90
+ "ts-jest": "29.2.5",
91
+ "typescript": "5.5.3"
92
+ },
93
+ "release-it": {
94
+ "git": {
95
+ "commitMessage": "chore(release): ${version}"
96
+ },
97
+ "github": {
98
+ "release": true
99
+ },
100
+ "npm": {
101
+ "publish": false
102
+ },
103
+ "plugins": {
104
+ "@release-it/conventional-changelog": {
105
+ "infile": "CHANGELOG.md",
106
+ "preset": {
107
+ "name": "conventionalcommits",
108
+ "types": [
109
+ {
110
+ "type": "feat",
111
+ "section": "Features"
112
+ },
113
+ {
114
+ "type": "fix",
115
+ "section": "Bug Fixes"
116
+ },
117
+ {
118
+ "type": "perf",
119
+ "section": "Performance Improvements"
120
+ },
121
+ {
122
+ "type": "revert",
123
+ "section": "Reverts"
124
+ },
125
+ {
126
+ "type": "docs",
127
+ "section": "Documentation"
128
+ },
129
+ {
130
+ "type": "refactor",
131
+ "section": "Code Refactoring"
132
+ },
133
+ {
134
+ "type": "test",
135
+ "section": "Tests"
136
+ },
137
+ {
138
+ "type": "build",
139
+ "section": "Build System"
140
+ },
141
+ {
142
+ "type": "ci",
143
+ "section": "Continuous Integrations"
144
+ }
145
+ ]
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }