fix: package.json

This commit is contained in:
MrDiro 2024-06-23 07:15:33 -05:00
parent a3a7b437a0
commit 8bc36e876f
4 changed files with 68 additions and 4 deletions

1
.npmignore Normal file
View File

@ -0,0 +1 @@
src/

View File

@ -1,6 +1,6 @@
# ModiLiteJS # ModiLiteJS
ModiLiteJS is a library for writing modular code with components and dependency injection. It simplifies the development process by allowing you to easily define and manage modules, components, and services, enabling a clean and organized codebase. ModiLiteJS is a typescript library for writing modular code with components and dependency injection. It simplifies the development process by allowing you to easily define and manage modules, components, and services, enabling a clean and organized codebase.
## Installation ## Installation

56
package-lock.json generated Normal file
View File

@ -0,0 +1,56 @@
{
"name": "modilitejs",
"version": "1.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "modilitejs",
"version": "1.0.1",
"license": "MIT",
"dependencies": {
"reflect-metadata": "^0.2.2"
},
"devDependencies": {
"@types/node": "^20.14.8",
"typescript": "^5.5.2"
},
"engines": {
"node": ">=18.0.0"
}
},
"node_modules/@types/node": {
"version": "20.14.8",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.8.tgz",
"integrity": "sha512-DO+2/jZinXfROG7j7WKFn/3C6nFwxy2lLpgLjEXJz+0XKphZlTLJ14mo8Vfg8X5BWN6XjyESXq+LcYdT7tR3bA==",
"dev": true,
"dependencies": {
"undici-types": "~5.26.4"
}
},
"node_modules/reflect-metadata": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz",
"integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q=="
},
"node_modules/typescript": {
"version": "5.5.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz",
"integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
},
"node_modules/undici-types": {
"version": "5.26.5",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
"dev": true
}
}
}

View File

@ -1,7 +1,7 @@
{ {
"version": "1.0.1", "version": "1.0.1",
"name": "modilitejs", "name": "modilitejs",
"description": "ModiLiteJS is a library for writing modular code with components and dependency injection.", "description": "ModiLiteJS is a typescript library for writing modular code with components and dependency injection.",
"author": { "author": {
"name": "cdairo22", "name": "cdairo22",
"email": "cdairo2204@gmail.com" "email": "cdairo2204@gmail.com"
@ -23,13 +23,20 @@
"main": "./dist/index.js", "main": "./dist/index.js",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"type": "commonjs", "type": "commonjs",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
},
"engines": { "engines": {
"node": ">=18.0.0" "node": ">=18.0.0"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/MrDiro/app-factory.git" "url": "https://github.com/MrDiro/ModiLiteJS.git"
}, },
"files": [
"dist/**/*"
],
"devDependencies": { "devDependencies": {
"@types/node": "^20.14.8", "@types/node": "^20.14.8",
"typescript": "^5.5.2" "typescript": "^5.5.2"